Comparing version 15.0.0 to 15.0.1
{ | ||
"name": "ohm-js", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"description": "An object-oriented language for parsing and pattern matching", | ||
@@ -34,4 +34,4 @@ "repository": "https://github.com/harc/ohm", | ||
"test-watch": "bash .bin/test-watch", | ||
"postinstall": "node ../bin/dev-setup.js", | ||
"precommit": "yarn run prepublishOnly", | ||
"postinstall": "node bin/dev-setup.js", | ||
"pre-commit": "yarn run prepublishOnly", | ||
"prepublishOnly": "yarn run lint && yarn run build && yarn run bootstrap", | ||
@@ -79,3 +79,3 @@ "unsafe-bootstrap": "bash bin/bootstrap", | ||
"devDependencies": { | ||
"@types/tape": "^4.2.29", | ||
"@types/tape": "^4.13.0", | ||
"browserify": "^13.1.1", | ||
@@ -87,11 +87,11 @@ "eslint": "~3.13.1", | ||
"eslint-plugin-tape": "~1.1.0", | ||
"husky": "^0.14.3", | ||
"husky": "^4.2.5", | ||
"jsdom": "^9.9.1", | ||
"json": "^9.0.4", | ||
"json": "^9.0.6", | ||
"markscript": "^0.5.0", | ||
"node-static": "^0.7.9", | ||
"nodemon": "^1.11.0", | ||
"node-static": "^0.7.11", | ||
"nodemon": "^2.0.4", | ||
"ohm-grammar-ecmascript": "^0.5.0", | ||
"tap-spec": "^4.1.1", | ||
"tape": "^4.6.3", | ||
"tap-spec": "^5.0.0", | ||
"tape": "^5.0.1", | ||
"tape-catch": "^1.0.6", | ||
@@ -101,3 +101,3 @@ "ts-node": "^2.1.0", | ||
"uglify-js": "^2.7.5", | ||
"walk-sync": "^0.3.1", | ||
"walk-sync": "^2.2.0", | ||
"watchify": "^3.8.0" | ||
@@ -104,0 +104,0 @@ }, |
@@ -39,6 +39,14 @@ 'use strict'; | ||
var e = new Error(); | ||
Object.defineProperty(e, 'message', {get: function() { return matchFailure.message; }}); | ||
Object.defineProperty(e, 'shortMessage', {get: function() { | ||
return 'Expected ' + matchFailure.getExpectedText(); | ||
}}); | ||
Object.defineProperty(e, 'message', { | ||
enumerable: true, | ||
get: function() { | ||
return matchFailure.message; | ||
} | ||
}); | ||
Object.defineProperty(e, 'shortMessage', { | ||
enumerable: true, | ||
get: function() { | ||
return 'Expected ' + matchFailure.getExpectedText(); | ||
} | ||
}); | ||
e.interval = matchFailure.getInterval(); | ||
@@ -45,0 +53,0 @@ return e; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
1366648
85
19025
0
21
3