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

@bangle.dev/js-utils

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bangle.dev/js-utils - npm Package Compare versions

Comparing version 0.21.0-alpha.2 to 0.21.0-alpha.3

3

dist/object-uid.js
let counter = 0;
let unique = Math.random();
export class ObjectUID extends WeakMap {

@@ -8,3 +9,3 @@ get(obj) {

}
uid = (counter++).toString();
uid = (counter++).toString() + '-' + unique;
this.set(obj, uid);

@@ -11,0 +12,0 @@ return uid;

let counter = 0;
let unique = Math.random();

@@ -9,3 +10,3 @@ export class ObjectUID extends WeakMap {

}
uid = (counter++).toString();
uid = (counter++).toString() + '-' + unique;
this.set(obj, uid);

@@ -12,0 +13,0 @@ return uid;

{
"name": "@bangle.dev/js-utils",
"version": "0.21.0-alpha.2",
"version": "0.21.0-alpha.3",
"homepage": "https://bangle.dev",

@@ -5,0 +5,0 @@ "authors": [

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