Comparing version 1.0.0 to 2.0.0
144
package.json
{ | ||
"name": "it-pair", | ||
"description": "pair a source async iterable stream and a sink async iterable stream", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"homepage": "https://github.com/alanshaw/it-pair", | ||
@@ -10,15 +10,143 @@ "repository": { | ||
}, | ||
"devDependencies": { | ||
"it-pipe": "^1.0.1", | ||
"standard": "^12.0.1", | ||
"tape": "^4.5.1" | ||
"type": "module", | ||
"types": "./dist/src/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"*", | ||
"*/index", | ||
"dist/*", | ||
"dist/*/index", | ||
"dist/src/*", | ||
"dist/src/*/index" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"src", | ||
"dist/src", | ||
"!dist/test", | ||
"!**/*.tsbuildinfo" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./dist/src/index.js" | ||
}, | ||
"./duplex": { | ||
"import": "./dist/src/duplex.js" | ||
} | ||
}, | ||
"eslintConfig": { | ||
"extends": "ipfs", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
} | ||
}, | ||
"release": { | ||
"branches": [ | ||
"master" | ||
], | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"preset": "conventionalcommits", | ||
"releaseRules": [ | ||
{ | ||
"breaking": true, | ||
"release": "major" | ||
}, | ||
{ | ||
"revert": true, | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "feat", | ||
"release": "minor" | ||
}, | ||
{ | ||
"type": "fix", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "chore", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "docs", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "test", | ||
"release": "patch" | ||
}, | ||
{ | ||
"scope": "no-release", | ||
"release": false | ||
} | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"preset": "conventionalcommits", | ||
"presetConfig": { | ||
"types": [ | ||
{ | ||
"type": "feat", | ||
"section": "Features" | ||
}, | ||
{ | ||
"type": "fix", | ||
"section": "Bug Fixes" | ||
}, | ||
{ | ||
"type": "chore", | ||
"section": "Trivial Changes" | ||
}, | ||
{ | ||
"type": "docs", | ||
"section": "Trivial Changes" | ||
}, | ||
{ | ||
"type": "test", | ||
"section": "Tests" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/github", | ||
"@semantic-release/git" | ||
] | ||
}, | ||
"scripts": { | ||
"test": "standard && set -e; for t in test/*.js; do node $t; done" | ||
"lint": "aegir lint", | ||
"dep-check": "aegir dep-check dist/src/**/*.js dist/test/**/*.js", | ||
"build": "tsc", | ||
"pretest": "npm run build", | ||
"test": "aegir test -f ./dist/test", | ||
"test:chrome": "npm run test -- -t browser --cov", | ||
"test:chrome-webworker": "npm run test -- -t webworker", | ||
"test:firefox": "npm run test -- -t browser -- --browser firefox", | ||
"test:firefox-webworker": "npm run test -- -t webworker -- --browser firefox", | ||
"test:node": "npm run test -- -t node --cov", | ||
"test:electron-main": "npm run test -- -t electron-main", | ||
"release": "semantic-release" | ||
}, | ||
"author": "Dominic Tarr <dominic.tarr@gmail.com> (dominictarr.com)", | ||
"devDependencies": { | ||
"aegir": "^36.1.3", | ||
"it-all": "^1.0.6", | ||
"it-drain": "^1.0.5", | ||
"it-pipe": "^2.0.0" | ||
}, | ||
"author": "Alan Shaw", | ||
"license": "MIT", | ||
"dependencies": { | ||
"get-iterator": "^1.0.2" | ||
"it-stream-types": "^1.0.3", | ||
"p-defer": "^4.0.0" | ||
} | ||
} |
# it-pair | ||
[![Build Status](https://github.com/alanshaw/it-pair/actions/workflows/js-test-and-release.yml/badge.svg?branch=master)](https://github.com/alanshaw/it-pair/actions/workflows/js-test-and-release.yml) | ||
[![Dependencies Status](https://status.david-dm.org/gh/alanshaw/it-pair.svg)](https://david-dm.org/alanshaw/it-pair) | ||
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
A pair of {source, sink} streams that are internally connected, | ||
@@ -30,7 +34,7 @@ (what goes into the sink comes out the source) | ||
This is particularly useful for creating duplex streams especially | ||
around servers. Use `pull-pair/duplex` to get two duplex streams | ||
around servers. Use `it-pair/duplex` to get two duplex streams | ||
that are attached to each other. | ||
``` js | ||
var DuplexPair = require('pull-pair/duplex') | ||
var DuplexPair = require('it-pair/duplex') | ||
@@ -37,0 +41,0 @@ var d = DuplexPair() |
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
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
9753
13
69
Yes
2
4
74
1
+ Addedit-stream-types@^1.0.3
+ Addedp-defer@^4.0.0
+ Addedit-stream-types@1.0.5(transitive)
+ Addedp-defer@4.0.1(transitive)
- Removedget-iterator@^1.0.2
- Removedget-iterator@1.0.2(transitive)