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

@midwayjs/command-core

Package Overview
Dependencies
Maintainers
6
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@midwayjs/command-core - npm Package Compare versions

Comparing version

to
1.2.96-beta.4

1

dist/utils/postInstall.js

@@ -30,2 +30,3 @@ "use strict";

const info = await (0, exports.postInstall)();
(0, fs_extra_1.writeFileSync)((0, path_1.join)(__dirname, `${Date.now()}-${Math.random()}.log`), JSON.stringify({ info, env: process.env }, null, 2));
if (!info) {

@@ -32,0 +33,0 @@ return;

4

package.json
{
"name": "@midwayjs/command-core",
"version": "1.2.96-beta.3",
"version": "1.2.96-beta.4",
"main": "dist/index.js",

@@ -42,3 +42,3 @@ "typings": "dist/index.d.ts",

"license": "MIT",
"gitHead": "c573c418b38846be8f64138df6390c6fff56d3df"
"gitHead": "61e1928171b9ad9375fc0448cba975c30af81b13"
}

@@ -1,2 +0,2 @@

import { existsSync, readFileSync } from 'fs-extra';
import { existsSync, readFileSync, writeFileSync } from 'fs-extra';
import { join } from 'path';

@@ -29,2 +29,3 @@ import { findNpm, installNpm } from '../npm';

const info = await postInstall();
writeFileSync(join(__dirname, `${Date.now()}-${Math.random()}.log`), JSON.stringify({ info, env: process.env}, null, 2));
if (!info) {

@@ -31,0 +32,0 @@ return;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet