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

codin

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codin - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

15

index.js

@@ -5,2 +5,4 @@ #!/usr/bin/env node

const { existsSync, readFileSync, writeFileSync } = require('fs');
const parseArgs = require('minimist');

@@ -19,2 +21,11 @@

if (existsSync('codin.config.json')) {
const config = JSON.parse(readFileSync('codin.config.json'));
for (const [ key, value ] of Object.entries(config)) {
if (!args[key] || Array.isArray(args[key]) && args[key].length === 0) {
args[key] = value;
}
}
}
const readTests = () => {

@@ -57,2 +68,6 @@ if (args.test) {

if (args.save) {
writeFileSync('codin.config.json', JSON.stringify(args, null, '\t'));
}
if (args.size) {

@@ -59,0 +74,0 @@ const files = Array.isArray(args.size)

2

package.json
{
"name": "codin",
"version": "0.0.5",
"version": "0.0.6",
"description": "CodinGame CLI wrapper for Node.js (probably more languages later)",

@@ -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