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

@nodescript/cli

Package Overview
Dependencies
Maintainers
2
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodescript/cli - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

1

out/main/managers/workdir.d.ts
export interface ModuleDescriptor {
file: string;
sourceUrl: string;
channel: string;
}

@@ -5,0 +6,0 @@ export declare class WorkdirManager {

4

out/main/managers/workdir.js

@@ -16,3 +16,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

for (const group of this.config.options.modules) {
const { pattern, sourceUrl } = group;
const { pattern, sourceUrl, channel } = group;
const files = await glob(pattern, {

@@ -22,3 +22,3 @@ cwd: this.rootDir,

for (const file of files) {
yield { file, sourceUrl };
yield { file, sourceUrl, channel };
}

@@ -25,0 +25,0 @@ }

@@ -6,2 +6,3 @@ import { Schema } from 'airtight';

sourceUrl: string;
channel: string;
}

@@ -8,0 +9,0 @@ export declare const CliModuleGroupSchema: Schema<CliModuleGroup>;

@@ -8,2 +8,6 @@ import { Schema } from 'airtight';

sourceUrl: { type: 'string' },
channel: {
type: 'string',
default: 'universe',
},
}

@@ -10,0 +14,0 @@ });

@@ -25,3 +25,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

async publishModule(existingModules, mod) {
const { file, sourceUrl } = mod;
const { file, sourceUrl, channel } = mod;
try {

@@ -43,2 +43,3 @@ const res = await this.builder.buildModuleFile(file);

computeCode,
channel,
});

@@ -45,0 +46,0 @@ console.info(' ', chalk.yellow(file));

{
"name": "@nodescript/cli",
"version": "1.2.1",
"version": "1.3.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "NodeScript CLI",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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