BEACON

← candidates

npm prisma-zod-generator @2.4.0

score
0.75 high
flagged 2026-07-25 10:25
signals by category
cadence 1 topology 1

maintainers added:

package profile →

Signals fired

signalweightrationale
cadence
rapid_release 0.8 14 versions in last 24h: ['2.3.5', '2.3.6', '2.3.7', '2.3.8', '2.4.0']
topology
typosquat 1.0 combosquat of 'prisma'

Prior profile (what it deviated from)

{
  "had_install_script": true,
  "maintainers": [
    "omar-dulaimi"
  ],
  "versions": 175
}

Evidence (package doc at flag time)

{
  "dependencies_count": 14,
  "dist": {
    "integrity": "sha512-ploGYjIgVQ/NKFtH1dd0iayHzC1Rqo3HnnxIyVEm63wF7hCz/90UQgwzzatC0xa15ibiA+IYRshAsiIdEKtILQ==",
    "tarball": "https://registry.npmjs.org/prisma-zod-generator/-/prisma-zod-generator-2.4.0.tgz",
    "unpackedSize": 3490676
  },
  "dist-tags": {
    "beta": "0.8.14-beta.0",
    "latest": "2.4.0"
  },
  "latest_version": "2.4.0",
  "maintainers": [
    {
      "email": "o.m.dulaimi@gmail.com",
      "name": "omar-dulaimi"
    }
  ],
  "num_versions": 177,
  "repository": {
    "type": "git",
    "url": "git+https://github.com/omar-dulaimi/prisma-zod-generator.git"
  },
  "scripts": {
    "agent:info": "node scripts/agent-banner.js",
    "build": "tsc",
    "build:release": "./package.sh",
    "check-uncommitted": "git diff-index --quiet HEAD --",
    "ci:build": "pnpm run gen-example",
    "ci:test": "pnpm run test:comprehensive",
    "docker:down": "docker compose down",
    "docker:logs": "docker compose logs -f",
    "docker:ps": "docker compose ps",
    "docker:reset": "docker compose down -v && docker compose up -d",
    "docker:up": "docker compose up -d",
    "docs:build": "cd website && pnpm run build",
    "docs:dev": "cd website && pnpm run dev",
    "docs:serve": "cd website && pnpm run serve",
    "exec": "pnpm run gen-example && pnpm run test:features:filtering -- -t \"should handle combinations of model, operation, and field filtering\"",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "gen-example": "rm -rf src/dsrc && rm -rf src/schemas && tsc && DEBUG_PRISMA_ZOD=1 pnpm prisma generate && pnpm typecheck",
    "gen-example:debug": "tsc && DEBUG_PRISMA_ZOD=1 pnpm prisma generate",
    "lint": "eslint src/ tests/ --ignore-pattern 'tests/multi-provider/schemas/*/generated/**/*' --ignore-pattern 'src/pro/**' --fix",
    "llms:gen": "node scripts/generate-llms-txt.mjs",
    "obfuscate:pro": "node scripts/obfuscate-pro.js",
    "package:publish": "pnpm update && pnpm run check-uncommitted && ./package.sh && cd package && pnpm publish",
    "postinstall": "node scripts/postinstall.js",
    "postrelease": "echo 'Changelog is maintained on GitHub; no docs sync needed.'",
    "prepare": "husky",
    "prerelease": "pnpm run gen-example && pnpm run test:type-check && pnpm run lint",
    "release": "semantic-release",
    "release:dry": "semantic-release --dry-run",
    "release:predict": "git fetch --tags --quiet && semantic-release --dry-run --no-ci --plugins @semantic-release/commit-analyzer",
    "release:predict:notes": "git fetch --tags --quiet && semantic-release --dry-run --no-ci --plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator",
    "render:diagrams": "pnpm tsx scripts/render-mermaid.ts",
    "setup": "git submodule update --init --recursive",
    "sync:pro": "git submodule update --remote src/pro",
    "test": "pnpm test:features:parallel",
    "test:all": "VITEST_MAX_WORKERS=16 vitest --config vitest.config.mjs run --reporter=default",
    "test:all:sequential": "VITEST_MAX_WORKERS=1 vitest --config vitest.config.mjs run --reporter=default",
    "test:basic": "vitest --config vitest.config.mjs run tests/generated-schema.test.ts --reporter=default",
    "test:ci": "vitest --config vitest.config.mjs run --coverage",
    "test:clean-envs": "node scripts/clean-test-envs.js",
    "test:compatibility": "VITEST_PARALLEL=true vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'Cross-Provider Compatibility'",
    "test:comprehensive": "VITEST_PARALLEL=true pnpm run test:full:coverage",
    "test:coverage": "vitest --config vitest.config.mjs run --coverage",
    "test:coverage:all": "vitest --config vitest.config.mjs run --coverage tests/generated-schema.test.ts tests/mongodb-schema-coverage.test.ts --reporter=default",
    "test:coverage:comprehensive": "vitest --config vitest.config.mjs run --coverage tests/comprehensive-schema-coverage.test.ts --reporter=default",
    "test:coverage:fast": "vitest --config vitest.config.mjs run --coverage tests/generated-schema.test.ts --reporter=default",
    "test:coverage:mongodb": "vitest --config vitest.config.mjs run --coverage tests/mongodb-schema-coverage.test.ts --reporter=default",
    "test:docker": "pnpm docker:up && sleep 10 && pnpm test:multi",
    "test:docker:full": "pnpm docker:up && sleep 10 && pnpm test:full",
    "test:docker:mongodb": "docker compose up -d mongodb && sleep 5 && pnpm test:provider:mongodb",
    "test:docker:mysql": "docker compose up -d mysql && sleep 5 && pnpm test:provider:mysql",
    "test:docker:postgresql": "docker compose up -d postgresql && sleep 5 && pnpm test:provider:postgresql",
    "test:docker:sqlserver": "docker compose up -d sqlserver && sleep 10 && pnpm test:provider:sqlserver",
    "test:features:aggregate-groupby": "vitest --config vitest.config.mjs run tests/aggregate-groupby.test.ts --reporter=default",
    "test:features:array": "vitest --config vitest.config.mjs run tests/array-fields.test.ts --reporter=default",
    "test:features:circular-dependency-exclusion": "vitest --config vitest.config.mjs run tests/circular-dependency-exclusion.test.ts --reporter=default",
    "test:features:client": "vitest --config vitest.config.mjs run tests/prisma-client-esm-config.test.ts --reporter=default",
    "test:features:config": "vitest --config vitest.config.mjs run tests/config.test.ts --reporter=default",
    "test:features:count-output-type-select-where": "vitest --config vitest.config.mjs run tests/count-output-type-select-where.test.ts --reporter=default",
    "test:features:coverage": "vitest --config vitest.config.mjs run --coverage tests/config.test.ts tests/filtering.test.ts tests/minimal-mode.test.ts tests/field-exclusion.test.ts tests/zod-comments.test.ts tests/pure-models.test.ts tests/schema-variants.test.ts tests/result-schemas.test.ts tests/circular-dependency-exclusion.test.ts tests/issue-227-zod-annotations.test.ts tests/issue-227-single-file-imports.test.ts",
    "test:features:decimal": "vitest --config vitest.config.mjs run tests/decimal-support.test.ts --reporter=default",
    "test:features:decimal-inputs": "vitest --config vitest.config.mjs run tests/decimal-input-schemas.test.ts --reporter=default",
    "test:features:enum-array-zod-annotations": "vitest --config vitest.config.mjs run tests/enum-array-zod-annotations.test.ts --reporter=default",
    "test:features:exclusion": "vitest --config vitest.config.mjs run tests/field-exclusion.test.ts --reporter=default",
    "test:features:filtering": "vitest --config vitest.config.mjs run tests/filtering.test.ts --reporter=default",
    "test:features:json-schema": "vitest --config vitest.config.mjs run tests/json-schema-compatibility.test.ts --reporter=default",
    "test:features:minimal": "vitest --config vitest.config.mjs run tests/minimal-mode.test.ts --reporter=default",
    "test:features:naming-customization": "vitest --config vitest.config.mjs run tests/naming-customization.test.ts --reporter=default",
    "test:features:parallel": "VITEST_MAX_WORKERS=16 vitest --config vitest.config.mjs run tests/config.test.ts tests/filtering.test.ts tests/minimal-mode.test.ts tests/field-exclusion.test.ts tests/zod-comments.test.ts tests/pure-models.test.ts tests/schema-variants.test.ts tests/result-schemas.test.ts tests/circular-dependency-exclusion.test.ts tests/issue-227-zod-annotations.test.ts tests/issue-227-single-file-imports.test.ts tests/issue-233-zod-v4-string-formats.test.ts tests/issue-375-shadcn-form-compat.test.ts tests/json-schema-compatibility.test.ts tests/prisma-client-options.test.ts tests/prisma-client-esm-config.test.ts tests/array-fields.test.ts tests/enum-array-zod-annotations.test.ts tests/naming-customization.test.ts tests/strict-mode.test.ts tests/pure-models-zod-v4-recursion.test.ts tests/single-file-zod-versions.test.ts tests/decimal-support.test.ts tests/decimal-input-schemas.test.ts tests/single-file-aggregator.test.ts tests/count-output-type-select-where.test.ts tests/operation-exclusion.test.ts tests/integration.test.ts tests/issue-364-input-json-value-type.test.ts tests/issue-367-decimal-client-safe.test.ts tests/issue-368-variant-datetime-strategy.test.ts tests/issue-377-zod-v4-runtime-recursion.test.ts tests/issue-378-unused-prisma-imports.test.ts tests/issue-382-raw-suffix-model.test.ts tests/issue-387-select-relation-args.test.ts tests/safe-output-smart-cleanup.test.ts tests/issue-390-nodenext-import-extensions.test.ts tests/issue-225-meta-describe.test.ts tests/issue-370-custom-zod-import-path.test.ts tests/issue-386-typed-json-fields.test.ts tests/issue-376-result-relation-schemas.test.ts tests/issue-335-single-file-custom-imports.test.ts tests/issue-395-result-decimal-mode.test.ts tests/issue-396-global-exclusions-array.test.ts --reporter=verbose",
    "test:features:prisma-client": "vitest --config vitest.config.mjs run tests/prisma-client-options.test.ts --reporter=default",
    "test:features:prisma-client-matrix": "vitest --config vitest.config.mjs run tests/prisma-client-full-matrix.test.ts --reporter=default",
    "test:features:prisma-client-matrix:full": "FULL_PRISMA_CLIENT_MATRIX=1 vitest --config vitest.config.mjs run tests/prisma-client-full-matrix.test.ts --reporter=default",
    "test:features:pure": "vitest --config vitest.config.mjs run tests/pure-models.test.ts --reporter=default",
    "test:features:pure-models-zod-v4-recursion": "vitest --config vitest.config.mjs run tests/pure-models-zod-v4-recursion.test.ts --reporter=default",
    "test:features:results": "vitest --config vitest.config.mjs run tests/result-schemas.test.ts --reporter=default",
    "test:features:single-file-aggregator": "vitest --config vitest.config.mjs run tests/single-file-aggregator.test.ts --reporter=default",
    "test:features:single-file-zod-versions": "vitest --config vitest.config.mjs run tests/single-file-zod-versions.test.ts --reporter=default",
    "test:features:snake-case-fix": "vitest --config vitest.config.mjs run tests/snake-case-aggregate-fix.test.ts --reporter=default",
    "test:features:strict-mode": "vitest --config vitest.config.mjs run tests/strict-mode.test.ts --reporter=default",
    "test:features:variants": "vitest --config vitest.config.mjs run tests/schema-variants.test.ts --reporter=default",
    "test:features:zod": "vitest --config vitest.config.mjs run tests/zod-comments.test.ts --reporter=default",
    "test:features:zod-v4-string-formats": "vitest --config vitest.config.mjs run tests/issue-233-zod-v4-string-formats.test.ts --reporter=default",
    "test:features:zodImports": "vitest --config vitest.config.mjs run tests/zod-imports.test.ts --reporter=default",
    "test:full": "pnpm run test:basic && pnpm run test:multi && pnpm run test:features",
    "test:full:coverage": "pnpm run test:coverage:fast && pnpm run test:multi:coverage && pnpm run test:features:coverage && pnpm run test:integration:coverage",
    "test:generation:mongodb": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'should generate schemas for mongodb'",
    "test:generation:mysql": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'should generate schemas for mysql'",
    "test:generation:postgresql": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'should generate schemas for postgresql'",
    "test:generation:sqlite": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'should generate schemas for sqlite'",
    "test:generation:sqlserver": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'should generate schemas for sqlserver'",
    "test:integration": "vitest --config vitest.config.mjs run tests/integration.test.ts --reporter=default",
    "test:integration:coverage": "vitest --config vitest.config.mjs run --coverage tests/integration.test.ts --reporter=default",
    "test:legacy:multi-provider": "tsx tests/multi-provider/run-all-tests.ts",
    "test:legacy:multi-provider:generate": "tsx tests/multi-provider/run-all-tests.ts --generate-only",
    "test:legacy:multi-provider:parallel": "tsx tests/multi-provider/run-all-tests.ts --parallel",
    "test:multi": "VITEST_PARALLEL=true vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts --reporter=default",
    "test:multi:comprehensive": "VITEST_PARALLEL=true vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'Comprehensive Integration Test'",
    "test:multi:coverage": "VITEST_PARALLEL=true vitest --config vitest.config.mjs run --coverage tests/multi-provider/multi-provider.test.ts",
    "test:multi:sequential": "VITEST_PARALLEL=false vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts",
    "test:performance": "VITEST_PARALLEL=true vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'Performance Comparison'",
    "test:provider:mongodb": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'MongoDB Provider Tests'",
    "test:provider:mysql": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'MySQL Provider Tests'",
    "test:provider:postgresql": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'PostgreSQL Provider Tests'",
    "test:provider:sqlite": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'SQLite Provider Tests'",
    "test:provider:sqlserver": "vitest --config vitest.config.mjs run tests/multi-provider/multi-provider.test.ts -t 'SQL Server Provider Tests'",
    "test:type-check": "tsc --noEmit",
    "test:watch": "vitest --config vitest.config.mjs --watch",
    "tree-shake:pro": "node scripts/tree-shake.js",
    "typecheck": "tsc --noEmit",
    "validate:schemas:quick": "pnpm tsc --noEmit -p tsconfig.validate.json",
    "verify:build": "node scripts/verify-checksums.js"
  },
  "signal_details": {
    "rapid_release": "14 versions in last 24h: ['2.3.5', '2.3.6', '2.3.7', '2.3.8', '2.4.0']",
    "typosquat": "combosquat of 'prisma'"
  },
  "time": {
    "created": "2022-05-08T00:57:56.100Z",
    "modified": "2026-07-25T15:25:24.236Z"
  }
}