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

create-redwood-rsc-app

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-redwood-rsc-app - npm Package Compare versions

Comparing version 0.6.4 to 0.7.0

dist/version.js

8

dist/config.js

@@ -5,2 +5,3 @@ import { ExitCodeError } from "./error.js";

installationDir: "",
printVersion: false,
template: "",

@@ -22,6 +23,3 @@ verbose: false

} else if (arg === "--version" || arg === "-V") {
console.log();
console.log("--version is not implemented yet");
console.log("PR welcome!");
console.log();
config.printVersion = true;
} else if (arg.startsWith("--template") || arg.startsWith("-t")) {

@@ -49,3 +47,3 @@ const templateIndex = i + 2;

}
if (positionals.length === 0) {
if (positionals.length === 0 && !config.printVersion) {
throw new ExitCodeError(1, "Error: No installation directory provided");

@@ -52,0 +50,0 @@ }

@@ -13,2 +13,3 @@ #!/usr/bin/env node

import { upgradeToLatestCanary } from "./upgradeToLatestCanary.js";
import { printVersion } from "./version.js";
import { unzip } from "./zip.js";

@@ -20,3 +21,5 @@ const startTime = Date.now();

telemetryInfo.template = config.template;
if (shouldRelaunch(config)) {
if (config.printVersion) {
printVersion();
} else if (shouldRelaunch(config)) {
relaunchOnLatest(config);

@@ -23,0 +26,0 @@ } else {

{
"name": "create-redwood-rsc-app",
"version": "0.6.4",
"version": "0.7.0",
"description": "Quickstart for a RedwoodJS React Server Components App",

@@ -5,0 +5,0 @@ "repository": {

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