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

gulp-embed-json

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-embed-json - npm Package Compare versions

Comparing version 1.5.5 to 1.5.6

2

lib/index.js

@@ -52,3 +52,3 @@ const through = require('through2');

try {
file.contents = new Buffer(embedJson(file.contents.toString(), options));
file.contents = Buffer.from(embedJson(file.contents.toString(), options), options.encoding);
} catch (err) {

@@ -55,0 +55,0 @@ return callback(new PluginError(PLUGIN_NAME, err));

{
"name": "gulp-embed-json",
"version": "1.5.5",
"version": "1.5.6",
"description": "Gulp plugin to inline/embed JSON data into HTML files.",

@@ -9,2 +9,3 @@ "main": "lib/index.js",

"lint:ci": "eslint --format junit -o test-results/eslint/results.xml **/*.js",
"prepare": "if [ ${NODE_ENV} != 'production' ]; then husky install; fi",
"tdd": "mocha --watch",

@@ -14,7 +15,2 @@ "test": "mocha",

},
"husky": {
"hooks": {
"pre-commit": "npm test && npm run lint"
}
},
"eslintConfig": {

@@ -70,3 +66,3 @@ "env": {

"gulp": "^4.0.2",
"husky": "^4.3.8",
"husky": "^7.0.4",
"mocha": "^9.0.3",

@@ -73,0 +69,0 @@ "mocha-junit-reporter": "^2.0.0"

Sorry, the diff of this file is not supported yet

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