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

aem-clientlib-generator

Package Overview
Dependencies
Maintainers
5
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aem-clientlib-generator - npm Package Compare versions

Comparing version 1.4.4 to 1.5.0

test/expected/clientlibs-root/test.base.apps.ignoreOption/js.txt

3

lib/clientlib.js

@@ -297,2 +297,5 @@ /*

}
if (asset.ignore) {
globOptions.ignore = asset.ignore;
}

@@ -299,0 +302,0 @@ asset.files.forEach(function (file) {

8

package.json
{
"name": "aem-clientlib-generator",
"version": "1.4.4",
"version": "1.5.0",
"description": "Creates configuration files for AEM ClientLibs and synchronizes assets.",

@@ -48,9 +48,9 @@ "author": {

"fs-extra": "8.1.0",
"glob": "7.1.4",
"glob": "7.1.5",
"lodash": "4.17.15",
"yargs": "13.3.0"
"yargs": "14.2.0"
},
"devDependencies": {
"klaw": "3.0.0",
"mocha": "6.2.0"
"mocha": "6.2.2"
},

@@ -57,0 +57,0 @@ "license": "Apache-2.0",

@@ -161,2 +161,3 @@ # aem-clientlib-generator

* `flatten` {Boolean} - using file's basename instead of folder hierarchy; default true; only available with glob pattern
* `ignore` `{String|Array<String>}` - glob pattern or array of glob patterns for matches to exclude

@@ -163,0 +164,0 @@ For an glob example see example section below.

@@ -241,4 +241,15 @@ /*

}
},
{
name: "test.base.apps.ignoreOption",
assets: {
js: {
cwd: "src/frontend/js",
flatten: false,
files: ["**/*"],
ignore: ["**/*.min.js", "**/*.min.js.map"]
}
}
}
]
};

@@ -67,4 +67,4 @@ /*

if (!fs.lstatSync(expectedFile).isDirectory()) {
var result = fs.readFileSync(resultFile, "utf-8");
var expected = fs.readFileSync(expectedFile, "utf-8");
var result = fs.readFileSync(resultFile, "utf-8").replace(/\r\n/g, "\n");
var expected = fs.readFileSync(expectedFile, "utf-8").replace(/\r\n/g, "\n");

@@ -71,0 +71,0 @@ assert.equal(result, expected, "content of " + subFilePath + " is not expected");

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