Comparing version 1.1.3 to 1.1.4
@@ -1,2 +0,1 @@ | ||
// Maps for number <-> hex string conversion | ||
var byteToHex = []; | ||
@@ -55,7 +54,2 @@ var hexToByte = {}; | ||
/** | ||
* Generate 16 random bytes to be used as a base for UUID. | ||
* | ||
* @ignore | ||
*/ | ||
var random = function () { | ||
@@ -62,0 +56,0 @@ if (typeof crypto !== 'undefined' && crypto.getRandomValues) { |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(global = global || self, factory(global.visUUID = {})); | ||
}(this, function (exports) { 'use strict'; | ||
(global = global || self, factory(global.visUUID = global.visUUID || {})); | ||
}(this, (function (exports) { 'use strict'; | ||
// Maps for number <-> hex string conversion | ||
var byteToHex = []; | ||
@@ -61,7 +60,2 @@ var hexToByte = {}; | ||
/** | ||
* Generate 16 random bytes to be used as a base for UUID. | ||
* | ||
* @ignore | ||
*/ | ||
var random = function () { | ||
@@ -271,2 +265,2 @@ if (typeof crypto !== 'undefined' && crypto.getRandomValues) { | ||
})); | ||
}))); |
{ | ||
"name": "vis-uuid", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "UUIDv1 and UUIDv4 generator.", | ||
@@ -10,8 +10,8 @@ "main": "dist/umd.js", | ||
"type": "git", | ||
"url": "git+https://github.com/visjs/vis-uuid.git" | ||
"url": "https://github.com/visjs/vis-uuid.git" | ||
}, | ||
"author": "Alex de Mulder <alexdemulder@gmail.com>", | ||
"contributors": [ | ||
"Tomáš Vyčítal <tom.vycital@gmail.com>", | ||
"Alexander Wunschik <alex@wunschik.net>", | ||
"Tomáš Vyčítal <tom.vycital@gmail.com>", | ||
"Alex de Mulder <alexdemulder@gmail.com>", | ||
@@ -30,4 +30,6 @@ "jos <wjosdejong@gmail.com>" | ||
"preversion": "npm run test && npm run type-check && npm run lint", | ||
"test": "BABEL_ENV=test mocha", | ||
"test-cov": "BABEL_ENV=test-cov nyc mocha", | ||
"test": "npm run test:coverage", | ||
"test:coverage": "BABEL_ENV=test-cov nyc mocha", | ||
"test:mutate": "BABEL_ENV=test stryker run", | ||
"test:unit": "BABEL_ENV=test mocha", | ||
"type-check": "tsc --noemit", | ||
@@ -38,2 +40,9 @@ "version": "npm run build:docs && git add docs && npm run contributors:update && git add package.json", | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged", | ||
"pre-push": "npm test" | ||
} | ||
}, | ||
"engines": { | ||
@@ -56,18 +65,30 @@ "node": ">=8" | ||
], | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/visjs" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@babel/core": "^7.5.0", | ||
"@babel/plugin-proposal-class-properties": "^7.5.5", | ||
"@babel/plugin-transform-runtime": "^7.5.5", | ||
"@babel/preset-env": "^7.5.0", | ||
"@babel/preset-typescript": "^7.3.3", | ||
"@babel/register": "^7.4.4", | ||
"@babel/runtime": "^7.5.5", | ||
"@babel/core": "^7.7.7", | ||
"@babel/plugin-proposal-class-properties": "^7.7.4", | ||
"@babel/plugin-transform-runtime": "^7.7.6", | ||
"@babel/preset-env": "^7.7.7", | ||
"@babel/preset-typescript": "^7.7.7", | ||
"@babel/register": "^7.7.7", | ||
"@babel/runtime-corejs3": "^7.7.7", | ||
"@commitlint/cli": "^8.1.0", | ||
"@commitlint/config-conventional": "^8.1.0", | ||
"@stryker-mutator/babel-transpiler": "^2.0.2", | ||
"@stryker-mutator/core": "^2.0.2", | ||
"@stryker-mutator/html-reporter": "^2.0.2", | ||
"@stryker-mutator/mocha-framework": "^2.0.2", | ||
"@stryker-mutator/mocha-runner": "^2.0.2", | ||
"@stryker-mutator/typescript": "^2.0.2", | ||
"@types/chai": "^4.1.7", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.0.12", | ||
"@typescript-eslint/eslint-plugin": "^1.11.0", | ||
"@typescript-eslint/parser": "^1.11.0", | ||
"@types/node": "^13.1.0", | ||
"@typescript-eslint/eslint-plugin": "^2.0.0", | ||
"@typescript-eslint/parser": "^2.0.0", | ||
"assert": "^2.0.0", | ||
"babel-plugin-istanbul": "^5.2.0", | ||
"babel-plugin-istanbul": "^6.0.0", | ||
"chai": "^4.2.0", | ||
@@ -78,4 +99,6 @@ "eslint": "^6.0.1", | ||
"git-authors-cli": "^1.0.18", | ||
"husky": "^3.0.2", | ||
"lint-staged": "^9.2.1", | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.1.1", | ||
"nyc": "^15.0.0", | ||
"prettier": "^1.18.2", | ||
@@ -86,5 +109,7 @@ "rimraf": "^2.6.3", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"typedoc": "^0.14.2", | ||
"semantic-release": "^15.13.21", | ||
"stryker-cli": "^1.0.0", | ||
"typedoc": "^0.15.0", | ||
"typescript": "^3.5.2" | ||
} | ||
} |
# Vis UUID | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/visjs/vis-uuid.svg)](https://greenkeeper.io/) | ||
UUID (version 1 and 4) generation library. | ||
@@ -4,0 +6,0 @@ Also offers conversion methods between string representation and binary (array of numbers or Uint8Array) representation. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38805
62
40
505
1