Comments (5)
Overall: the code is unnecessary complicated and hard to understand.
from gdpr-cli.
@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.
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.
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.
@DanielRuf Sorry, I didn't see your proposal - I already fixed it @dev
.
from gdpr-cli.
Related Issues (15)
- URL is not defined HOT 4
- Not detecting google analytics -- "Simple Google Analytics" WP plugin HOT 6
- ideas, proposals (functional programming) HOT 3
- enable Travis CI
- exit checks early HOT 3
- regex.match is evil, good ol' indexOf rules HOT 3
- Scan fails with SyntaxError: Unexpected token ... HOT 5
- Google Analytics not detected HOT 5
- "Check for Cookies (if it's even possible)"
- Cannot read property 'slice' of undefined thrown if css or js file of the page cannot be downloaded HOT 7
- External embedded videos
- CDN detection, especially Cloudflare. HOT 5
- proposal: puppeteer for more checks HOT 2
- package name HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdpr-cli.