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

cdnify

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdnify - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

12

lib/index.js

@@ -48,3 +48,13 @@ (function() {

}
return exports.process(rawHtml, options, callback);
return exports.process(rawHtml, options, function(err, html, $) {
if (err) {
return callback(err);
}
if (!options.output) {
return callback(err, html, $);
}
return fs.writeFile(options.output, html, function(err) {
return callback(err, html, $);
});
});
});

@@ -51,0 +61,0 @@ };

2

package.json
{
"name": "cdnify",
"version": "0.1.1",
"version": "0.1.2",
"description": "CLI tool and library to use CDN in production",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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