extension-port-stream
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -10,2 +10,8 @@ # Changelog | ||
## [2.0.1] - 2021-04-29 | ||
### Changed | ||
- Move `webextension-polyfill-ts` from `devDependencies` to `dependencies` ([#11](https://github.com/MetaMask/extension-port-stream/pull/11)) | ||
## [2.0.0] - 2020-11-23 | ||
@@ -12,0 +18,0 @@ |
@@ -22,3 +22,2 @@ "use strict"; | ||
if (Buffer.isBuffer(msg)) { | ||
// delete msg._isBuffer; | ||
const data = Buffer.from(msg); | ||
@@ -25,0 +24,0 @@ this.push(data); |
{ | ||
"name": "extension-port-stream", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A module for creating a node style stream over a WebExtension port object.", | ||
"main": "dist/index.js", | ||
"engines": { | ||
"node": ">=12.0.0" | ||
}, | ||
"scripts": { | ||
"build": "tsc --project .", | ||
"build": "rm -rf ./dist && tsc --project .", | ||
"lint": "eslint . --ext ts,js,json", | ||
@@ -29,3 +32,5 @@ "lint:fix": "yarn lint --fix", | ||
"homepage": "https://github.com/MetaMask/extension-port-stream#readme", | ||
"dependencies": {}, | ||
"dependencies": { | ||
"webextension-polyfill-ts": "^0.22.0" | ||
}, | ||
"devDependencies": { | ||
@@ -40,5 +45,4 @@ "@metamask/eslint-config": "^4.1.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"typescript": "^4.0.5", | ||
"webextension-polyfill-ts": "^0.22.0" | ||
"typescript": "^4.0.5" | ||
} | ||
} |
@@ -15,1 +15,7 @@ # Extension Port Stream | ||
``` | ||
## Running tests | ||
```bash | ||
yarn test | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
15295
9
21
0
1
217
+ Addedwebextension-polyfill@0.7.0(transitive)
+ Addedwebextension-polyfill-ts@0.22.0(transitive)