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

postwright

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postwright - npm Package Compare versions

Comparing version

to
1.0.2-beta

2

package.json
{
"name": "postwright",
"version": "1.0.2-alpha",
"version": "1.0.2-beta",
"description": "Convert Postman Collections to Playwright scripts",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,3 +8,2 @@ const fs = require("fs").promises;

outputDir = path.join(process.cwd(), 'test'),
rootDirectory = process.cwd(),
format = "js"// Default to 'js' (JavaScript)

@@ -18,11 +17,10 @@ ) {

await fs.mkdir(outputDir, { recursive: true });
await fs.mkdir(rootDirectory, { recursive: true });
let itemCounter = 0;
await processCollection(postmanCollection, outputDir, format);
await createPackageJson(rootDirectory);
await createPackageJson(outputDir);
// Create tsconfig.json if TypeScript is chosen
if (format === "ts") {
await createTsConfig(rootDirectory);
await createTsConfig(outputDir);
}

@@ -29,0 +27,0 @@