Giter Site home page Giter Site logo

Comments (5)

DanielRuf avatar DanielRuf commented on July 17, 2024

Overall: the code is unnecessary complicated and hard to understand.

from gdpr-cli.

mirkoschubert avatar mirkoschubert commented on July 17, 2024

@DanielRuf I can't reproduce this »bug« 😏

› gdpr scan -f example.com                                                                                          gdpr-cli · dev ! 14h25m

[09:05:47] Checking the URL ...
[09:05:47] Loading HTML file
[09:05:47] Setup additional content
[09:05:47] Loading CSS files

GENERAL INFORMATION

Title:              Example Domain
Description:
URL:                http://example.com/
Software:           Unknown

FONTS IMPLEMENTATION

There were no Fonts found.

Same versions - on macOS. (And yes, with your node index.js example.com -f it's the same...)

Are you sure, you're referring to version 0.3.4? Because with this version the entire fonts section doesn't rely on the JSParser and CSSParser anymore and uses it's own FontsParser instead.

I found that the css parser I used doesn't work anymore when in a CSS file on the website someone made a mistake (e.g. an } too much). And since most of the features don't need a full blown CSS parser (and the handling is much more complicated than now), I wrote my own little parser for the fonts instead.

from gdpr-cli.

DanielRuf avatar DanielRuf commented on July 17, 2024

Well, I guess I had 0.3.3 so I think you are right (I thought I upgraded and installed a fresh version as I forked and cloned it directly with the latest changes, will try to rebase and sync with upstream and check again).

Anyway. If there is an issue in between the next commands are aborted as they are not async in most cases (dependent).

from gdpr-cli.

DanielRuf avatar DanielRuf commented on July 17, 2024

Ok, synced the remotes locally.

Current findings:

gdpr/ node index scan
[22:57:42] Checking the URL ...
C:\Users\Daniel\GITHUB\gdpr-cli\lib\tasks.js:581
    url = url.replace(/(https?:)?\/\//, ''); // delete the protocol
              ^

TypeError: Cannot read property 'replace' of undefined

missing check for input(s)

Missing warning when v and m are set.

from gdpr-cli.

mirkoschubert avatar mirkoschubert commented on July 17, 2024

@DanielRuf Sorry, I didn't see your proposal - I already fixed it @dev.

from gdpr-cli.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.