Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

code-info

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-info - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

dist-cjs/bin/main.js

@@ -5,2 +5,3 @@ "use strict";

};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -10,4 +11,5 @@ const argv_js_1 = __importDefault(require("./argv.js"));

const getFiles_js_1 = __importDefault(require("../scripts/getFiles.js"));
const cwd = process.cwd();
const filesList = (0, getFiles_js_1.default)(cwd, {
const path_1 = __importDefault(require("path"));
const targetDir = path_1.default.resolve((_a = argv_js_1.default._[0]) !== null && _a !== void 0 ? _a : '');
const filesList = (0, getFiles_js_1.default)(targetDir, {
exclude: argv_js_1.default['--exclude'],

@@ -14,0 +16,0 @@ include: argv_js_1.default['--include'],

@@ -0,6 +1,8 @@

var _a;
import argv from './argv.js';
import getFileInfo from '../scripts/getFileInfo.js';
import getFiles from '../scripts/getFiles.js';
const cwd = process.cwd();
const filesList = getFiles(cwd, {
import path from 'path';
const targetDir = path.resolve((_a = argv._[0]) !== null && _a !== void 0 ? _a : '');
const filesList = getFiles(targetDir, {
exclude: argv['--exclude'],

@@ -7,0 +9,0 @@ include: argv['--include'],

{
"name": "code-info",
"version": "1.0.0",
"version": "1.0.1",
"description": "code-info",

@@ -5,0 +5,0 @@ "preferGlobal": true,

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