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

@omlet/cli

Package Overview
Dependencies
Maintainers
1
Versions
662
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@omlet/cli - npm Package Compare versions

Comparing version 0.0.1-alpha.5 to 0.0.1-alpha.6

2

dist/node-src/analyzer.d.ts
interface ParseOptions {
inputPatterns: string[];
ignorePatterns: string[];
workingDir: string;
}

@@ -10,3 +9,2 @@ interface AnalyzeOptions {

corePatterns: string[];
workingDir: string;
}

@@ -13,0 +11,0 @@ interface ModuleId {

4

dist/node-src/analyzer.js

@@ -39,3 +39,3 @@ "use strict";

function parse(projectRoot, options) {
const result = JSON.parse((0, binding_1.parse)(projectRoot, options.inputPatterns, options.ignorePatterns, options.workingDir));
const result = JSON.parse((0, binding_1.parse)(projectRoot, options.inputPatterns, options.ignorePatterns));
return result;

@@ -45,3 +45,3 @@ }

function analyze(projectRoot, options) {
const result = JSON.parse((0, binding_1.analyze)(projectRoot, options.inputPatterns, options.ignorePatterns, options.workingDir));
const result = JSON.parse((0, binding_1.analyze)(projectRoot, options.inputPatterns, options.ignorePatterns));
const globMatcher = createGlobMatcher(options.corePatterns);

@@ -48,0 +48,0 @@ return {

@@ -34,4 +34,3 @@ "use strict";

inputPatterns: args.input,
ignorePatterns: args.ignore,
workingDir: process.cwd()
ignorePatterns: args.ignore
});

@@ -44,3 +43,3 @@ console.log(JSON.stringify(result, null, 2));

.requiredOption("-i, --input <glob-pattern>", "List of glob patterns for input files", accumulateValues)
.option("--ignore <glob-pattern>", "List of ignore patterns for skipping input files", accumulateValues, [])
.option("--ignore <glob-pattern>", "List of ignore patterns for skipping input files", accumulateValues, ["**/node_modules/**", "**/*.d.ts"])
.option("-c, --core <glob-pattern>", "List of core patterns to identify reusable components", accumulateValues, [])

@@ -52,4 +51,3 @@ .requiredOption("-o, --output <path|->", "Specify path for resulting output file", "omlet.json")

ignorePatterns: args.ignore,
corePatterns: args.core,
workingDir: process.cwd(),
corePatterns: args.core
});

@@ -56,0 +54,0 @@ const output = JSON.stringify(result, null, 2);

{
"name": "@omlet/cli",
"version": "0.0.1-alpha.4",
"version": "0.0.1-alpha.6",
"bin": {

@@ -62,13 +62,13 @@ "omlet": "bin/omlet"

"optionalDependencies": {
"@omlet/cli-win32-x64-msvc": "0.0.1-alpha.4",
"@omlet/cli-darwin-x64": "0.0.1-alpha.4",
"@omlet/cli-linux-x64-gnu": "0.0.1-alpha.4",
"@omlet/cli-darwin-arm64": "0.0.1-alpha.4",
"@omlet/cli-linux-arm64-gnu": "0.0.1-alpha.4",
"@omlet/cli-linux-arm64-musl": "0.0.1-alpha.4",
"@omlet/cli-win32-arm64-msvc": "0.0.1-alpha.4",
"@omlet/cli-linux-arm-gnueabihf": "0.0.1-alpha.4",
"@omlet/cli-linux-x64-musl": "0.0.1-alpha.4",
"@omlet/cli-freebsd-x64": "0.0.1-alpha.4",
"@omlet/cli-win32-ia32-msvc": "0.0.1-alpha.4"
"@omlet/cli-win32-x64-msvc": "0.0.1-alpha.5",
"@omlet/cli-darwin-x64": "0.0.1-alpha.5",
"@omlet/cli-linux-x64-gnu": "0.0.1-alpha.5",
"@omlet/cli-darwin-arm64": "0.0.1-alpha.5",
"@omlet/cli-linux-arm64-gnu": "0.0.1-alpha.5",
"@omlet/cli-linux-arm64-musl": "0.0.1-alpha.5",
"@omlet/cli-win32-arm64-msvc": "0.0.1-alpha.5",
"@omlet/cli-linux-arm-gnueabihf": "0.0.1-alpha.5",
"@omlet/cli-linux-x64-musl": "0.0.1-alpha.5",
"@omlet/cli-freebsd-x64": "0.0.1-alpha.5",
"@omlet/cli-win32-ia32-msvc": "0.0.1-alpha.5"
},

@@ -75,0 +75,0 @@ "dependencies": {

{
"name": "@omlet/cli",
"version": "0.0.1-alpha.5",
"version": "0.0.1-alpha.6",
"bin": {

@@ -62,13 +62,13 @@ "omlet": "bin/omlet"

"optionalDependencies": {
"@omlet/cli-win32-x64-msvc": "0.0.1-alpha.5",
"@omlet/cli-darwin-x64": "0.0.1-alpha.5",
"@omlet/cli-linux-x64-gnu": "0.0.1-alpha.5",
"@omlet/cli-darwin-arm64": "0.0.1-alpha.5",
"@omlet/cli-linux-arm64-gnu": "0.0.1-alpha.5",
"@omlet/cli-linux-arm64-musl": "0.0.1-alpha.5",
"@omlet/cli-win32-arm64-msvc": "0.0.1-alpha.5",
"@omlet/cli-linux-arm-gnueabihf": "0.0.1-alpha.5",
"@omlet/cli-linux-x64-musl": "0.0.1-alpha.5",
"@omlet/cli-freebsd-x64": "0.0.1-alpha.5",
"@omlet/cli-win32-ia32-msvc": "0.0.1-alpha.5"
"@omlet/cli-win32-x64-msvc": "0.0.1-alpha.6",
"@omlet/cli-darwin-x64": "0.0.1-alpha.6",
"@omlet/cli-linux-x64-gnu": "0.0.1-alpha.6",
"@omlet/cli-darwin-arm64": "0.0.1-alpha.6",
"@omlet/cli-linux-arm64-gnu": "0.0.1-alpha.6",
"@omlet/cli-linux-arm64-musl": "0.0.1-alpha.6",
"@omlet/cli-win32-arm64-msvc": "0.0.1-alpha.6",
"@omlet/cli-linux-arm-gnueabihf": "0.0.1-alpha.6",
"@omlet/cli-linux-x64-musl": "0.0.1-alpha.6",
"@omlet/cli-freebsd-x64": "0.0.1-alpha.6",
"@omlet/cli-win32-ia32-msvc": "0.0.1-alpha.6"
},

@@ -75,0 +75,0 @@ "dependencies": {

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