Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tobes31415/dispose

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tobes31415/dispose - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

14

docs/dispose.md

@@ -23,3 +23,3 @@

*Defined in [dispose.ts:95](https://github.com/tobes31415/dispose/blob/b16e9c3/src/dispose.ts#L95)*
*Defined in [dispose.ts:95](https://github.com/tobes31415/dispose/blob/3228e0c/src/dispose.ts#L95)*

@@ -43,3 +43,3 @@ Throws an error if the object has been disposed

*Defined in [dispose.ts:107](https://github.com/tobes31415/dispose/blob/b16e9c3/src/dispose.ts#L107)*
*Defined in [dispose.ts:107](https://github.com/tobes31415/dispose/blob/3228e0c/src/dispose.ts#L107)*

@@ -68,3 +68,3 @@ Wraps a function so that it can be disposed. Once disposed the function will no longer execute

*Defined in [dispose.ts:40](https://github.com/tobes31415/dispose/blob/b16e9c3/src/dispose.ts#L40)*
*Defined in [dispose.ts:40](https://github.com/tobes31415/dispose/blob/3228e0c/src/dispose.ts#L40)*

@@ -87,3 +87,3 @@ Disposes an object

*Defined in [dispose.ts:28](https://github.com/tobes31415/dispose/blob/b16e9c3/src/dispose.ts#L28)*
*Defined in [dispose.ts:28](https://github.com/tobes31415/dispose/blob/3228e0c/src/dispose.ts#L28)*

@@ -106,3 +106,3 @@ Returns true if an object has been disposed, otherwise false

*Defined in [dispose.ts:59](https://github.com/tobes31415/dispose/blob/b16e9c3/src/dispose.ts#L59)*
*Defined in [dispose.ts:59](https://github.com/tobes31415/dispose/blob/3228e0c/src/dispose.ts#L59)*

@@ -128,3 +128,3 @@ Attaches a callback that will be invoked when the object is disposed.

*Defined in [dispose.ts:86](https://github.com/tobes31415/dispose/blob/b16e9c3/src/dispose.ts#L86)*
*Defined in [dispose.ts:86](https://github.com/tobes31415/dispose/blob/3228e0c/src/dispose.ts#L86)*

@@ -148,3 +148,3 @@ When objectA is disposed, objectB will also be disposed

*Defined in [dispose.ts:74](https://github.com/tobes31415/dispose/blob/b16e9c3/src/dispose.ts#L74)*
*Defined in [dispose.ts:74](https://github.com/tobes31415/dispose/blob/3228e0c/src/dispose.ts#L74)*

@@ -151,0 +151,0 @@ Explicitly instructs an object to dispose recursively. This is actually the default behaviour. You only need to call this if you need to override the dispoal of an object but still want the dispose to be recursively applied.

{
"name": "@tobes31415/dispose",
"version": "1.0.3",
"version": "1.0.4",
"description": "Dispose objects using the decorator pattern",

@@ -13,3 +13,3 @@ "main": "lib/dispose.min.js",

"build:compile:full": "tsc --declaration",
"build:copy": "cpx \"bin/**/!(*.test){*.js,*.d.ts}\" \"lib\"",
"build:copy": "copyfiles \"bin/**/!(*.test){*.js,*.d.ts}\" \"lib\" --up 1",
"prettier": "prettier --write \"src/**/*.ts\"",

@@ -21,3 +21,3 @@ "uglify": "uglifyjs \"lib/dispose.js\" -c -m --toplevel -o \"lib/dispose.min.js\"",

"apidocs:typedoc": "typedoc --out docs_bin src/dispose.ts --excludePrivate --excludeNotExported --excludeExternals ",
"apidocs:copy": "cpx docs_bin/modules/_dispose_.md docs && mv docs/_dispose_.md docs/dispose.md",
"apidocs:copy": "copyfiles docs_bin/modules/_dispose_.md docs --up 2 && mv docs/_dispose_.md docs/dispose.md",
"apidocs:tidy": "line-replace docs/dispose.md:1 '' && line-replace docs/dispose.md:3 '' && replace '_dispose_' 'dispose' docs/dispose.md"

@@ -43,3 +43,3 @@ },

"babel-jest": "^25.2.6",
"cpx": "^1.5.0",
"copyfiles": "^2.2.0",
"eslint": "^6.8.0",

@@ -46,0 +46,0 @@ "eslint-config-prettier": "^6.10.1",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc