Socket
Socket
Sign inDemoInstall

syntax-error

Package Overview
Dependencies
1
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.4 to 1.1.5

test/shebang.js

7

index.js
var aparse = require('acorn').parse;
function parse (src) { return aparse(src, { ecmaVersion: 6 }) }
function parse (src) {
return aparse(src, {
ecmaVersion: 6,
allowHashBang: true
});
}

@@ -4,0 +9,0 @@ module.exports = function (src, file) {

4

package.json
{
"name": "syntax-error",
"version": "1.1.4",
"version": "1.1.5",
"description": "detect and report syntax errors in source code strings",
"main": "index.js",
"dependencies": {
"acorn": "^1.0.3"
"acorn": "^2.7.0"
},

@@ -9,0 +9,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc