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

stringify

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stringify - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

14

index.js

@@ -16,3 +16,3 @@ var through = require('through');

return 'module.exports = '+stringified_content+';\n';
return 'module.exports = ' + stringified_content + ';\n';
}

@@ -22,4 +22,4 @@

* Creates the
* @param {object} options
* @param {object} options.extensions
* @param {object | array} options
* @param {object} options.extensions
* @returns {stream}

@@ -41,4 +41,8 @@ */

if (options && options.extensions) {
extensions = options.extensions;
if (options) {
if (Object.prototype.toString.call(options) === '[object Array]') {
extensions = options;
} else if(options.extensions) {
extensions = options.extensions;
}
}

@@ -45,0 +49,0 @@

{
"name": "stringify",
"description": "Browserify middleware to be able to require() text files (including templates) inside of your client-side JavaScript files.",
"version": "2.0.0",
"version": "2.1.0",
"main": "./index.js",
"author": "John Postlethwait <john.postlethwait@gmail.com>",
"contributors": [
"James Newell <james@digitaledgeit.com.au>"
"James Newell <james@digitaledgeit.com.au>",
"Livoras <livoras@163.com>"
],

@@ -23,4 +24,4 @@ "website": "http://johnpostlethwait.github.com/stringify/",

},
"engines" : {
"node" : "*"
"engines": {
"node": "*"
},

@@ -32,3 +33,6 @@ "licenses": [

}
]
],
"dependencies": {
"through": "~2.3.4"
}
}
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