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

dac

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dac - npm Package Compare versions

Comparing version 0.7.6 to 0.7.7

6

engines/cmd.js
var helper = require("../lib/util");
var minimatch = require("minimatch");

@@ -6,4 +7,5 @@ module.exports = function (absPath, reqOpt, param, cb) {

var regxStr = "define\\(" + (param.ignore ? ('|' + param.ignore) : '');
if (new RegExp(regxStr).test(content) || !param.enable) {
if (content === null || !param.enable || param.ignore.some(function (rule) {
return minimatch(reqOpt.path.replace(/^\//, ''), rule);
})) {
cb({msg: "PASS Engine"});

@@ -10,0 +12,0 @@ }

{
"name": "dac",
"version": "0.7.6",
"version": "0.7.7",
"description": "Dynamic Assets Compiler",

@@ -20,7 +20,8 @@ "main": "index.js",

"dependencies": {
"clean-css": "~3.4.9",
"clean-css": "~3.4.10",
"iconv-lite": "~0.4.13",
"is-utf8": "~0.2.1",
"juicer": "~0.6.11",
"less": "~2.6.0"
"juicer": "~0.6.13",
"less": "~2.6.1",
"minimatch": "~3.0.0"
},

@@ -27,0 +28,0 @@ "author": "limingv5",

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