🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@embroider/try

Package Overview
Dependencies
Maintainers
9
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@embroider/try - npm Package Compare versions

Comparing version
0.0.3
to
0.0.4
+13
-2
cli.js

@@ -1,3 +0,3 @@

import { resolve } from "node:path";
import { readFileSync, writeFileSync } from "node:fs";
import { resolve, dirname } from "node:path";
import { readFileSync, writeFileSync, mkdirSync } from "node:fs";

@@ -71,2 +71,13 @@ async function main() {

}
if (scenario.files) {
for (let [filename, content] of Object.entries(scenario.files)) {
const fullName = resolve(process.cwd(), filename);
mkdirSync(dirname(fullName), {
recursive: true,
});
writeFileSync(fullName, content);
}
}
writeFileSync(pkgJSONPath, JSON.stringify(pkg, null, 2));

@@ -73,0 +84,0 @@ process.stdout.write(`Applied scenario ${scenario.name}\n`);

+6
-5
{
"name": "@embroider/try",
"version": "0.0.3",
"version": "0.0.4",
"description": "Helper for trying multiple compatibility scenarios in CI",
"bin": "cli.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "Edward Faulkner <edward@eaf4.com>",
"license": "MIT",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}
"packageManager": "pnpm@10.4.1"
}