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 3.0.3 to 3.0.4

2

bin/crx.js

@@ -62,3 +62,3 @@ #!/usr/bin/env node

return new Promise(function(resolve, reject) {
var key = new rsa({b: 1024}),
var key = new rsa({b: 2048}),
keyVal = key.exportKey('pkcs1-private-pem');

@@ -65,0 +65,0 @@

## Change Log
### 3.0.3 (2015/07/22 16:10 +00:00)
### 3.0.4 (2016/09/21 13:00 +00:00)
- [#58](https://github.com/oncletom/crx/pull/58) [security fix] Updated archiver dependency; drops support for node 0.8.x (@PavelVanecek)
- [#56](https://github.com/oncletom/crx/pull/56) Update CLI documentation with -o instead of deprecated -f (@nhoizey)
- [#52](https://github.com/oncletom/crx/pull/52) Generate 2048-bit keys at the keygen CLI (@ngyikp)
- [#50](https://github.com/oncletom/crx/pull/50) test crx on node 4.1 and 5 (@joscha)
### v3.0.3 (2015/07/22 16:10 +00:00)
- [#47](https://github.com/oncletom/crx/pull/47) added .npmignore file (@PavelVanecek)

@@ -5,0 +11,0 @@

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

"description": "Build Google Chrome extensions with node.js",
"version": "3.0.3",
"version": "3.0.4",
"license": "MIT",

@@ -19,15 +19,13 @@ "homepage": "https://github.com/oncletom/crx",

"node": ">=0.10",
"iojs": ">=1.0.0 <2.0.0",
"npm": ">=2.13.0"
"iojs": ">=1.0.0 <2.0.0"
},
"scripts": {
"test": "node ./test/index.js",
"preversion": "npm test",
"version": "npm run changelog && git add CHANGELOG.md",
"changelog": "github-changes -o oncletom -r crx -n ${npm_package_version} -a --only-pulls --use-commit-body"
"changelog": "github-changes -o oncletom -r crx -n ${npm_package_version} --only-pulls --use-commit-body"
},
"dependencies": {
"archiver": "^0.8.0",
"archiver": "^1.1.0",
"commander": "^2.5.0",
"es6-promise": "^2.0.0",
"es6-promise": "^3.0.0",
"node-rsa": "^0.2.10",

@@ -34,0 +32,0 @@ "temp": "^0.8.1",

@@ -114,3 +114,3 @@ # crx [![Build Status](https://secure.travis-ci.org/oncletom/crx.svg)](http://travis-ci.org/oncletom/crx)

Generate a 1,024-bit RSA private key within the directory. This is called automatically if a key is not specified, and `key.pem` does not exist.
Generate a 2048-bit RSA private key within the directory. This is called automatically if a key is not specified, and `key.pem` does not exist.

@@ -134,3 +134,3 @@ Use the `--force` option to overwrite an existing private key located in the same given folder.

cd myFirstExtension
crx pack -f
crx pack -o

@@ -148,3 +148,3 @@ to generate this:

cd myFirstExtension
crx pack -f myFirstExtension.crx
crx pack -o myFirstExtension.crx

@@ -165,3 +165,3 @@ to get the same results, or also pipe to the file manually like this.

crx pack myFirstExtension -p myPrivateKey.pem -f
crx pack myFirstExtension -p myPrivateKey.pem -o

@@ -168,0 +168,0 @@ to sign your package without keeping the key in the directory.

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