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

@blitzjs/cli

Package Overview
Dependencies
Maintainers
4
Versions
359
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blitzjs/cli - npm Package Compare versions

Comparing version 0.44.4 to 0.45.0-canary.0

4

lib/src/commands/generate.js

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

run() {
var _a;
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {

@@ -129,2 +130,4 @@ const { args, argv, flags } = this.parse(Generate);

this.validateModelName(singularRootContext);
const { loadConfigProduction } = yield Promise.resolve().then(() => (0, tslib_1.__importStar)(require("next/dist/server/config-shared")));
const blitzConfig = loadConfigProduction(process.cwd());
const generators = generatorMap[args.type];

@@ -134,2 +137,3 @@ for (const GeneratorClass of generators) {

destinationRoot: require("path").resolve(),
templateDir: (_a = blitzConfig.codegen) === null || _a === void 0 ? void 0 : _a.templateDir,
extraArgs: argv.slice(2).filter((arg) => !arg.startsWith("-")),

@@ -136,0 +140,0 @@ modelName: singularRootContext,

10

package.json
{
"name": "@blitzjs/cli",
"description": "Blitz.js CLI",
"version": "0.44.4",
"version": "0.45.0-canary.0",
"license": "MIT",

@@ -25,5 +25,5 @@ "scripts": {

"dependencies": {
"@blitzjs/generator": "0.44.4",
"@blitzjs/installer": "0.44.4",
"@blitzjs/server": "0.44.4",
"@blitzjs/generator": "0.45.0-canary.0",
"@blitzjs/installer": "0.45.0-canary.0",
"@blitzjs/server": "0.45.0-canary.0",
"@oclif/command": "1.8.0",

@@ -92,3 +92,3 @@ "@oclif/config": "1.17.0",

},
"gitHead": "e3472171a59d285ae84f2149f96cbb71834eaeb7"
"gitHead": "91172b82d9b3d2a81c52e8ba2f4c7ed851efa90c"
}
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