Comparing version 7.0.2 to 7.0.3
@@ -5,2 +5,8 @@ # Changelog | ||
### [7.0.3](https://github.com/uuidjs/uuid/compare/v7.0.2...v7.0.3) (2020-03-31) | ||
### Bug Fixes | ||
- make deep require deprecation warning work in browsers ([#409](https://github.com/uuidjs/uuid/issues/409)) ([4b71107](https://github.com/uuidjs/uuid/commit/4b71107d8c0d2ef56861ede6403fc9dc35a1e6bf)), closes [#408](https://github.com/uuidjs/uuid/issues/408) | ||
### [7.0.2](https://github.com/uuidjs/uuid/compare/v7.0.1...v7.0.2) (2020-03-04) | ||
@@ -7,0 +13,0 @@ |
{ | ||
"name": "uuid", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"description": "RFC4122 (v1, v4, and v5) UUIDs", | ||
@@ -33,2 +33,3 @@ "commitlint": { | ||
"README.md", | ||
"deprecate.js", | ||
"dist", | ||
@@ -42,25 +43,28 @@ "v1.js", | ||
"@babel/cli": "7.8.4", | ||
"@babel/core": "7.8.4", | ||
"@babel/preset-env": "7.8.4", | ||
"@babel/core": "7.8.7", | ||
"@babel/preset-env": "7.8.7", | ||
"@commitlint/cli": "8.3.5", | ||
"@commitlint/config-conventional": "8.3.4", | ||
"@rollup/plugin-node-resolve": "7.1.1", | ||
"babel-eslint": "10.0.3", | ||
"@wdio/browserstack-service": "5.18.7", | ||
"@wdio/cli": "5.18.7", | ||
"@wdio/jasmine-framework": "5.18.6", | ||
"@wdio/local-runner": "5.18.7", | ||
"@wdio/spec-reporter": "5.18.7", | ||
"@wdio/static-server-service": "5.16.10", | ||
"@wdio/sync": "5.18.7", | ||
"babel-eslint": "10.1.0", | ||
"babel-plugin-add-module-exports": "1.0.2", | ||
"browserstack-local": "1.4.5", | ||
"bundlewatch": "0.2.5", | ||
"bundlewatch": "0.2.6", | ||
"eslint": "6.8.0", | ||
"eslint-config-prettier": "6.10.0", | ||
"eslint-plugin-prettier": "3.1.2", | ||
"esm": "3.2.25", | ||
"http-server": "0.12.1", | ||
"husky": "3.0.9", | ||
"jest": "25.1.0", | ||
"lint-staged": "10.0.7", | ||
"lint-staged": "10.0.8", | ||
"npm-run-all": "4.1.5", | ||
"prettier": "1.19.1", | ||
"rollup": "1.31.1", | ||
"rollup": "1.32.0", | ||
"rollup-plugin-terser": "5.2.0", | ||
"runmd": "1.3.2", | ||
"selenium-webdriver": "3.6.0", | ||
"standard-version": "7.1.0" | ||
@@ -78,7 +82,7 @@ }, | ||
"pretest:browser": "npm run build && npm-run-all --parallel examples:**", | ||
"test:browser": "BABEL_ENV=commonjs jest --forceExit --verbose test/browser/${BROWSER:-}*", | ||
"test:browser": "wdio run ./wdio.conf.js", | ||
"prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'", | ||
"prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'", | ||
"ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff && npm run bundlewatch", | ||
"bundlewatch": "( node --version | grep -vq 'v12' ) || ( npm run pretest:browser && CI_REPO_OWNER=uuidjs CI_REPO_NAME=uuid CI_COMMIT_SHA=$GITHUB_SHA CI_BRANCH=${GITHUB_REF##refs/heads/} bundlewatch --config bundlewatch.config.json )", | ||
"bundlewatch": "( node --version | grep -vq 'v12' ) || ( npm run pretest:browser && bundlewatch --config bundlewatch.config.json )", | ||
"md": "runmd --watch --output=README.md README_js.md", | ||
@@ -85,0 +89,0 @@ "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )", |
@@ -1,8 +0,8 @@ | ||
const util = require('util'); | ||
const deprecate = require('./deprecate.js'); | ||
const v1 = require('./dist/v1.js'); | ||
module.exports = util.deprecate( | ||
module.exports = deprecate( | ||
v1, | ||
"Deep requiring like `const uuidv1 = require('uuid/v1');` is deprecated as of uuid@7.x. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.", | ||
); |
@@ -1,8 +0,8 @@ | ||
const util = require('util'); | ||
const deprecate = require('./deprecate.js'); | ||
const v3 = require('./dist/v3.js'); | ||
module.exports = util.deprecate( | ||
module.exports = deprecate( | ||
v3, | ||
"Deep requiring like `const uuidv3 = require('uuid/v3');` is deprecated as of uuid@7.x. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.", | ||
); |
@@ -1,8 +0,8 @@ | ||
const util = require('util'); | ||
const deprecate = require('./deprecate.js'); | ||
const v4 = require('./dist/v4.js'); | ||
module.exports = util.deprecate( | ||
module.exports = deprecate( | ||
v4, | ||
"Deep requiring like `const uuidv4 = require('uuid/v4');` is deprecated as of uuid@7.x. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.", | ||
); |
@@ -1,8 +0,8 @@ | ||
const util = require('util'); | ||
const deprecate = require('./deprecate.js'); | ||
const v5 = require('./dist/v5.js'); | ||
module.exports = util.deprecate( | ||
module.exports = deprecate( | ||
v5, | ||
"Deep requiring like `const uuidv5 = require('uuid/v5');` is deprecated as of uuid@7.x. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.", | ||
); |
92933
50
1249
28