New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@kokkoro/cli

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kokkoro/cli - npm Package Compare versions

Comparing version
2.0.2
to
2.0.3
+17
template/decorator/package.json
{
"name": "decorator",
"version": "1.0.0",
"description": "",
"engines": {
"node": ">=20.6.0"
},
"type": "module",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
{
"name": "hook",
"version": "1.0.0",
"description": "",
"engines": {
"node": ">=20.6.0"
},
"type": "module",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
{
"name": "javascript",
"version": "1.0.0",
"description": "",
"engines": {
"node": ">=20.6.0"
},
"type": "module",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
+1
-2

@@ -43,3 +43,2 @@ import ora from 'ora';

const module_path = join(plugins_path, name);
const module_main = style === 'javascript' ? 'index.js' : 'lib/index.js';
if (existsSync(module_path)) {

@@ -54,3 +53,3 @@ console.warn(`${ERROR}: plugin directory already exists.\n`);

});
const command = `cd ./plugins/${name} && npm init -y && npm pkg set type="module" && npm pkg set main="${module_main}"`;
const command = `cd ./plugins/${name} && npm pkg set name="${name}"`;
const spinner = ora(`Initialize ${name} package.json`).start();

@@ -57,0 +56,0 @@ try {

{
"name": "@kokkoro/cli",
"version": "2.0.2",
"version": "2.0.3",
"description": "Cli tool for kokkoro.",

@@ -39,3 +39,3 @@ "engines": {

"@kokkoro/core": "^3.0.10",
"@kokkoro/utils": "^0.8.0"
"@kokkoro/utils": "^0.8.2"
},

@@ -42,0 +42,0 @@ "scripts": {