You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

create-qwik

Package Overview
Dependencies
Maintainers
4
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-qwik - npm Package Compare versions

Comparing version

to
1.5.5-dev20240528185628

2

package.json
{
"name": "create-qwik",
"description": "Interactive CLI for create Qwik projects and adding features.",
"version": "1.5.4",
"version": "1.5.5-dev20240528185628",
"author": "Builder.io Team",

@@ -6,0 +6,0 @@ "bin": "./create-qwik.cjs",

@@ -19,4 +19,4 @@ {

"devDependencies": {
"@builder.io/qwik": "^1.5.4",
"@builder.io/qwik-city": "^1.5.4",
"@builder.io/qwik": "1.5.5-dev20240528185628",
"@builder.io/qwik-city": "1.5.5-dev20240528185628",
"@types/eslint": "^8.56.10",

@@ -27,3 +27,3 @@ "@types/node": "^20.12.7",

"eslint": "^8.57.0",
"eslint-plugin-qwik": "^1.5.4",
"eslint-plugin-qwik": "1.5.5-dev20240528185628",
"prettier": "^3.2.5",

@@ -30,0 +30,0 @@ "typescript": "5.4.5",

@@ -75,2 +75,3 @@ /**

) {
let msg = "";
// Create an array 'duplicateDeps' by filtering devDependencies.

@@ -82,5 +83,18 @@ // If a dependency also exists in dependencies, it is considered a duplicate.

// include any known qwik packages
const qwikPkg = Object.keys(dependencies).filter((value) =>
/qwik/i.test(value),
);
// any errors for missing "qwik-city-plan"
// [PLUGIN_ERROR]: Invalid module "@qwik-city-plan" is not a valid package
msg = `Move qwik packages ${qwikPkg.join(", ")} to devDependencies`;
if (qwikPkg.length > 0) {
throw new Error(msg);
}
// Format the error message with the duplicates list.
// The `join` function is used to represent the elements of the 'duplicateDeps' array as a comma-separated string.
const msg = `
msg = `
Warning: The dependency "${duplicateDeps.join(", ")}" is listed in both "devDependencies" and "dependencies".

@@ -87,0 +101,0 @@ Please move the duplicated dependencies to "devDependencies" only and remove it from "dependencies"

@@ -36,3 +36,3 @@ {

"devDependencies": {
"@builder.io/qwik": "1.5.4",
"@builder.io/qwik": "1.5.5",
"@types/eslint": "^8.56.10",

@@ -39,0 +39,0 @@ "@types/node": "^20.12.7",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet