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

@screencloud/uuid

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@screencloud/uuid - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

build/encoding.d.ts

10

build/index.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var uuid_1 = require("uuid");
var uuid_encoder_1 = __importDefault(require("uuid-encoder"));
var encoding_1 = require("./encoding");
var nilRegex = /^[0]{8}-[0]{4}-[0]{4}-[0]{4}-[0]{12}$/i;
var anyRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
var base62Regex = /^[0-9a-z]{22}$/i;
var encoder = new uuid_encoder_1.default("base62");
function genUuid() {

@@ -39,3 +35,3 @@ return uuid_1.v4();

}
return encoder.encode(uuid);
return encoding_1.encode(uuid);
}

@@ -50,4 +46,4 @@ exports.compactUuid = compactUuid;

}
return encoder.decode(str);
return encoding_1.decode(str);
}
exports.expandUuid = expandUuid;

@@ -9,3 +9,3 @@ {

"semantic-release": "semantic-release",
"test": "jest",
"test": "jest --coverage",
"test:watch": "jest --watch",

@@ -22,4 +22,4 @@ "tslint": "tslint -p . -t stylish",

"dependencies": {
"uuid": "^3.3.2",
"uuid-encoder": "^1.1.0"
"big-integer": "^1.6.43",
"uuid": "^3.3.2"
},

@@ -44,3 +44,3 @@ "devDependencies": {

},
"version": "1.1.0"
"version": "1.1.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