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

@tsdotnet/collection-base

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsdotnet/collection-base - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

8

dist-esm/CollectionBase.js

@@ -30,3 +30,3 @@ /*

this._count++;
this._incrementVersion();
this.incrementVersion();
}

@@ -46,3 +46,3 @@ return this;

this._count -= n;
this._incrementVersion();
this.incrementVersion();
}

@@ -58,3 +58,3 @@ return n;

if (n)
this._incrementVersion();
this.incrementVersion();
this._count = 0;

@@ -74,3 +74,3 @@ return n;

this._count += n;
this._incrementVersion();
this.incrementVersion();
}

@@ -77,0 +77,0 @@ return n;

@@ -67,9 +67,10 @@ /*!

/**
* Increments the internal version.
* @private
* Increments the collection version.
* Useful for tracking changes.
* @return {number} The new version.
*/
_incrementVersion() {
++this._version;
incrementVersion() {
return ++this._version;
}
}
//# sourceMappingURL=IterableCollectionBase.js.map

@@ -33,3 +33,3 @@ "use strict";

this._count++;
this._incrementVersion();
this.incrementVersion();
}

@@ -49,3 +49,3 @@ return this;

this._count -= n;
this._incrementVersion();
this.incrementVersion();
}

@@ -61,3 +61,3 @@ return n;

if (n)
this._incrementVersion();
this.incrementVersion();
this._count = 0;

@@ -77,3 +77,3 @@ return n;

this._count += n;
this._incrementVersion();
this.incrementVersion();
}

@@ -80,0 +80,0 @@ return n;

@@ -38,6 +38,7 @@ /*!

/**
* Increments the internal version.
* @private
* Increments the collection version.
* Useful for tracking changes.
* @return {number} The new version.
*/
protected _incrementVersion(): void;
incrementVersion(): number;
/**

@@ -44,0 +45,0 @@ * Override to define the actual iterator.

@@ -70,7 +70,8 @@ "use strict";

/**
* Increments the internal version.
* @private
* Increments the collection version.
* Useful for tracking changes.
* @return {number} The new version.
*/
_incrementVersion() {
++this._version;
incrementVersion() {
return ++this._version;
}

@@ -77,0 +78,0 @@ }

{
"name": "@tsdotnet/collection-base",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -16,3 +16,3 @@ "author": "electricessence",

"bump": "npm run precommit && npm version patch",
"docs": "rimraf docs/* && rimraf docs/.nojekyll && typedoc --options typedoc.json --readme none --theme minimal && node ./.build/create-nojekyll.js",
"docs": "rimraf docs/* && rimraf docs/.nojekyll && typedoc --options typedoc.json --readme none && node ./.build/create-nojekyll.js",
"lint": "eslint src/**/*.ts",

@@ -19,0 +19,0 @@ "precommit": "npm prune && npm install && run-p lint test && run-p build:* && npm run validate",

@@ -1,2 +0,2 @@

# ![alt text](https://avatars1.githubusercontent.com/u/64487547?s=30&v=5 "tsdotnet") tsdotnet / collection-base
# ![alt text](https://avatars1.githubusercontent.com/u/64487547?s=30 "tsdotnet") tsdotnet / collection-base

@@ -3,0 +3,0 @@ [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/tsdotnet/collection-base/blob/master/LICENSE)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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