Comparing version 2.2.1 to 2.3.0
@@ -18,2 +18,3 @@ #!/usr/bin/env node | ||
o: 'output', | ||
v: 'version', | ||
h: 'help' | ||
@@ -24,3 +25,7 @@ } | ||
var input = '' | ||
if (argv.version) { | ||
const version = require('./package.json').version | ||
process.stdout.write('v' + version) | ||
process.exit(0) | ||
} | ||
if (argv.help) return help() | ||
@@ -27,0 +32,0 @@ if (!argv._.length && process.stdin.isTTY) return help() |
{ | ||
"name": "glslify", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "A node.js-style module system for GLSL!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,2 +12,3 @@ | ||
-o, --output Specify an output file to write your shader to. | ||
-v, --version Output version number | ||
-h, --help Display this message. | ||
@@ -14,0 +15,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
21910
214
1