Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

base-create

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base-create - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

18

index.js

@@ -125,4 +125,13 @@ const path = require("path");

let packageDir = process.argv[2];
if (!packageDir) {
console.error(
chalk.red("Must provide directory as an argument.")
);
process.exit(1);
}
// Follow the `@types/scope__name` convention for replacing `/`.
let packageDir = process.argv[2].replace(/\//g, "__");
packageDir = process.argv[2].replace(/\//g, "__");

@@ -135,9 +144,2 @@ options.name = options.name || packageDir;

if (!packageDir) {
console.log(
"Must provide directory as argument: `npm init " + node + " my-app`."
);
process.exit(1);
}
if (isSubPackage) {

@@ -144,0 +146,0 @@ packageDir = `${packageDir}/packages/${dirName}`;

{
"name": "base-create",
"version": "3.0.7",
"version": "3.0.8",
"description": "Utility for npm init create-* scripts.",

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

@@ -20,3 +20,3 @@ # base-create

// optional dev deps to install
devDependencies: ["@babel/core", "@babel/plugin-transform-runtime", A],
devDependencies: ["@babel/core", "@babel/plugin-transform-runtime"],
// mostly a shallow merge into a base `package.json` from `npm init`

@@ -45,3 +45,3 @@ package: {

],
// optional list of commands
// optional list of shell commands to be run
commands: [],

@@ -48,0 +48,0 @@ // optional global config options

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc