{ "name": "@overleaf/o-error", "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.", "keywords": [ "browser", "node", "error", "long stack trace", "stack trace", "stack", "cause", "verror" ], "main": "index.cjs", "files": [ "index.cjs" ], "scripts": { "build": "yarn run --silent test", "lint": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .", "lint:fix": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .", "test": "yarn run lint && yarn run types:check && yarn run test:unit", "test:ci": "yarn run test:unit", "test:unit": "mocha --exit test/**/*.{js,cjs}", "types:check": "tsc --noEmit" }, "author": "Overleaf (https://www.overleaf.com)", "license": "MIT", "repository": "github:overleaf/o-error", "devDependencies": { "@types/chai": "^4.3.0", "@types/node": "^24.5.2", "chai": "^4.3.6", "mocha": "^11.1.0", "mocha-junit-reporter": "^2.2.1", "mocha-multi-reporters": "^1.5.1", "typescript": "^5.0.4" } }