New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@node-minify/core

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-minify/core - npm Package Compare versions

Comparing version 5.3.0 to 6.0.0

0

lib/compress.js

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

20

lib/setup.js

@@ -10,3 +10,3 @@ "use strict";

var _glob = _interopRequireDefault(require("glob"));
var _globby = _interopRequireDefault(require("globby"));

@@ -133,8 +133,18 @@ var _utils = require("@node-minify/utils");

let output = {};
let isWildcardsPresent = false;
output.input = input; // Transform all wildcards to path file
input.forEach(item => {
output.input = output.input.concat(getFilesFromWildcards(item, publicFolder));
}); // Remove all wildcards from array
const inputWithPublicFolder = input.map(item => {
if (item.indexOf('*') > -1) {
isWildcardsPresent = true;
}
return (publicFolder || '') + item;
});
if (isWildcardsPresent) {
output.input = _globby.default.sync(inputWithPublicFolder);
} // Remove all wildcards from array
for (let i = 0; i < output.input.length; i++) {

@@ -162,3 +172,3 @@ if (output.input[i].indexOf('*') > -1) {

if (input.indexOf('*') > -1) {
output = _glob.default.sync((publicFolder || '') + input, null);
output = _globby.default.sync((publicFolder || '') + input);
}

@@ -165,0 +175,0 @@

{
"name": "@node-minify/core",
"version": "5.3.0",
"version": "6.0.0",
"description": "core of @node-minify",

@@ -15,3 +15,3 @@ "keywords": [

"engines": {
"node": ">=8.0.0"
"node": ">=10.0.0"
},

@@ -36,7 +36,7 @@ "directories": {

"dependencies": {
"@node-minify/utils": "^5.3.0",
"glob": "7.1.6",
"mkdirp": "0.5.1"
"@node-minify/utils": "^6.0.0",
"globby": "11.0.1",
"mkdirp": "1.0.4"
},
"gitHead": "82898314fcff85e28501e33767ae095ca2d28cd1"
"gitHead": "5b17d0f80d0db5c18c64fab4dd0c70f035d6079d"
}
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