Socket
Socket
Sign inDemoInstall

errlop

Package Overview
Dependencies
Maintainers
2
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

errlop - npm Package Compare versions

Comparing version 2.2.0 to 3.0.0-next.1589355231.a3fec8c41b2a0c4d0d4cf18367fc4e6090cc4fef

compiled-types/index.d.ts

1

edition-browsers/index.js

@@ -1,2 +0,1 @@

'use strict'
/** Only accept codes that are numbers, otherwise discard them */

@@ -3,0 +2,0 @@ function parseCode(code) {

# History
## v3.0.0 2020 May 13
- Support node >= 0.8 but test only against node >= 10
- We are still generating the same code, using ES5 compile target, so support remains the same
- However, testing ecosystem have been upgrading to node >= 10, as such unless all testing packages also function on node >= 0.8, which is possible but highly inconvenient then tests cannot run on such versions
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v2.2.0 2020 May 4

@@ -4,0 +11,0 @@

{
"name": "errlop",
"version": "2.2.0",
"version": "3.0.0-next.1589355231.a3fec8c41b2a0c4d0d4cf18367fc4e6090cc4fef",
"description": "An extended Error class that envelops a parent error, such that the stack trace contains the causation",

@@ -9,3 +9,2 @@ "homepage": "https://github.com/bevry/errlop",

"browser",
"dom",
"error",

@@ -53,3 +52,7 @@ "export-default",

"wishlistURL": "https://bevry.me/wishlist",
"travisTLD": "com"
"travisTLD": "com",
"githubUsername": "bevry",
"githubRepository": "errlop",
"githubSlug": "bevry/errlop",
"npmPackageName": "errlop"
}

@@ -60,6 +63,6 @@ },

"maintainers": [
"Benjamin Lupton (http://balupton.com)"
"Benjamin Lupton (https://github.com/balupton)"
],
"contributors": [
"Benjamin Lupton (http://balupton.com)"
"Benjamin Lupton (https://github.com/balupton)"
],

@@ -110,3 +113,3 @@ "bugs": {

"engines": {
"node": "0.8 || 0.10 || 0.12 || 4 || 6 || 8 || 10 || 12 || 13 || 14",
"node": "10 || 12 || 13 || 14",
"browsers": false

@@ -116,3 +119,3 @@ }

],
"types": "source/index.ts",
"types": "./compiled-types/",
"type": "commonjs",

@@ -123,16 +126,16 @@ "main": "edition-es5/index.js",

"devDependencies": {
"@bevry/update-contributors": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"assert-helpers": "4.10.0",
"eslint": "^6.8.0",
"eslint-config-bevry": "^3.3.0",
"@bevry/update-contributors": "^1.5.0",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"assert-helpers": "^6.4.0",
"eslint": "^7.0.0",
"eslint-config-bevry": "^3.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"kava": "3.2.0",
"kava": "^5.0.0",
"prettier": "^2.0.5",
"projectz": "^1.19.1",
"projectz": "^2.1.0",
"surge": "^0.21.3",
"typedoc": "^0.17.6",
"typescript": "^3.8.3",
"typescript": "^3.9.2",
"valid-directory": "^1.6.0",

@@ -143,11 +146,12 @@ "valid-module": "^1.0.0"

"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-es5",
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-es5 && npm run our:compile:types",
"our:compile:edition-browsers": "tsc --module ESNext --target ES2019 --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true",
"our:compile:edition-es5": "tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && test -d edition-es5/source && ( mv edition-es5/source edition-temp && rm -Rf edition-es5 && mv edition-temp edition-es5 ) || true",
"our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./compiled-types/ --declarationMap",
"our:deploy": "echo no need for this project",
"our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz",
"our:meta:contributors": "npx @bevry/update-contributors",
"our:meta:contributors": "update-contributors",
"our:meta:docs": "npm run our:meta:docs:typedoc",
"our:meta:docs:typedoc": "rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source",
"our:meta:projectz": "npx projectz compile",
"our:meta:docs:typedoc": "rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source",
"our:meta:projectz": "projectz compile",
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",

@@ -162,8 +166,7 @@ "our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",

"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript",
"our:verify:directory": "npx valid-directory",
"our:verify:eslint": "npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
"our:verify:module": "npx valid-module",
"our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier",
"our:verify:directory": "valid-directory",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
"our:verify:module": "valid-module",
"our:verify:prettier": "prettier --write .",
"our:verify:typescript": "tsc --noEmit --project tsconfig.json",
"test": "node ./edition-es5/test.js"

@@ -182,3 +185,3 @@ },

"minimumSupportNodeVersion": "0.8",
"minimumTestNodeVersion": "0.8",
"minimumTestNodeVersion": "10",
"compiler": "typescript",

@@ -185,0 +188,0 @@ "targets": [

@@ -110,3 +110,3 @@ <!-- TITLE/ -->

<script type="module">
import pkg from '//cdn.pika.dev/errlop/^2.2.0'
import pkg from '//cdn.pika.dev/errlop/^3.0.0'
</script>

@@ -119,3 +119,3 @@ ```

<script type="module">
import pkg from '//unpkg.com/errlop@^2.2.0'
import pkg from '//unpkg.com/errlop@^3.0.0'
</script>

@@ -128,3 +128,3 @@ ```

<script type="module">
import pkg from '//dev.jspm.io/errlop@2.2.0'
import pkg from '//dev.jspm.io/errlop@3.0.0'
</script>

@@ -171,3 +171,3 @@ ```

<ul><li><a href="http://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/errlop/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/errlop">view contributions</a></li></ul>
<ul><li><a href="https://github.com/balupton">Benjamin Lupton</a> — <a href="https://github.com/bevry/errlop/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/errlop">view contributions</a></li></ul>

@@ -192,4 +192,3 @@ <h3>Sponsors</h3>

<ul><li><a href="http://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/errlop/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/errlop">view contributions</a></li>
<li><a href="http://github.com/apps/dependabot-preview">dependabot-preview[bot]</a> — <a href="https://github.com/bevry/errlop/commits?author=dependabot-preview[bot]" title="View the GitHub contributions of dependabot-preview[bot] on repository bevry/errlop">view contributions</a></li></ul>
<ul><li><a href="https://github.com/balupton">Benjamin Lupton</a> — <a href="https://github.com/bevry/errlop/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/errlop">view contributions</a></li></ul>

@@ -196,0 +195,0 @@ <a href="https://github.com/bevry/errlop/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>

@@ -1,3 +0,1 @@

'use strict'
type PotentialError = Errlop | Error | ErrorCodeHolder | string

@@ -4,0 +2,0 @@ interface ErrorCodeHolder {

@@ -10,5 +10,5 @@ {

"target": "ESNext",
"lib": ["DOM", "DOM.Iterable"]
"lib": []
},
"include": ["source"]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc