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

@chatbotkit/cli

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chatbotkit/cli - npm Package Compare versions

Comparing version
1.27.0
to
1.27.1
+12
-1
dist/cjs/loader/hooks.cjs

@@ -8,3 +8,14 @@ "use strict";

const __dirname = (0, path_1.dirname)((0, url_1.fileURLToPath)(import.meta.url));
const cliRoot = (0, path_1.join)(__dirname, '..', '..');
function findCliRoot() {
let root = (0, path_1.join)(__dirname, '..', '..');
if ((0, fs_1.existsSync)((0, path_1.join)(root, 'package.json'))) {
return root;
}
root = (0, path_1.join)(__dirname, '..', '..', '..');
if ((0, fs_1.existsSync)((0, path_1.join)(root, 'package.json'))) {
return root;
}
return (0, path_1.join)(__dirname, '..', '..');
}
const cliRoot = findCliRoot();
const cliNodeModules = (0, path_1.join)(cliRoot, 'node_modules');

@@ -11,0 +22,0 @@ function resolvePackageExport(packagePath, subpath) {

@@ -5,3 +5,14 @@ import { existsSync, readFileSync } from 'fs';

const __dirname = dirname(fileURLToPath(import.meta.url));
const cliRoot = join(__dirname, '..', '..');
function findCliRoot() {
let root = join(__dirname, '..', '..');
if (existsSync(join(root, 'package.json'))) {
return root;
}
root = join(__dirname, '..', '..', '..');
if (existsSync(join(root, 'package.json'))) {
return root;
}
return join(__dirname, '..', '..');
}
const cliRoot = findCliRoot();
const cliNodeModules = join(cliRoot, 'node_modules');

@@ -8,0 +19,0 @@ function resolvePackageExport(packagePath, subpath) {

+1
-1
{
"name": "@chatbotkit/cli",
"version": "1.27.0",
"version": "1.27.1",
"description": "ChatBotKit command line tools",

@@ -5,0 +5,0 @@ "license": "ISC",