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

amp-unique-id

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amp-unique-id - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

package.json
{
"name": "amp-unique-id",
"description": "unique-id function part of http://amp.ampersandjs.com.",
"version": "1.0.1",
"version": "1.0.2",
"author": "Henrik Joreteg <henrik@andyet.net>",

@@ -9,4 +9,4 @@ "amp": {

"size": {
"original": "409 B",
"minified": "90 B"
"original": "448 B",
"minified": "95 B"
}

@@ -13,0 +13,0 @@ },

@@ -11,3 +11,4 @@ var test = require('tape');

t.deepEqual(ids, ['1', '2', '3', '4', '5', 'p6', 'p7', 'p8', 'p9', 'p10'], 'generates globally-unique ids with prefix');
t.end();
});
/*global window, global*/
var theGlobal = (typeof window !== 'undefined') ? window : global;
theGlobal.__ampIdCounter = 0;
if (!theGlobal.__ampIdCounter) {
theGlobal.__ampIdCounter = 0;
}

@@ -5,0 +7,0 @@

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