Socket
Socket
Sign inDemoInstall

just-parse

Package Overview
Dependencies
2
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

2

index.js

@@ -23,3 +23,3 @@ var acorn = require('acorn');

debug('using the loose parser');
ast = acornLoose.parse_dammit(content);
ast = acornLoose.parse_dammit(content, parserOptions);
}

@@ -26,0 +26,0 @@

{
"name": "just-parse",
"version": "1.0.3",
"version": "1.0.4",
"description": "Enough configuration, just parse the goddamn file",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -37,6 +37,11 @@ var justParse = require('../');

it('does not hang on ios includes', function() {
it.skip('does not hang on ios includes', function() {
var ast = justParse(fs.readFileSync(__dirname + '/example/ios_includes.js', 'utf8'));
assert(ast instanceof Object);
});
it('parses es6 imports', function() {
var ast = justParse('import "foo" from "bar";');
assert(ast instanceof Object);
});
});
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc