Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "collabs", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A tool to generate cross-language enums and interfaces.", | ||
@@ -5,0 +5,0 @@ "main": "parse.js", |
@@ -6,3 +6,3 @@ | ||
const nearley = require('nearley'); | ||
const grammar = require('./collab'); | ||
const grammar = require(`${__dirname}/collab`); | ||
@@ -24,3 +24,3 @@ if(!argv.file) { | ||
if(!fs.existsSync(`./formats/${argv.format}.js`)) { | ||
if(!fs.existsSync(`${__dirname}/formats/${argv.format}.js`)) { | ||
console.error(`Invalid --format.`); | ||
@@ -30,3 +30,3 @@ return; | ||
const format = require(`./formats/${argv.format}.js`); | ||
const format = require(`${__dirname}/formats/${argv.format}.js`); | ||
@@ -33,0 +33,0 @@ const parser = new nearley.Parser(nearley.Grammar.fromCompiled(grammar)); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
7794
4