forged-cli 0.3.7 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ export const POPULAR_PACKAGES = [
|
|
|
5
5
|
'dotenv', 'cors', 'body-parser', 'mongoose', 'sequelize', 'prisma',
|
|
6
6
|
'next', 'nuxt', 'vite', 'rollup', 'esbuild', 'turbo', 'nx',
|
|
7
7
|
'inquirer', 'commander', 'yargs', 'minimist', 'ora', 'boxen', 'figlet',
|
|
8
|
-
'uuid', 'nanoid', 'crypto', 'bcrypt', 'jsonwebtoken', 'passport',
|
|
8
|
+
'uuid', 'nanoid', 'crypto', 'bcrypt', 'bcryptjs', 'jsonwebtoken', 'passport',
|
|
9
9
|
'socket.io', 'ws', 'fastify', 'koa', 'hapi', 'restify',
|
|
10
10
|
'sharp', 'jimp', 'multer', 'formidable', 'busboy',
|
|
11
11
|
'redis', 'ioredis', 'pg', 'mysql2', 'sqlite3', 'knex',
|
|
@@ -78,8 +78,11 @@ export async function verifyTarballIntegrity(cwd, onProgress) {
|
|
|
78
78
|
|
|
79
79
|
const versionData = registryMeta.versions?.[meta.version];
|
|
80
80
|
if (!versionData) {
|
|
81
|
+
// -cjs packages are npm's own CJS compat wrappers (string-width-cjs, strip-ansi-cjs, etc.)
|
|
82
|
+
// They exist on npm but use non-standard version numbers — suppress as info
|
|
83
|
+
const type = name.endsWith('-cjs') ? 'info' : 'warning';
|
|
81
84
|
findings.push({
|
|
82
|
-
type
|
|
85
|
+
type,
|
|
83
86
|
package: name,
|
|
84
87
|
version: meta.version,
|
|
85
88
|
message: `Version ${meta.version} not found on registry`,
|