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

create-payload-app

Package Overview
Dependencies
Maintainers
3
Versions
436
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-payload-app - npm Package Compare versions

Comparing version 3.0.1-canary.34c6cc0 to 3.0.1-canary.d608962

2

dist/lib/download-template.js

@@ -6,3 +6,3 @@ import { Readable } from 'node:stream';

export async function downloadTemplate({ debug, projectDir, template }) {
const branchOrTag = template.url.split('#')?.[1] || 'beta';
const branchOrTag = template.url.split('#')?.[1] || 'latest';
const url = `https://codeload.github.com/payloadcms/payload/tar.gz/${branchOrTag}`;

@@ -9,0 +9,0 @@ const filter = `payload-${branchOrTag.replace(/^v/, '')}/templates/${template.name}/`;

@@ -170,4 +170,4 @@ import * as p from '@clack/prompts';

'@payloadcms/payload-cloud'
].map((pkg)=>`${pkg}@beta`);
packagesToInstall.push(`@payloadcms/db-${dbType}@beta`);
].map((pkg)=>`${pkg}@latest`);
packagesToInstall.push(`@payloadcms/db-${dbType}@latest`);
// Match graphql version of @payloadcms/next

@@ -174,0 +174,0 @@ packagesToInstall.push('graphql@^16.8.1');

@@ -33,3 +33,3 @@ import execa from 'execa';

'show',
'payload@beta',
'payload',
'version'

@@ -36,0 +36,0 @@ ]);

{
"name": "create-payload-app",
"version": "3.0.1-canary.34c6cc0",
"version": "3.0.1-canary.d608962",
"homepage": "https://payloadcms.com",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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