@octokit/request-error
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@octokit/request-error", | ||
"version": "1.0.3", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"description": "Error class for Octokit request errors", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
"files": [ | ||
"dist-*/", | ||
"bin/" | ||
], | ||
"source": "dist-src/index.js", | ||
"types": "dist-types/index.d.ts", | ||
"main": "dist-node/index.js", | ||
"module": "dist-web/index.js", | ||
"unpkg": "dist-web/index.bundled.js", | ||
"pika": true, | ||
"sideEffects": false, | ||
"scripts": { | ||
"build": "pack build", | ||
"lint": "prettier --check '{src,test}/**/*' README.md package.json", | ||
"lint:fix": "prettier --write '{src,test}/**/*' README.md package.json", | ||
"pretest": "npm run -s lint", | ||
"test": "jest --coverage" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/octokit/request-error.js.git" | ||
}, | ||
"keywords": [ | ||
@@ -23,10 +25,8 @@ "octokit", | ||
], | ||
"homepage": "https://github.com/octokit/request-error.js#readme", | ||
"author": "Gregor Martynus (https://github.com/gr2m)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/octokit/request-error.js/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/octokit/request-error.js.git" | ||
}, | ||
"homepage": "https://github.com/octokit/request-error.js#readme", | ||
"dependencies": { | ||
@@ -37,9 +37,9 @@ "deprecation": "^2.0.0", | ||
"devDependencies": { | ||
"@gr2m/pika-plugin-bundle-web": "^0.3.16-patch-issue-46-6", | ||
"@pika/pack": "^0.3.7", | ||
"@pika/plugin-build-node": "^0.3.16", | ||
"@pika/plugin-build-web": "^0.3.16", | ||
"@pika/plugin-ts-standard-pkg": "^0.3.16", | ||
"@pika/plugin-build-node": "^0.4.0", | ||
"@pika/plugin-build-web": "^0.4.0", | ||
"@pika/plugin-bundle-web": "^0.4.0", | ||
"@pika/plugin-ts-standard-pkg": "^0.4.0", | ||
"@types/jest": "^24.0.12", | ||
"@types/node": "^11.13.8", | ||
"@types/node": "^12.0.2", | ||
"@types/once": "^1.4.0", | ||
@@ -53,5 +53,37 @@ "jest": "^24.7.1", | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
"jest": { | ||
"preset": "ts-jest", | ||
"coverageThreshold": { | ||
"global": { | ||
"statements": 100, | ||
"branches": 100, | ||
"functions": 100, | ||
"lines": 100 | ||
} | ||
} | ||
}, | ||
"@pika/pack": { | ||
"pipeline": [ | ||
[ | ||
"@pika/plugin-ts-standard-pkg" | ||
], | ||
[ | ||
"@pika/plugin-build-node" | ||
], | ||
[ | ||
"@pika/plugin-build-web" | ||
] | ||
] | ||
}, | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
[ | ||
"@semantic-release/npm", | ||
{ | ||
"pkgRoot": "./pkg" | ||
} | ||
], | ||
"@semantic-release/git" | ||
] | ||
} |
@@ -16,7 +16,7 @@ # http-error.js | ||
</th><td width=100%> | ||
Load <code>@octokit/request-error</code> directly from <a href="https://unpkg.com">unpkg.com</a> | ||
Load <code>@octokit/request-error</code> directly from <a href="https://cdn.pika.dev">cdn.pika.dev</a> | ||
```html | ||
<script type="module"> | ||
import { request } from "https://unpkg.com/@octokit/request-error"; | ||
import { RequestError } from "https://cdn.pika.dev/@octokit/request-error"; | ||
</script> | ||
@@ -33,4 +33,4 @@ ``` | ||
```js | ||
const { request } = require("@octokit/request-error"); | ||
// or: import { request } from "@octokit/request-error"; | ||
const { RequestError } = require("@octokit/request-error"); | ||
// or: import { RequestError } from "@octokit/request-error"; | ||
``` | ||
@@ -37,0 +37,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
15466
0
9
225
1