extra-abort
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -7,1 +7,2 @@ export * from './abort-controller.js'; | ||
export * from './with-abort-signal.js'; | ||
export * from './linked-abort-controller.js'; |
@@ -7,2 +7,3 @@ export * from './abort-controller.js'; | ||
export * from './with-abort-signal.js'; | ||
export * from './linked-abort-controller.js'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "extra-abort", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "", | ||
@@ -25,3 +25,3 @@ "keywords": [], | ||
"clean": "rimraf lib", | ||
"build": "tsc --project tsconfig.build.json --outDir lib", | ||
"build": "tsc --project tsconfig.build.json", | ||
"release": "standard-version" | ||
@@ -37,28 +37,28 @@ }, | ||
"@blackglory/pass": "^1.1.0", | ||
"@blackglory/wait-for": "^0.6.0", | ||
"@commitlint/cli": "^17.4.2", | ||
"@commitlint/config-conventional": "^17.4.2", | ||
"@typescript-eslint/eslint-plugin": "^5.48.2", | ||
"@typescript-eslint/parser": "^5.48.2", | ||
"@blackglory/wait-for": "^0.7.0", | ||
"@commitlint/cli": "^17.4.4", | ||
"@commitlint/config-conventional": "^17.4.4", | ||
"@typescript-eslint/eslint-plugin": "^5.54.1", | ||
"@typescript-eslint/parser": "^5.54.1", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.32.0", | ||
"eslint": "^8.35.0", | ||
"husky": "^4.3.8", | ||
"node-fetch": "^3.3.0", | ||
"npm-run-all": "^4.1.5", | ||
"return-style": "^2.0.0", | ||
"rimraf": "^4.1.1", | ||
"return-style": "^2.0.3", | ||
"rimraf": "^4.4.0", | ||
"standard-version": "^9.5.0", | ||
"ts-patch": "^2.1.0", | ||
"tslib": "^2.4.1", | ||
"typescript": "^4.8.4", | ||
"tslib": "^2.5.0", | ||
"typescript": "4.8", | ||
"typescript-transform-paths": "^3.4.6", | ||
"vite": "^4.0.4", | ||
"vite": "^4.1.4", | ||
"vite-tsconfig-paths": "^4.0.5", | ||
"vitest": "^0.27.3" | ||
"vitest": "^0.29.2" | ||
}, | ||
"dependencies": { | ||
"@blackglory/errors": "^2.4.3", | ||
"iterable-operator": "^4.0.1", | ||
"@blackglory/errors": "^3.0.0", | ||
"iterable-operator": "^4.0.3", | ||
"justypes": "^4.1.0" | ||
} | ||
} |
@@ -22,2 +22,13 @@ # extra-abort | ||
### LinkedAbortController | ||
```ts | ||
class LinkedAbortController extends AbortController { | ||
constructor(abortSignal: AbortSignal) | ||
} | ||
``` | ||
It is a special `AbortController` that takes an `AbortSignal` as a parameter. | ||
It will abort itself when its parameter signal aborts, | ||
you can make it abort by calling its `abort` method too. | ||
### timeoutSignal | ||
@@ -24,0 +35,0 @@ ```ts |
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
11953
27
117
60
- Removed@blackglory/errors@2.4.3(transitive)
- Removed@blackglory/types@1.4.0(transitive)
- Removedjustypes@3.1.2(transitive)
- Removedlodash@4.17.21(transitive)
Updated@blackglory/errors@^3.0.0
Updatediterable-operator@^4.0.3