New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-write-constants

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-write-constants - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

15

bin/cli.js
#!/usr/bin/env node
'use strict';
const fs = require('fs');
const minimist = require('minimist');
const writeConstants = require('../');
const writeConstants = require('../');

@@ -18,2 +19,12 @@ const argv = minimist(process.argv.slice(2));

process.stdout.write(writeConstants.constantList(argv._, argv.module));
const files = argv._.filter(file => {
try {
fs.accessSync(file, fs.R_OK);
return true;
} catch (e) {
console.warn('File is not accessible:', file);
return false;
}
});
process.stdout.write(writeConstants.constantList(files, argv.module));

2

package.json
{
"name": "angular-write-constants",
"version": "1.0.1",
"version": "1.0.2",
"description": "Create a JS config for angular using constants",

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc