New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dags/uid-uuid

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dags/uid-uuid - npm Package Compare versions

Comparing version 0.2.14 to 0.3.0

0

CHANGELOG.md

@@ -0,0 +0,0 @@ # Change Log

9

dist/cjs/__tests__/uid-uuid.test.js

@@ -26,12 +26,3 @@ "use strict";

});
describe('newUID', function () {
var uuid = new _uidUuid.UUID();
it('Should return unique ids', function () {
expect(uuid.newUID() == uuid.newUID()).toBe(false);
});
it('Should return a value of type \'object\'', function () {
expect(typeof uuid.newUID()).toBe('object');
});
});
});
//# sourceMappingURL=uid-uuid.test.js.map

@@ -23,6 +23,2 @@ "use strict";

_proto.newUID = function newUID() {
return new UUID();
};
_proto.equals = function equals(uid) {

@@ -29,0 +25,0 @@ return uid instanceof UUID && this._uuid === uid._uuid;

@@ -21,12 +21,3 @@ import { UUID } from '../uid-uuid';

});
describe('newUID', () => {
var uuid = new UUID();
it('Should return unique ids', () => {
expect(uuid.newUID() == uuid.newUID()).toBe(false);
});
it('Should return a value of type \'object\'', () => {
expect(typeof uuid.newUID()).toBe('object');
});
});
});
//# sourceMappingURL=uid-uuid.test.js.map
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { v4 } from 'uuid';
import { v4 } from 'uuid'; // eslint-disable-next-line @typescript-eslint/no-unused-vars

@@ -16,6 +16,2 @@ /**

newUID() {
return new UUID();
}
equals(uid) {

@@ -22,0 +18,0 @@ return uid instanceof UUID && this._uuid === uid._uuid;

export * from './uid-uuid';

@@ -9,4 +9,3 @@ import { UID } from '@dags/dag';

constructor();
newUID(): UID;
equals(uid: UID): boolean;
}

4

jest.config.js

@@ -1,5 +0,5 @@

const baseConfig = require("../../jest.config")
const baseConfig = require('../../jest.config')
module.exports = {
...baseConfig,
...baseConfig
}
{
"name": "@dags/uid-uuid",
"version": "0.2.14",
"version": "0.3.0",
"description": "Abstract unique identifier",

@@ -19,6 +19,9 @@ "main": "dist/cjs/index.js",

"build": "concurrently yarn:build:*",
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts -d dist/esm --source-maps",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts -d dist/cjs --source-maps",
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
"clean": "rimraf *.d.ts coverage dist",
"lint": "concurrently yarn:lint:*",
"lint:src": "eslint src --ext .ts --config ../../.eslintrc",
"lint:types": "tsc --noEmit",
"test": "jest",

@@ -33,3 +36,3 @@ "test:coverage": "yarn test --coverage",

"devDependencies": {
"@dags/dag": "^0.2.12"
"@dags/dag": "^0.x"
},

@@ -53,3 +56,3 @@ "peerDependencies": {

"sideEffects": false,
"gitHead": "fcd336ff4def10719892286b3b30b161d854ac5e"
"gitHead": "aa2026f360b758025929cb7184d71c68c719c76f"
}
# A TypeScript library for generating UIDs, which is implemented as uuid.
This library is based on [uuid](https://github.com/uuidjs/uuid) implementation to support global uniqueness.

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

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