|
@@ -1,43 +1,35 @@
|
|
|
{
|
|
|
- "name": "uuid",
|
|
|
- "version": "9.0.1",
|
|
|
- "description": "RFC4122 (v1, v4, and v5) UUIDs",
|
|
|
- "funding": [
|
|
|
- "https://github.com/sponsors/broofa",
|
|
|
- "https://github.com/sponsors/ctavan"
|
|
|
- ],
|
|
|
- "commitlint": {
|
|
|
- "extends": [
|
|
|
- "@commitlint/config-conventional"
|
|
|
+ "_args": [
|
|
|
+ [
|
|
|
+ "uuid@9.0.1",
|
|
|
+ "D:\\xiaoling\\CBB3"
|
|
|
]
|
|
|
+ ],
|
|
|
+ "_from": "uuid@9.0.1",
|
|
|
+ "_id": "uuid@9.0.1",
|
|
|
+ "_inBundle": false,
|
|
|
+ "_integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
|
|
|
+ "_location": "/uuid",
|
|
|
+ "_phantomChildren": {},
|
|
|
+ "_requested": {
|
|
|
+ "type": "version",
|
|
|
+ "registry": true,
|
|
|
+ "raw": "uuid@9.0.1",
|
|
|
+ "name": "uuid",
|
|
|
+ "escapedName": "uuid",
|
|
|
+ "rawSpec": "9.0.1",
|
|
|
+ "saveSpec": null,
|
|
|
+ "fetchSpec": "9.0.1"
|
|
|
},
|
|
|
- "keywords": [
|
|
|
- "uuid",
|
|
|
- "guid",
|
|
|
- "rfc4122"
|
|
|
+ "_requiredBy": [
|
|
|
+ "/"
|
|
|
],
|
|
|
- "license": "MIT",
|
|
|
+ "_resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.1.tgz",
|
|
|
+ "_spec": "9.0.1",
|
|
|
+ "_where": "D:\\xiaoling\\CBB3",
|
|
|
"bin": {
|
|
|
- "uuid": "./dist/bin/uuid"
|
|
|
+ "uuid": "dist/bin/uuid"
|
|
|
},
|
|
|
- "sideEffects": false,
|
|
|
- "main": "./dist/index.js",
|
|
|
- "exports": {
|
|
|
- ".": {
|
|
|
- "node": {
|
|
|
- "module": "./dist/esm-node/index.js",
|
|
|
- "require": "./dist/index.js",
|
|
|
- "import": "./wrapper.mjs"
|
|
|
- },
|
|
|
- "browser": {
|
|
|
- "import": "./dist/esm-browser/index.js",
|
|
|
- "require": "./dist/commonjs-browser/index.js"
|
|
|
- },
|
|
|
- "default": "./dist/esm-browser/index.js"
|
|
|
- },
|
|
|
- "./package.json": "./package.json"
|
|
|
- },
|
|
|
- "module": "./dist/esm-node/index.js",
|
|
|
"browser": {
|
|
|
"./dist/md5.js": "./dist/md5-browser.js",
|
|
|
"./dist/native.js": "./dist/native-browser.js",
|
|
@@ -45,14 +37,15 @@
|
|
|
"./dist/sha1.js": "./dist/sha1-browser.js",
|
|
|
"./dist/esm-node/index.js": "./dist/esm-browser/index.js"
|
|
|
},
|
|
|
- "files": [
|
|
|
- "CHANGELOG.md",
|
|
|
- "CONTRIBUTING.md",
|
|
|
- "LICENSE.md",
|
|
|
- "README.md",
|
|
|
- "dist",
|
|
|
- "wrapper.mjs"
|
|
|
- ],
|
|
|
+ "bugs": {
|
|
|
+ "url": "https://github.com/uuidjs/uuid/issues"
|
|
|
+ },
|
|
|
+ "commitlint": {
|
|
|
+ "extends": [
|
|
|
+ "@commitlint/config-conventional"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "description": "RFC4122 (v1, v4, and v5) UUIDs",
|
|
|
"devDependencies": {
|
|
|
"@babel/cli": "7.18.10",
|
|
|
"@babel/core": "7.18.10",
|
|
@@ -78,6 +71,51 @@
|
|
|
"runmd": "1.3.9",
|
|
|
"standard-version": "9.5.0"
|
|
|
},
|
|
|
+ "exports": {
|
|
|
+ ".": {
|
|
|
+ "node": {
|
|
|
+ "module": "./dist/esm-node/index.js",
|
|
|
+ "require": "./dist/index.js",
|
|
|
+ "import": "./wrapper.mjs"
|
|
|
+ },
|
|
|
+ "browser": {
|
|
|
+ "import": "./dist/esm-browser/index.js",
|
|
|
+ "require": "./dist/commonjs-browser/index.js"
|
|
|
+ },
|
|
|
+ "default": "./dist/esm-browser/index.js"
|
|
|
+ },
|
|
|
+ "./package.json": "./package.json"
|
|
|
+ },
|
|
|
+ "files": [
|
|
|
+ "CHANGELOG.md",
|
|
|
+ "CONTRIBUTING.md",
|
|
|
+ "LICENSE.md",
|
|
|
+ "README.md",
|
|
|
+ "dist",
|
|
|
+ "wrapper.mjs"
|
|
|
+ ],
|
|
|
+ "funding": [
|
|
|
+ "https://github.com/sponsors/broofa",
|
|
|
+ "https://github.com/sponsors/ctavan"
|
|
|
+ ],
|
|
|
+ "homepage": "https://github.com/uuidjs/uuid#readme",
|
|
|
+ "keywords": [
|
|
|
+ "uuid",
|
|
|
+ "guid",
|
|
|
+ "rfc4122"
|
|
|
+ ],
|
|
|
+ "license": "MIT",
|
|
|
+ "lint-staged": {
|
|
|
+ "*.{js,jsx,json,md}": [
|
|
|
+ "prettier --write"
|
|
|
+ ],
|
|
|
+ "*.{js,jsx}": [
|
|
|
+ "eslint --fix"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "main": "./dist/index.js",
|
|
|
+ "module": "./dist/esm-node/index.js",
|
|
|
+ "name": "uuid",
|
|
|
"optionalDevDependencies": {
|
|
|
"@wdio/browserstack-service": "7.16.10",
|
|
|
"@wdio/cli": "7.16.10",
|
|
@@ -86,50 +124,44 @@
|
|
|
"@wdio/spec-reporter": "7.16.9",
|
|
|
"@wdio/static-server-service": "7.16.6"
|
|
|
},
|
|
|
+ "repository": {
|
|
|
+ "type": "git",
|
|
|
+ "url": "git+https://github.com/uuidjs/uuid.git"
|
|
|
+ },
|
|
|
"scripts": {
|
|
|
- "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
|
|
|
+ "build": "./scripts/build.sh",
|
|
|
+ "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
|
|
|
+ "docs": "( node --version | grep -q 'v18' ) && ( npm run build && npx runmd --output=README.md README_js.md )",
|
|
|
+ "docs:diff": "npm run docs && git diff --quiet README.md",
|
|
|
+ "eslint:check": "eslint src/ test/ examples/ *.js",
|
|
|
+ "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
|
|
|
"examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
|
|
|
+ "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
|
|
|
"examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
|
|
|
"examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
|
|
|
"examples:node:jest:test": "cd examples/node-jest && npm install && npm test",
|
|
|
- "prepare": "cd $( git rev-parse --show-toplevel ) && husky install",
|
|
|
"lint": "npm run eslint:check && npm run prettier:check",
|
|
|
- "eslint:check": "eslint src/ test/ examples/ *.js",
|
|
|
- "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
|
|
|
+ "md": "runmd --watch --output=README.md README_js.md",
|
|
|
+ "prepack": "npm run build",
|
|
|
+ "prepare": "cd $( git rev-parse --show-toplevel ) && husky install",
|
|
|
"pretest": "[ -n $CI ] || npm run build",
|
|
|
- "test": "BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/",
|
|
|
+ "pretest:benchmark": "npm run build",
|
|
|
"pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
|
|
|
- "test:browser": "wdio run ./wdio.conf.js",
|
|
|
"pretest:node": "npm run build",
|
|
|
- "test:node": "npm-run-all --parallel examples:node:**",
|
|
|
- "test:pack": "./scripts/testpack.sh",
|
|
|
- "pretest:benchmark": "npm run build",
|
|
|
- "test:benchmark": "cd examples/benchmark && npm install && npm test",
|
|
|
"prettier:check": "prettier --check '**/*.{js,jsx,json,md}'",
|
|
|
"prettier:fix": "prettier --write '**/*.{js,jsx,json,md}'",
|
|
|
- "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
|
|
|
- "md": "runmd --watch --output=README.md README_js.md",
|
|
|
- "docs": "( node --version | grep -q 'v18' ) && ( npm run build && npx runmd --output=README.md README_js.md )",
|
|
|
- "docs:diff": "npm run docs && git diff --quiet README.md",
|
|
|
- "build": "./scripts/build.sh",
|
|
|
- "prepack": "npm run build",
|
|
|
- "release": "standard-version --no-verify"
|
|
|
- },
|
|
|
- "repository": {
|
|
|
- "type": "git",
|
|
|
- "url": "https://github.com/uuidjs/uuid.git"
|
|
|
- },
|
|
|
- "lint-staged": {
|
|
|
- "*.{js,jsx,json,md}": [
|
|
|
- "prettier --write"
|
|
|
- ],
|
|
|
- "*.{js,jsx}": [
|
|
|
- "eslint --fix"
|
|
|
- ]
|
|
|
+ "release": "standard-version --no-verify",
|
|
|
+ "test": "BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/",
|
|
|
+ "test:benchmark": "cd examples/benchmark && npm install && npm test",
|
|
|
+ "test:browser": "wdio run ./wdio.conf.js",
|
|
|
+ "test:node": "npm-run-all --parallel examples:node:**",
|
|
|
+ "test:pack": "./scripts/testpack.sh"
|
|
|
},
|
|
|
+ "sideEffects": false,
|
|
|
"standard-version": {
|
|
|
"scripts": {
|
|
|
"postchangelog": "prettier --write CHANGELOG.md"
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
+ "version": "9.0.1"
|
|
|
}
|