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

@yesness/dbcodegen-tools

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yesness/dbcodegen-tools - npm Package Compare versions

Comparing version
1.0.2
to
1.0.3
+7
-0
build/cli.js

@@ -10,2 +10,3 @@ #! /usr/bin/env node

const fs_extra_1 = __importDefault(require("fs-extra"));
const fs_1 = __importDefault(require("fs"));
const EXAMPLE_DIR = path_1.default.resolve(__dirname, '../example');

@@ -29,2 +30,8 @@ class Main {

await fs_extra_1.default.copy(EXAMPLE_DIR, outDir);
const npmIgnore = path_1.default.join(outDir, '.npmignore');
if (fs_1.default.existsSync(npmIgnore)) {
fs_1.default.renameSync(npmIgnore, path_1.default.join(outDir, '.gitignore'));
}
const packageJson = path_1.default.join(outDir, 'package.json');
fs_1.default.writeFileSync(packageJson, fs_1.default.readFileSync(packageJson, 'utf-8').replace('file:..', '^1.0.0'));
}

@@ -31,0 +38,0 @@ }

+1
-1
{
"name": "@yesness/dbcodegen-tools",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "bin": {