Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parse-err

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-err - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

3

lib/index.js

@@ -30,3 +30,2 @@ "use strict";

module.exports = parseErr;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJpc0Vycm9yIiwicmVxdWlyZSIsImlzQXJyYXkiLCJpc0VtcHR5IiwicGljayIsImlzRnVuY3Rpb24iLCJwYXJzZUVyciIsImVyciIsImZpZWxkcyIsIkVycm9yIiwia2V5cyIsIk9iamVjdCIsImdldE93blByb3BlcnR5TmFtZXMiLCJnZXRQcm90b3R5cGVPZiIsImNvbmNhdCIsImZvckVhY2giLCJrZXkiLCJuYW1lIiwiY29uc3RydWN0b3IiLCJtb2R1bGUiLCJleHBvcnRzIl0sIm1hcHBpbmdzIjoiOztBQUFBO0FBQ0E7QUFDQSxJQUFNQSxVQUFVQyxRQUFRLGdCQUFSLENBQWhCOztBQUNBLElBQU1DLFVBQVVELFFBQVEsZ0JBQVIsQ0FBaEI7O0FBQ0EsSUFBTUUsVUFBVUYsUUFBUSxnQkFBUixDQUFoQjs7QUFDQSxJQUFNRyxPQUFPSCxRQUFRLGFBQVIsQ0FBYjs7QUFDQSxJQUFNSSxhQUFhSixRQUFRLG1CQUFSLENBQW5CLEMsQ0FFQTtBQUNBO0FBQ0E7OztBQUNBLElBQU1LLFdBQVcsU0FBWEEsUUFBVyxDQUFDQyxHQUFELEVBQXNCO0FBQUEsTUFBaEJDLE1BQWdCLHVFQUFQLEVBQU87QUFDckMsTUFBSSxDQUFDUixRQUFRTyxHQUFSLENBQUwsRUFBbUIsTUFBTSxJQUFJRSxLQUFKLENBQVUsd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SAmJiBlcnIuY29uc3RydWN0b3IubmFtZSkga2V5cy5uYW1lID0gZXJyLmNvbnN0cnVjdG9yLm5hbWU7XG5cbiAgcmV0dXJuIGlzQXJyYXkoZmllbGRzKSAmJiAhaXNFbXB0eShmaWVsZHMpID8gcGljayhrZXlzLCBmaWVsZHMpIDoga2V5cztcbn07XG5cbm1vZHVsZS5leHBvcnRzID0gcGFyc2VFcnI7XG4iXX0=
module.exports = parseErr;
{
"name": "parse-err",
"description": "Parse errors in the Browser and Node. Made for Cabin.",
"version": "0.0.2",
"version": "0.0.3",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",

@@ -14,3 +14,3 @@ "bugs": {

"dependencies": {
"lodash": "^4.17.10"
"lodash": "^4.17.11"
},

@@ -22,24 +22,24 @@ "ava": {

"devDependencies": {
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"ava": "^0.22.0",
"babelify": "^9.0.0",
"browserify": "^16.2.2",
"caniuse-lite": "^1.0.30000858",
"codecov": "^2.3.0",
"cross-env": "^5.0.5",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-compat": "^2.4.0",
"eslint-plugin-prettier": "^2.6.1",
"husky": "^0.14.3",
"lint-staged": "^4.0.4",
"nyc": "^11.1.0",
"prettier": "^1.6.1",
"remark-cli": "^4.0.0",
"remark-preset-github": "^0.0.6",
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"ava": "^0.25.0",
"babelify": "^10.0.0",
"browserify": "^16.2.3",
"caniuse-lite": "^1.0.30000888",
"codecov": "^3.1.0",
"cross-env": "^5.2.0",
"eslint": "^5.6.1",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-compat": "^2.5.1",
"eslint-plugin-prettier": "^2.7.0",
"husky": "^1.0.1",
"lint-staged": "^7.3.0",
"nyc": "^13.0.1",
"prettier": "^1.14.3",
"remark-cli": "^5.0.0",
"remark-preset-github": "^0.0.8",
"rimraf": "^2.6.2",
"tinyify": "^2.4.3",
"xo": "^0.21.1"
"xo": "^0.23.0"
},

@@ -87,2 +87,3 @@ "engines": {

"unpkg": "dist/parse-err.min.js",
"jsdelivr": "dist/parse-err.min.js",
"files": [

@@ -89,0 +90,0 @@ "lib",

@@ -71,3 +71,7 @@ # parse-err

```sh
{ name: 'BeepBoop',
message: 'Oops!',
stack: 'BeepBoop: Oops!\n at Object.<anonymous> (/Users/user/Projects/parse-err/test.js:3:13)\n at Module._compile (module.js:652:30)\n at Object.Module._extensions..js (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Function.Module.runMain (module.js:693:10)\n at startup (bootstrap_node.js:188:16)\n at bootstrap_node.js:609:3',
code: 100,
statusCode: 200 }
```

@@ -74,0 +78,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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