extension-port-stream
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -9,2 +9,7 @@ # Changelog | ||
## [4.0.0] | ||
### Fixed | ||
- **BREAKING**: `webextension-polyfill` is now a peer-dependency rather than a dependency. Users are expected to provide the runtime. ([#54](https://github.com/MetaMask/extension-port-stream/pull/54)) | ||
- `webextension-polyfill` import changed to type-only import ([#54](https://github.com/MetaMask/extension-port-stream/pull/54)) | ||
## [3.0.0] | ||
@@ -43,3 +48,4 @@ ### Changed | ||
[Unreleased]: https://github.com/MetaMask/extension-port-stream/compare/v3.0.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/extension-port-stream/compare/v4.0.0...HEAD | ||
[4.0.0]: https://github.com/MetaMask/extension-port-stream/compare/v3.0.0...v4.0.0 | ||
[3.0.0]: https://github.com/MetaMask/extension-port-stream/compare/v2.1.1...v3.0.0 | ||
@@ -46,0 +52,0 @@ [2.1.1]: https://github.com/MetaMask/extension-port-stream/compare/v2.1.0...v2.1.1 |
/// <reference types="node" /> | ||
import { Duplex } from 'readable-stream'; | ||
import { Runtime } from 'webextension-polyfill'; | ||
import type { Runtime } from 'webextension-polyfill'; | ||
declare type Log = (data: unknown, out: boolean) => void; | ||
@@ -5,0 +5,0 @@ export default class PortDuplexStream extends Duplex { |
{ | ||
"name": "extension-port-stream", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "A module for creating a node style stream over a WebExtension port object.", | ||
@@ -34,4 +34,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"readable-stream": "^3.6.2 || ^4.4.2", | ||
"webextension-polyfill": ">=0.10.0 <1.0" | ||
"readable-stream": "^3.6.2 || ^4.4.2" | ||
}, | ||
@@ -49,4 +48,8 @@ "devDependencies": { | ||
"eslint-plugin-node": "^11.1.0", | ||
"typescript": "^4.0.5" | ||
"typescript": "^4.0.5", | ||
"webextension-polyfill": ">=0.10.0 <1.0" | ||
}, | ||
"peerDependencies": { | ||
"webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0" | ||
} | ||
} |
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
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
11016
0
12
- Removedwebextension-polyfill@>=0.10.0 <1.0