|
@@ -1,6 +1,6 @@
|
|
|
{
|
|
{
|
|
|
"name": "@overleaf/o-error",
|
|
"name": "@overleaf/o-error",
|
|
|
- "version": "3.3.1",
|
|
|
|
|
|
|
+ "version": "3.4.0",
|
|
|
"description": "Light-weight helpers for handling JavaScript Errors in node.js and the browser. Helps with long stack traces, Error subclasses, wrapping internal errors (causes), and attaching extra data to errors for logging.",
|
|
"description": "Light-weight helpers for handling JavaScript Errors in node.js and the browser. Helps with long stack traces, Error subclasses, wrapping internal errors (causes), and attaching extra data to errors for logging.",
|
|
|
"keywords": [
|
|
"keywords": [
|
|
|
"browser",
|
|
"browser",
|
|
@@ -12,18 +12,15 @@
|
|
|
"cause",
|
|
"cause",
|
|
|
"verror"
|
|
"verror"
|
|
|
],
|
|
],
|
|
|
- "main": "dist/index.js",
|
|
|
|
|
|
|
+ "main": "index.js",
|
|
|
"files": [
|
|
"files": [
|
|
|
- "dist/index.js",
|
|
|
|
|
- "dist/index.d.ts"
|
|
|
|
|
|
|
+ "index.js",
|
|
|
|
|
+ "index.d.ts"
|
|
|
],
|
|
],
|
|
|
- "types": "dist/index.d.ts",
|
|
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
- "clean": "rm -rf dist",
|
|
|
|
|
- "build": "npm run --silent clean && npm run --silent typecheck && npm run --silent test && npm run --silent build:compile && npm run --silent declaration:build && npm run --silent update-readme",
|
|
|
|
|
- "build:compile": "babel index.js --out-dir dist",
|
|
|
|
|
- "declaration:build": "rm -f dist/index.d.ts && tsc --allowJs --declaration --emitDeclarationOnly --outDir dist --moduleResolution node --target ES6 index.js",
|
|
|
|
|
- "declaration:check": "git diff --exit-code -- dist/index.d.ts",
|
|
|
|
|
|
|
+ "build": "npm run --silent typecheck && npm run --silent test && npm run --silent declaration:build && npm run --silent update-readme",
|
|
|
|
|
+ "declaration:build": "rm -f index.d.ts && tsc --allowJs --declaration --emitDeclarationOnly --moduleResolution node --target ES6 index.js",
|
|
|
|
|
+ "declaration:check": "git diff --exit-code -- index.d.ts",
|
|
|
"lint": "../../node_modules/.bin/eslint --max-warnings 0 --format unix .",
|
|
"lint": "../../node_modules/.bin/eslint --max-warnings 0 --format unix .",
|
|
|
"lint:fix": "../../node_modules/.bin/eslint --fix .",
|
|
"lint:fix": "../../node_modules/.bin/eslint --fix .",
|
|
|
"prepublishOnly": "npm run --silent declaration:build && npm run --silent declaration:check",
|
|
"prepublishOnly": "npm run --silent declaration:build && npm run --silent declaration:check",
|
|
@@ -39,19 +36,14 @@
|
|
|
"license": "MIT",
|
|
"license": "MIT",
|
|
|
"repository": "github:overleaf/o-error",
|
|
"repository": "github:overleaf/o-error",
|
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
|
- "@babel/cli": "^7.12.10",
|
|
|
|
|
- "@babel/core": "^7.12.10",
|
|
|
|
|
- "@babel/preset-env": "^7.12.11",
|
|
|
|
|
- "@types/chai": "^4.2.12",
|
|
|
|
|
- "@types/node": "^13.13.2",
|
|
|
|
|
- "chai": "^3.3.0",
|
|
|
|
|
- "jsdoc-to-markdown": "^5.0.3",
|
|
|
|
|
|
|
+ "@types/chai": "^4.3.0",
|
|
|
|
|
+ "@types/node": "^14.18.1",
|
|
|
|
|
+ "chai": "^4.3.4",
|
|
|
|
|
+ "jsdoc-to-markdown": "^7.1.0",
|
|
|
"markdown-toc": "^1.2.0",
|
|
"markdown-toc": "^1.2.0",
|
|
|
- "mocha": "^7.1.1",
|
|
|
|
|
- "nyc": "^15.0.1",
|
|
|
|
|
- "typescript": "^3.8.3"
|
|
|
|
|
|
|
+ "mocha": "^9.1.3",
|
|
|
|
|
+ "nyc": "^15.1.0",
|
|
|
|
|
+ "typescript": "^4.5.4"
|
|
|
},
|
|
},
|
|
|
- "dependencies": {
|
|
|
|
|
- "core-js": "^3.8.3"
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ "dependencies": {}
|
|
|
}
|
|
}
|