Socket
Socket
Sign inDemoInstall

extension-port-stream

Package Overview
Dependencies
Maintainers
7
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extension-port-stream - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

CHANGELOG.md

@@ -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 @@

1

dist/index.js

@@ -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

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