Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cliqz/autoconsent

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cliqz/autoconsent - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

lib/cmps/all.js

2

package.json
{
"name": "@cliqz/autoconsent",
"version": "0.6.0",
"version": "0.6.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/autoconsent.cjs.js",

@@ -38,10 +38,13 @@ #!/usr/bin/env node

consentOMaticSkip.forEach(name => delete comRules[name]);
const extraRules = fs.readdirSync(consentOMaticDir);
await Promise.all(
extraRules.map(async file => {
const rule = await readFileJSON(path.join(consentOMaticDir, file));
// rule name is file name with JSON extension removed
comRules[file.substring(0, file.length - 5)] = rule;
})
);
try {
const extraRules = fs.readdirSync(consentOMaticDir);
await Promise.all(
extraRules.map(async file => {
const rule = await readFileJSON(path.join(consentOMaticDir, file));
// rule name is file name with JSON extension removed
comRules[file.substring(0, file.length - 5)] = rule;
})
);
} catch(e) {
}
rules.consentomatic = comRules;

@@ -48,0 +51,0 @@ })();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc