gulp-css-wrapper
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -29,4 +29,4 @@ const through = require("through2"); | ||
var str = file.contents.toString(); | ||
less.render(str, opts).then(function (res) { | ||
var str = 'div[' + key + '="' + val + '"]{' + res.css + '}'; | ||
less.render(str, opts).then(function(res) { | ||
var str = "div[" + key + "='" + val + "']{" + res.css + "}"; | ||
file.contents = new Buffer(str); | ||
@@ -33,0 +33,0 @@ return file; |
{ | ||
"name": "gulp-css-wrapper", | ||
"version": "1.0.1", | ||
"description": "add wrap to css", | ||
"version": "1.0.2", | ||
"description": "", | ||
"main": "index.js", | ||
@@ -9,14 +9,16 @@ "scripts": { | ||
}, | ||
"devDependencies": { | ||
"through2": "^2.0.0", | ||
"less": "2.6.x || ^3.7.1" | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/lhyhappy365/gulp-css-wrapper.git" | ||
}, | ||
"keywords": [ | ||
"gulp", | ||
"less", | ||
"css", | ||
"wrap" | ||
], | ||
"author": "lhyhappy365", | ||
"license": "ISC" | ||
"license": "ISC", | ||
"dependencies": { | ||
"less": "2.6.x || ^3.7.1", | ||
"through2": "^2.0.0" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/lhyhappy365/gulp-css-wrapper/issues" | ||
}, | ||
"homepage": "https://github.com/lhyhappy365/gulp-css-wrapper#readme" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1825
0
0
2
+ Addedless@2.6.x || ^3.7.1
+ Addedthrough2@^2.0.0
+ Addedcopy-anything@2.0.6(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addederrno@0.1.8(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedimage-size@0.5.5(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-what@3.14.1(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedless@3.13.1(transitive)
+ Addedmake-dir@2.1.0(transitive)
+ Addedmime@1.6.0(transitive)
+ Addednative-request@1.1.2(transitive)
+ Addedpify@4.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedprr@1.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedthrough2@2.0.5(transitive)
+ Addedtslib@1.14.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedxtend@4.0.2(transitive)