Socket
Socket
Sign inDemoInstall

@cspell/strong-weak-map

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cspell/strong-weak-map - npm Package Compare versions

Comparing version 8.2.3 to 8.2.4

10

dist/esm/StrongWeakMap.js

@@ -113,3 +113,11 @@ export class StrongWeakMap {

cleanKeys() {
[...this];
const keysToDel = [];
for (const [key, ref] of this.map.entries()) {
if (!ref.deref()) {
keysToDel.push(key);
}
}
for (const key of keysToDel) {
this.map.delete(key);
}
return this;

@@ -116,0 +124,0 @@ }

4

package.json

@@ -6,3 +6,3 @@ {

},
"version": "8.2.3",
"version": "8.2.4",
"description": "A Map with weakly referenced values.",

@@ -58,3 +58,3 @@ "keywords": [

},
"gitHead": "e3098b21e0a199d61226f8ff4989d48b385eddfa"
"gitHead": "d3c5ff685b3aa2bf984f557d81380f2c994547e0"
}
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