Socket
Socket
Sign inDemoInstall

crx

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crx - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

5

CHANGELOG.md
## Change Log
### 4.0.0 (2019/02/03 15:57 +00:00)
### 4.0.1 (2019/02/03 16:16 +00:00)
- [#96](https://github.com/oncletom/crx/pull/96) Remove deprecated crx.writeFile() (@oncletom)
### v4.0.0 (2019/02/03 15:57 +00:00)
- [#95](https://github.com/oncletom/crx/pull/95) Release crx@4 (@oncletom)

@@ -5,0 +8,0 @@ - [#93](https://github.com/oncletom/crx/pull/93) fix demo code (@g8up)

2

package.json

@@ -5,3 +5,3 @@ {

"description": "crx is a utility to package Google Chrome extensions via a Node API and the command line",
"version": "4.0.0",
"version": "4.0.1",
"license": "MIT",

@@ -8,0 +8,0 @@ "homepage": "https://github.com/oncletom/crx",

"use strict";
var fs = require("fs");
var path = require("path");

@@ -87,25 +86,3 @@ var join = path.join;

/**
* Writes data into the extension workable directory.
*
* @deprecated
* @param {string} path
* @param {*} data
* @returns {Promise}
*/
writeFile (path, data) {
var absPath = join(this.path, path);
/* istanbul ignore next */
return new Promise(function(resolve, reject) {
fs.writeFile(absPath, data, function(err) {
if (err) {
return reject(err);
}
resolve();
});
});
}
/**

@@ -112,0 +89,0 @@ * Generates a public key.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc