@sureshdsk/devflow-mcp 3.0.0 → 3.0.1
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +4 -4
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/_global-error/page.js +1 -1
- package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/_not-found/page.js +2 -2
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +14 -13
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +14 -13
- package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +5 -4
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/api/projects/[id]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/route.js +2 -2
- package/.next/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/[name]/artifacts/[artifactType]/approve/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/[name]/artifacts/[artifactType]/approve/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/[name]/artifacts/[artifactType]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/[name]/artifacts/[artifactType]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/[name]/promote/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/[name]/promote/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/[name]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/[name]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/tasks/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/route.js +2 -2
- package/.next/standalone/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +15 -14
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +15 -14
- package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +5 -4
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/page/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/page.js +2 -2
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/specs/[name]/page/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/specs/[name]/page.js +2 -2
- package/.next/standalone/.next/server/app/specs/[name]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/specs/[name]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0be0eb8b._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__a9d478ee._.js → [root-of-the-server]__160c54ca._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__17ac51e3._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1bb083e9._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1dc1e944._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__22ecfa2c._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__13a93eb6._.js → [root-of-the-server]__64710c0d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__a2b7e5f2._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__cf302bda._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d85482cd._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__dfa21757._.js +3 -0
- package/.next/standalone/.next/server/chunks/_3f452afe._.js +2 -2
- package/.next/standalone/.next/server/chunks/src_db_index_ts_a71f50f0._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__023e2c69._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0a1a1435._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0c49a387._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1be1fc5f._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3a2f2efb._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4693399c._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__937c9212._.js → [root-of-the-server]__72a14301._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__8064ca06._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__8b786d48._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__8c052461._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__8d306066._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__9532fd59._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__a119dd75._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__7fb6ef14._.js → [root-of-the-server]__a57b312b._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__a80bd0ea._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__abe095b3._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__ad3bd783._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1e05fe0e._.js → [root-of-the-server]__ae9f05d6._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__c8781469._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__c8a25070._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__e8c1e595._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0ff3de19._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_01a5cd4b._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_05c6819f._.js +31 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_06c2c30a._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_09efe605._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_ef601841._.js → node_modules_0a439e3b._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_3507b41a._.js → node_modules_0e73ad6c._.js} +3 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0e7ff06d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0f73e25c._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_14cf9cea._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_19801f01._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_2235b8cf._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_23096c6d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_23db4cf7._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_24381e95._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_24ca0eb6._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_27525793._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_4cfa6360._.js → node_modules_27c20382._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/node_modules_2c901b92._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_33b818b7._.js +45 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_345d7791._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_36185c24._.js +45 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_3ac7ce09._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_41b77cc7._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_ed317ff6._.js → node_modules_42acd8db._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/node_modules_434aa5ec._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_54a9e72d._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_54f1273a._.js +26 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_58d64491._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_5e012e3d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_5ea9e4cf._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_5ecf8270._.js +26 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_611c99b5._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_d3-scale_src_e02ef77f._.js → node_modules_6629853d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/node_modules_6fe2661c._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_7fe65a84._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_860f971a._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_882f3743._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_8e047938._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_9268cdc4._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_942541c9._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_9d52c0d6._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_@tanstack_query-core_build_modern_21ece5ea._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_ae6841d2._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_ba280bb0._.js +31 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_bffdb8ec._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_c00f1821._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_c142ba86._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_d1a47cde._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_d9b454fe._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_dbe36b1d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_ddbe26b7._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_e76b8bf2._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_e945b74d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_fbd8a2ee._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_katex_dist_katex_mjs_31d456ba._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_katex_dist_katex_mjs_e1edc676._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_lodash-es_33e24dce._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-QXUST7PY_mjs_159fba97._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-S3R3BYOJ_mjs_dbeeb277._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_mermaid_core_mjs_a11916de._.js +9 -0
- package/.next/standalone/.next/server/chunks/ssr/src_66a70595._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/src_components_kanban-board_tsx_7b875e8e._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +2 -2
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +2 -2
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/AGENTS.md +13 -7
- package/.next/standalone/CONTRIBUTING.md +42 -26
- package/.next/standalone/README.md +166 -25
- package/.next/standalone/bin/devflow.js +12 -5
- package/.next/standalone/bun.lock +78 -24
- package/.next/standalone/devflow/project-config.json +4 -0
- package/.next/standalone/devflow/schemas/api-first/schema.yaml +39 -0
- package/.next/standalone/devflow/schemas/api-first/templates/api-design.md +41 -0
- package/.next/standalone/devflow/schemas/api-first/templates/db-design.md +28 -0
- package/.next/standalone/devflow/schemas/api-first/templates/final-architecture.md +31 -0
- package/.next/standalone/devflow/schemas/api-first/templates/proposal.md +22 -0
- package/.next/standalone/devflow/schemas/api-first/templates/tasks.md +16 -0
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/.approvals.json +1 -1
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/.meta.json +1 -1
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/design.md +11 -0
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/proposal.md +3 -0
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/tasks.md +34 -2
- package/.next/standalone/devflow/specs/precommit/.approvals.json +26 -0
- package/.next/standalone/devflow/specs/precommit/.meta.json +7 -0
- package/.next/standalone/devflow/specs/precommit/design.md +105 -0
- package/.next/standalone/devflow/specs/precommit/proposal.md +43 -0
- package/.next/standalone/devflow/specs/precommit/specs.md +89 -0
- package/.next/standalone/devflow/specs/precommit/tasks.md +283 -0
- package/.next/standalone/docs/custom-schemas.md +117 -0
- package/.next/standalone/docs/local-dev-guide.md +73 -0
- package/.next/standalone/drizzle.config.ts +7 -7
- package/.next/standalone/eslint.config.mjs +2 -2
- package/.next/standalone/instrumentation.ts +3 -5
- package/.next/standalone/next.config.ts +11 -2
- package/.next/standalone/node_modules/{sharp → libsql}/node_modules/detect-libc/package.json +4 -8
- package/.next/standalone/package-lock.json +5257 -2085
- package/.next/standalone/package.json +16 -7
- package/.next/standalone/postcss.config.mjs +1 -1
- package/.next/standalone/scripts/init-db.js +3 -5
- package/.next/standalone/scripts/init-db.test.js +6 -6
- package/.next/standalone/scripts/init-schema.js +22 -22
- package/.next/standalone/scripts/init-schema.test.js +45 -45
- package/.next/standalone/scripts/install-environments.js +27 -8
- package/.next/standalone/scripts/install-environments.test.js +19 -10
- package/.next/standalone/scripts/install-skills.js +104 -31
- package/.next/standalone/scripts/install-skills.test.js +6 -6
- package/.next/standalone/server.js +1 -1
- package/.next/standalone/src/app/api/agents/route.ts +2 -2
- package/.next/standalone/src/app/api/projects/[id]/route.ts +10 -19
- package/.next/standalone/src/app/api/projects/route.ts +4 -10
- package/.next/standalone/src/app/api/specs/[name]/artifacts/[artifactType]/approve/route.ts +8 -8
- package/.next/standalone/src/app/api/specs/[name]/artifacts/[artifactType]/route.ts +14 -14
- package/.next/standalone/src/app/api/specs/[name]/promote/route.ts +17 -23
- package/.next/standalone/src/app/api/specs/[name]/route.ts +34 -36
- package/.next/standalone/src/app/api/specs/route.ts +10 -10
- package/.next/standalone/src/app/api/tasks/[id]/route.ts +11 -33
- package/.next/standalone/src/app/api/tasks/route.ts +3 -6
- package/.next/standalone/src/app/globals.css +3 -3
- package/.next/standalone/src/app/layout.tsx +9 -5
- package/.next/standalone/src/app/page.tsx +1 -1
- package/.next/standalone/src/app/specs/[name]/page.tsx +26 -68
- package/.next/standalone/src/components/kanban-board.tsx +78 -157
- package/.next/standalone/src/components/kanban-column.tsx +10 -12
- package/.next/standalone/src/components/markdown-preview.tsx +36 -19
- package/.next/standalone/src/components/providers.tsx +20 -0
- package/.next/standalone/src/components/specs/artifact-dag-status.tsx +12 -14
- package/.next/standalone/src/components/specs/artifact-editor.tsx +55 -26
- package/.next/standalone/src/components/specs/spec-detail.tsx +48 -40
- package/.next/standalone/src/components/specs/spec-kanban-column.tsx +49 -68
- package/.next/standalone/src/components/specs/spec-modal.tsx +119 -83
- package/.next/standalone/src/components/task-card.tsx +34 -38
- package/.next/standalone/src/components/task-dialog.tsx +16 -31
- package/.next/standalone/src/components/ui/badge.tsx +12 -18
- package/.next/standalone/src/components/ui/button.tsx +23 -28
- package/.next/standalone/src/components/ui/card.tsx +42 -62
- package/.next/standalone/src/components/ui/dialog.tsx +17 -35
- package/.next/standalone/src/db/index.ts +10 -10
- package/.next/standalone/src/db/schema.ts +37 -37
- package/.next/standalone/src/hooks/use-queries.ts +81 -0
- package/.next/standalone/src/hooks/use-websocket.ts +74 -0
- package/.next/standalone/src/lib/schema.test.ts +37 -37
- package/.next/standalone/src/lib/schema.ts +77 -31
- package/.next/standalone/src/lib/specs-dir.ts +8 -8
- package/.next/standalone/src/lib/specs.ts +98 -92
- package/.next/standalone/src/lib/utils.ts +2 -2
- package/.next/standalone/src/mcp/server.ts +556 -349
- package/.next/standalone/src/mcp/websocket.ts +26 -23
- package/.next/standalone/src/schemas/backend-api/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/backend-api/templates/tasks.md +6 -0
- package/.next/standalone/src/schemas/data-engineering/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/data-engineering/templates/tasks.md +6 -0
- package/.next/standalone/src/schemas/devops-platform/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/devops-platform/templates/tasks.md +6 -0
- package/.next/standalone/src/schemas/frontend-product/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/frontend-product/templates/tasks.md +6 -0
- package/.next/standalone/src/schemas/spec-driven/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/spec-driven/templates/tasks.md +26 -0
- package/.next/standalone/src/websocket/server.ts +20 -18
- package/.next/standalone/tsconfig.json +3 -12
- package/.next/standalone/tsconfig.tsbuildinfo +1 -1
- package/.next/static/chunks/4f23f64d46848f57.js +1 -0
- package/.next/static/chunks/53081dcdcad4f31e.js +1 -0
- package/.next/static/chunks/{6a3d582315f1c214.js → 701cfcbb41e0ab47.js} +1 -1
- package/.next/static/chunks/ac4b6b4d5b7e486e.css +1 -0
- package/.next/static/chunks/d0309ea872db5d9f.js +1 -0
- package/.next/static/chunks/d4cf8893a018e965.js +1 -0
- package/.next/static/chunks/e6c0233269a4bd69.js +13 -0
- package/.next/static/chunks/{7e65cfa9841f66a5.js → e7d83ce855afe416.js} +2 -2
- package/.next/static/chunks/ee7035560fc9e5e9.js +1 -0
- package/.next/static/chunks/{turbopack-f4d3806ab575051d.js → turbopack-8b3b66a22a5e0fb4.js} +2 -2
- package/README.md +166 -25
- package/bin/devflow.js +12 -5
- package/drizzle.config.ts +7 -7
- package/next.config.ts +11 -2
- package/package.json +16 -7
- package/scripts/init-db.js +3 -5
- package/scripts/init-db.test.js +6 -6
- package/scripts/init-schema.js +22 -22
- package/scripts/init-schema.test.js +45 -45
- package/scripts/install-environments.js +27 -8
- package/scripts/install-environments.test.js +19 -10
- package/scripts/install-skills.js +104 -31
- package/scripts/install-skills.test.js +6 -6
- package/src/app/api/agents/route.ts +2 -2
- package/src/app/api/projects/[id]/route.ts +10 -19
- package/src/app/api/projects/route.ts +4 -10
- package/src/app/api/specs/[name]/artifacts/[artifactType]/approve/route.ts +8 -8
- package/src/app/api/specs/[name]/artifacts/[artifactType]/route.ts +14 -14
- package/src/app/api/specs/[name]/promote/route.ts +17 -23
- package/src/app/api/specs/[name]/route.ts +34 -36
- package/src/app/api/specs/route.ts +10 -10
- package/src/app/api/tasks/[id]/route.ts +11 -33
- package/src/app/api/tasks/route.ts +3 -6
- package/src/app/globals.css +3 -3
- package/src/app/layout.tsx +9 -5
- package/src/app/page.tsx +1 -1
- package/src/app/specs/[name]/page.tsx +26 -68
- package/src/components/kanban-board.tsx +78 -157
- package/src/components/kanban-column.tsx +10 -12
- package/src/components/markdown-preview.tsx +36 -19
- package/src/components/providers.tsx +20 -0
- package/src/components/specs/artifact-dag-status.tsx +12 -14
- package/src/components/specs/artifact-editor.tsx +55 -26
- package/src/components/specs/spec-detail.tsx +48 -40
- package/src/components/specs/spec-kanban-column.tsx +49 -68
- package/src/components/specs/spec-modal.tsx +119 -83
- package/src/components/task-card.tsx +34 -38
- package/src/components/task-dialog.tsx +16 -31
- package/src/components/ui/badge.tsx +12 -18
- package/src/components/ui/button.tsx +23 -28
- package/src/components/ui/card.tsx +42 -62
- package/src/components/ui/dialog.tsx +17 -35
- package/src/db/index.ts +10 -10
- package/src/db/schema.ts +37 -37
- package/src/hooks/use-queries.ts +81 -0
- package/src/hooks/use-websocket.ts +74 -0
- package/src/lib/schema.test.ts +37 -37
- package/src/lib/schema.ts +77 -31
- package/src/lib/specs-dir.ts +8 -8
- package/src/lib/specs.ts +98 -92
- package/src/lib/utils.ts +2 -2
- package/src/mcp/server.ts +556 -349
- package/src/mcp/websocket.ts +26 -23
- package/src/schemas/backend-api/templates/proposal.md +6 -4
- package/src/schemas/backend-api/templates/tasks.md +6 -0
- package/src/schemas/data-engineering/templates/proposal.md +6 -4
- package/src/schemas/data-engineering/templates/tasks.md +6 -0
- package/src/schemas/devops-platform/templates/proposal.md +6 -4
- package/src/schemas/devops-platform/templates/tasks.md +6 -0
- package/src/schemas/frontend-product/templates/proposal.md +6 -4
- package/src/schemas/frontend-product/templates/tasks.md +6 -0
- package/src/schemas/spec-driven/templates/proposal.md +6 -4
- package/src/schemas/spec-driven/templates/tasks.md +26 -0
- package/src/types/bun-sqlite.d.ts +1 -1
- package/src/websocket/server.ts +20 -18
- package/tsconfig.json +3 -12
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1be4e4b6._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__492a4a24._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__67c59ae1._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6cc7aecd._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__83a77b07._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__88d91cb5._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__a9e095e8._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__b367d327._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__eb413bbc._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0b8c072a._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__12b2191f._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__15316462._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__19c9c409._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__19e5e22f._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__25b5ccb3._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__2f78c3da._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3160b3f4._.js +0 -9
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__319559be._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__34f7cbcb._.js +0 -31
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3abab94b._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3b3d8930._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4250799b._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4c29cbc3._.js +0 -26
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4e0bb6eb._.js +0 -9
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__5678d2e3._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__673445e0._.js +0 -31
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__934de06b._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__9b6c6f09._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__a1b83a98._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__b00a15c5._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__b8567be3._.js +0 -26
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__ce64536e._.js +0 -45
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__e96d33d2._.js +0 -45
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__fd7ec054._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_16a3f9e7._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules_45bce0e1._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_5e5a372d._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules_6ece6f1e._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_d173e749._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_d3-shape_src_arc_fb1ac087.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_1f73a830._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_663ac803._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-FMBD7UC4_mjs_4f485529._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-TZMSLE5B_mjs_8436a62a._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_f78d2dc4._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/src_app_layout_tsx_cc8184fa._.js +0 -3
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/.approvals.json +0 -26
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/.meta.json +0 -8
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/design.md +0 -126
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/proposal.md +0 -65
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/specs.md +0 -107
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/tasks.md +0 -235
- package/.next/standalone/devflow/specs/test-no-project/.approvals.json +0 -17
- package/.next/standalone/devflow/specs/test-no-project/.meta.json +0 -6
- package/.next/standalone/devflow/specs/ui-cleanup/.approvals.json +0 -29
- package/.next/standalone/devflow/specs/ui-cleanup/.meta.json +0 -6
- package/.next/standalone/devflow/specs/ui-cleanup/design.md +0 -49
- package/.next/standalone/devflow/specs/ui-cleanup/proposal.md +0 -34
- package/.next/standalone/devflow/specs/ui-cleanup/specs.md +0 -55
- package/.next/standalone/devflow/specs/ui-cleanup/tasks.md +0 -28
- package/.next/standalone/node_modules/@img/colour/color.cjs +0 -1594
- package/.next/standalone/node_modules/@img/colour/index.cjs +0 -1
- package/.next/standalone/node_modules/@img/colour/package.json +0 -45
- package/.next/standalone/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
- package/.next/standalone/node_modules/@img/sharp-darwin-arm64/package.json +0 -40
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/README.md +0 -46
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +0 -220
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js +0 -1
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib +0 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/package.json +0 -36
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +0 -30
- package/.next/standalone/node_modules/buffer-from/index.js +0 -72
- package/.next/standalone/node_modules/buffer-from/package.json +0 -19
- package/.next/standalone/node_modules/sharp/lib/channel.js +0 -177
- package/.next/standalone/node_modules/sharp/lib/colour.js +0 -195
- package/.next/standalone/node_modules/sharp/lib/composite.js +0 -212
- package/.next/standalone/node_modules/sharp/lib/constructor.js +0 -499
- package/.next/standalone/node_modules/sharp/lib/index.js +0 -16
- package/.next/standalone/node_modules/sharp/lib/input.js +0 -809
- package/.next/standalone/node_modules/sharp/lib/is.js +0 -143
- package/.next/standalone/node_modules/sharp/lib/libvips.js +0 -207
- package/.next/standalone/node_modules/sharp/lib/operation.js +0 -1016
- package/.next/standalone/node_modules/sharp/lib/output.js +0 -1666
- package/.next/standalone/node_modules/sharp/lib/resize.js +0 -595
- package/.next/standalone/node_modules/sharp/lib/sharp.js +0 -121
- package/.next/standalone/node_modules/sharp/lib/utility.js +0 -291
- package/.next/standalone/node_modules/sharp/node_modules/detect-libc/lib/detect-libc.js +0 -313
- package/.next/standalone/node_modules/sharp/node_modules/detect-libc/lib/elf.js +0 -39
- package/.next/standalone/node_modules/sharp/node_modules/detect-libc/lib/filesystem.js +0 -51
- package/.next/standalone/node_modules/sharp/node_modules/detect-libc/lib/process.js +0 -24
- package/.next/standalone/node_modules/sharp/node_modules/semver/classes/comparator.js +0 -143
- package/.next/standalone/node_modules/sharp/node_modules/semver/classes/range.js +0 -557
- package/.next/standalone/node_modules/sharp/node_modules/semver/classes/semver.js +0 -333
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/cmp.js +0 -54
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/coerce.js +0 -62
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/compare.js +0 -7
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/eq.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/gt.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/gte.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/lt.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/lte.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/neq.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/parse.js +0 -18
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/satisfies.js +0 -12
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/constants.js +0 -37
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/debug.js +0 -11
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/identifiers.js +0 -29
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/lrucache.js +0 -42
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/parse-options.js +0 -17
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/re.js +0 -223
- package/.next/standalone/node_modules/sharp/node_modules/semver/package.json +0 -78
- package/.next/standalone/node_modules/sharp/package.json +0 -202
- package/.next/standalone/node_modules/source-map/lib/array-set.js +0 -121
- package/.next/standalone/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/.next/standalone/node_modules/source-map/lib/base64.js +0 -67
- package/.next/standalone/node_modules/source-map/lib/binary-search.js +0 -111
- package/.next/standalone/node_modules/source-map/lib/mapping-list.js +0 -79
- package/.next/standalone/node_modules/source-map/lib/quick-sort.js +0 -114
- package/.next/standalone/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/.next/standalone/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/.next/standalone/node_modules/source-map/lib/source-node.js +0 -413
- package/.next/standalone/node_modules/source-map/lib/util.js +0 -488
- package/.next/standalone/node_modules/source-map/package.json +0 -73
- package/.next/standalone/node_modules/source-map/source-map.js +0 -8
- package/.next/standalone/node_modules/source-map-support/LICENSE.md +0 -21
- package/.next/standalone/node_modules/source-map-support/README.md +0 -284
- package/.next/standalone/node_modules/source-map-support/browser-source-map-support.js +0 -114
- package/.next/standalone/node_modules/source-map-support/package.json +0 -31
- package/.next/standalone/node_modules/source-map-support/register-hook-require.js +0 -1
- package/.next/standalone/node_modules/source-map-support/register.js +0 -1
- package/.next/standalone/node_modules/source-map-support/source-map-support.js +0 -625
- package/.next/standalone/node_modules/typescript/lib/_tsc.js +0 -133818
- package/.next/standalone/node_modules/typescript/lib/_tsserver.js +0 -659
- package/.next/standalone/node_modules/typescript/lib/_typingsInstaller.js +0 -222
- package/.next/standalone/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/tsc.js +0 -8
- package/.next/standalone/node_modules/typescript/lib/tsserver.js +0 -8
- package/.next/standalone/node_modules/typescript/lib/tsserverlibrary.js +0 -21
- package/.next/standalone/node_modules/typescript/lib/typesMap.json +0 -497
- package/.next/standalone/node_modules/typescript/lib/typescript.js +0 -200276
- package/.next/standalone/node_modules/typescript/lib/typingsInstaller.js +0 -8
- package/.next/standalone/node_modules/typescript/lib/watchGuard.js +0 -53
- package/.next/standalone/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/package.json +0 -120
- package/.next/standalone/src/components/ui/collapsible.tsx +0 -12
- package/.next/standalone/src/components/ui/sheet.tsx +0 -130
- package/.next/standalone/src/components/ui/tabs.tsx +0 -58
- package/.next/static/chunks/0177331b8adf7346.js +0 -7
- package/.next/static/chunks/06af74e2f3e207c5.js +0 -7
- package/.next/static/chunks/1748d5cd2443723b.css +0 -1
- package/.next/static/chunks/7ae917cb100be2b9.js +0 -7
- package/.next/static/chunks/7c4b901b394c3a8c.js +0 -7
- package/src/components/ui/collapsible.tsx +0 -12
- package/src/components/ui/sheet.tsx +0 -130
- package/src/components/ui/tabs.tsx +0 -58
- /package/.next/standalone/node_modules/{detect-libc → libsql/node_modules/detect-libc}/lib/detect-libc.js +0 -0
- /package/.next/standalone/node_modules/{detect-libc → libsql/node_modules/detect-libc}/lib/filesystem.js +0 -0
- /package/.next/standalone/node_modules/{detect-libc → libsql/node_modules/detect-libc}/lib/process.js +0 -0
- /package/.next/static/{5YFrdIQd1UU2IxLxekrU9 → Ql6qo0GYLL23WRu6ec4N5}/_buildManifest.js +0 -0
- /package/.next/static/{5YFrdIQd1UU2IxLxekrU9 → Ql6qo0GYLL23WRu6ec4N5}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{5YFrdIQd1UU2IxLxekrU9 → Ql6qo0GYLL23WRu6ec4N5}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./color.cjs").default;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@img/colour",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "The ESM-only 'color' package made compatible for use with CommonJS runtimes",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"main": "index.cjs",
|
|
7
|
-
"authors": [
|
|
8
|
-
"Heather Arthur <fayearthur@gmail.com>",
|
|
9
|
-
"Josh Junon <josh@junon.me>",
|
|
10
|
-
"Maxime Thirouin",
|
|
11
|
-
"Dyma Ywanov <dfcreative@gmail.com>",
|
|
12
|
-
"LitoMore (https://github.com/LitoMore)"
|
|
13
|
-
],
|
|
14
|
-
"engines": {
|
|
15
|
-
"node": ">=18"
|
|
16
|
-
},
|
|
17
|
-
"files": [
|
|
18
|
-
"color.cjs"
|
|
19
|
-
],
|
|
20
|
-
"publishConfig": {
|
|
21
|
-
"access": "public"
|
|
22
|
-
},
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/lovell/colour.git"
|
|
26
|
-
},
|
|
27
|
-
"type": "commonjs",
|
|
28
|
-
"keywords": [
|
|
29
|
-
"color",
|
|
30
|
-
"colour",
|
|
31
|
-
"cjs",
|
|
32
|
-
"commonjs"
|
|
33
|
-
],
|
|
34
|
-
"scripts": {
|
|
35
|
-
"build": "esbuild node_modules/color/index.js --bundle --platform=node --outfile=color.cjs",
|
|
36
|
-
"test": "node --test"
|
|
37
|
-
},
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"color": "5.0.0",
|
|
40
|
-
"color-convert": "3.1.0",
|
|
41
|
-
"color-name": "2.0.0",
|
|
42
|
-
"color-string": "2.1.0",
|
|
43
|
-
"esbuild": "^0.25.9"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
Binary file
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@img/sharp-darwin-arm64",
|
|
3
|
-
"version": "0.34.5",
|
|
4
|
-
"description": "Prebuilt sharp for use with macOS 64-bit ARM",
|
|
5
|
-
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
|
-
"homepage": "https://sharp.pixelplumbing.com",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/lovell/sharp.git",
|
|
10
|
-
"directory": "npm/darwin-arm64"
|
|
11
|
-
},
|
|
12
|
-
"license": "Apache-2.0",
|
|
13
|
-
"funding": {
|
|
14
|
-
"url": "https://opencollective.com/libvips"
|
|
15
|
-
},
|
|
16
|
-
"preferUnplugged": true,
|
|
17
|
-
"optionalDependencies": {
|
|
18
|
-
"@img/sharp-libvips-darwin-arm64": "1.2.4"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"lib"
|
|
22
|
-
],
|
|
23
|
-
"publishConfig": {
|
|
24
|
-
"access": "public"
|
|
25
|
-
},
|
|
26
|
-
"type": "commonjs",
|
|
27
|
-
"exports": {
|
|
28
|
-
"./sharp.node": "./lib/sharp-darwin-arm64.node",
|
|
29
|
-
"./package": "./package.json"
|
|
30
|
-
},
|
|
31
|
-
"engines": {
|
|
32
|
-
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
33
|
-
},
|
|
34
|
-
"os": [
|
|
35
|
-
"darwin"
|
|
36
|
-
],
|
|
37
|
-
"cpu": [
|
|
38
|
-
"arm64"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# `@img/sharp-libvips-darwin-arm64`
|
|
2
|
-
|
|
3
|
-
Prebuilt libvips and dependencies for use with sharp on macOS 64-bit ARM.
|
|
4
|
-
|
|
5
|
-
## Licensing
|
|
6
|
-
|
|
7
|
-
This software contains third-party libraries
|
|
8
|
-
used under the terms of the following licences:
|
|
9
|
-
|
|
10
|
-
| Library | Used under the terms of |
|
|
11
|
-
|---------------|-----------------------------------------------------------------------------------------------------------|
|
|
12
|
-
| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |
|
|
13
|
-
| cairo | Mozilla Public License 2.0 |
|
|
14
|
-
| cgif | MIT Licence |
|
|
15
|
-
| expat | MIT Licence |
|
|
16
|
-
| fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |
|
|
17
|
-
| freetype | [freetype Licence](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |
|
|
18
|
-
| fribidi | LGPLv3 |
|
|
19
|
-
| glib | LGPLv3 |
|
|
20
|
-
| harfbuzz | MIT Licence |
|
|
21
|
-
| highway | Apache-2.0 License, BSD 3-Clause |
|
|
22
|
-
| lcms | MIT Licence |
|
|
23
|
-
| libarchive | BSD 2-Clause |
|
|
24
|
-
| libexif | LGPLv3 |
|
|
25
|
-
| libffi | MIT Licence |
|
|
26
|
-
| libheif | LGPLv3 |
|
|
27
|
-
| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |
|
|
28
|
-
| libnsgif | MIT Licence |
|
|
29
|
-
| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |
|
|
30
|
-
| librsvg | LGPLv3 |
|
|
31
|
-
| libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) |
|
|
32
|
-
| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |
|
|
33
|
-
| libvips | LGPLv3 |
|
|
34
|
-
| libwebp | New BSD License |
|
|
35
|
-
| libxml2 | MIT Licence |
|
|
36
|
-
| mozjpeg | [zlib License, IJG License, BSD-3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |
|
|
37
|
-
| pango | LGPLv3 |
|
|
38
|
-
| pixman | MIT Licence |
|
|
39
|
-
| proxy-libintl | LGPLv3 |
|
|
40
|
-
| zlib-ng | [zlib Licence](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |
|
|
41
|
-
|
|
42
|
-
Use of libraries under the terms of the LGPLv3 is via the
|
|
43
|
-
"any later version" clause of the LGPLv2 or LGPLv2.1.
|
|
44
|
-
|
|
45
|
-
Please report any errors or omissions via
|
|
46
|
-
https://github.com/lovell/sharp-libvips/issues/new
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
/* glibconfig.h
|
|
2
|
-
*
|
|
3
|
-
* This is a generated file. Please modify 'glibconfig.h.in'
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
#ifndef __GLIBCONFIG_H__
|
|
7
|
-
#define __GLIBCONFIG_H__
|
|
8
|
-
|
|
9
|
-
#include <glib/gmacros.h>
|
|
10
|
-
|
|
11
|
-
#include <limits.h>
|
|
12
|
-
#include <float.h>
|
|
13
|
-
#define GLIB_HAVE_ALLOCA_H
|
|
14
|
-
|
|
15
|
-
#define GLIB_STATIC_COMPILATION 1
|
|
16
|
-
#define GOBJECT_STATIC_COMPILATION 1
|
|
17
|
-
#define GIO_STATIC_COMPILATION 1
|
|
18
|
-
#define GMODULE_STATIC_COMPILATION 1
|
|
19
|
-
#define GI_STATIC_COMPILATION 1
|
|
20
|
-
#define G_INTL_STATIC_COMPILATION 1
|
|
21
|
-
#define FFI_STATIC_BUILD 1
|
|
22
|
-
|
|
23
|
-
/* Specifies that GLib's g_print*() functions wrap the
|
|
24
|
-
* system printf functions. This is useful to know, for example,
|
|
25
|
-
* when using glibc's register_printf_function().
|
|
26
|
-
*/
|
|
27
|
-
#define GLIB_USING_SYSTEM_PRINTF
|
|
28
|
-
|
|
29
|
-
G_BEGIN_DECLS
|
|
30
|
-
|
|
31
|
-
#define G_MINFLOAT FLT_MIN
|
|
32
|
-
#define G_MAXFLOAT FLT_MAX
|
|
33
|
-
#define G_MINDOUBLE DBL_MIN
|
|
34
|
-
#define G_MAXDOUBLE DBL_MAX
|
|
35
|
-
#define G_MINSHORT SHRT_MIN
|
|
36
|
-
#define G_MAXSHORT SHRT_MAX
|
|
37
|
-
#define G_MAXUSHORT USHRT_MAX
|
|
38
|
-
#define G_MININT INT_MIN
|
|
39
|
-
#define G_MAXINT INT_MAX
|
|
40
|
-
#define G_MAXUINT UINT_MAX
|
|
41
|
-
#define G_MINLONG LONG_MIN
|
|
42
|
-
#define G_MAXLONG LONG_MAX
|
|
43
|
-
#define G_MAXULONG ULONG_MAX
|
|
44
|
-
|
|
45
|
-
typedef signed char gint8;
|
|
46
|
-
typedef unsigned char guint8;
|
|
47
|
-
|
|
48
|
-
typedef signed short gint16;
|
|
49
|
-
typedef unsigned short guint16;
|
|
50
|
-
|
|
51
|
-
#define G_GINT16_MODIFIER "h"
|
|
52
|
-
#define G_GINT16_FORMAT "hi"
|
|
53
|
-
#define G_GUINT16_FORMAT "hu"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
typedef signed int gint32;
|
|
57
|
-
typedef unsigned int guint32;
|
|
58
|
-
|
|
59
|
-
#define G_GINT32_MODIFIER ""
|
|
60
|
-
#define G_GINT32_FORMAT "i"
|
|
61
|
-
#define G_GUINT32_FORMAT "u"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
#define G_HAVE_GINT64 1 /* deprecated, always true */
|
|
65
|
-
|
|
66
|
-
G_GNUC_EXTENSION typedef signed long long gint64;
|
|
67
|
-
G_GNUC_EXTENSION typedef unsigned long long guint64;
|
|
68
|
-
|
|
69
|
-
#define G_GINT64_CONSTANT(val) (G_GNUC_EXTENSION (val##LL))
|
|
70
|
-
#define G_GUINT64_CONSTANT(val) (G_GNUC_EXTENSION (val##ULL))
|
|
71
|
-
|
|
72
|
-
#define G_GINT64_MODIFIER "ll"
|
|
73
|
-
#define G_GINT64_FORMAT "lli"
|
|
74
|
-
#define G_GUINT64_FORMAT "llu"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
#define GLIB_SIZEOF_VOID_P 8
|
|
78
|
-
#define GLIB_SIZEOF_LONG 8
|
|
79
|
-
#define GLIB_SIZEOF_SIZE_T 8
|
|
80
|
-
#define GLIB_SIZEOF_SSIZE_T 8
|
|
81
|
-
|
|
82
|
-
typedef signed long gssize;
|
|
83
|
-
typedef unsigned long gsize;
|
|
84
|
-
#define G_GSIZE_MODIFIER "l"
|
|
85
|
-
#define G_GSSIZE_MODIFIER "l"
|
|
86
|
-
#define G_GSIZE_FORMAT "lu"
|
|
87
|
-
#define G_GSSIZE_FORMAT "li"
|
|
88
|
-
|
|
89
|
-
#define G_MAXSIZE G_MAXULONG
|
|
90
|
-
#define G_MINSSIZE G_MINLONG
|
|
91
|
-
#define G_MAXSSIZE G_MAXLONG
|
|
92
|
-
|
|
93
|
-
typedef gint64 goffset;
|
|
94
|
-
#define G_MINOFFSET G_MININT64
|
|
95
|
-
#define G_MAXOFFSET G_MAXINT64
|
|
96
|
-
|
|
97
|
-
#define G_GOFFSET_MODIFIER G_GINT64_MODIFIER
|
|
98
|
-
#define G_GOFFSET_FORMAT G_GINT64_FORMAT
|
|
99
|
-
#define G_GOFFSET_CONSTANT(val) G_GINT64_CONSTANT(val)
|
|
100
|
-
|
|
101
|
-
#define G_POLLFD_FORMAT "%d"
|
|
102
|
-
|
|
103
|
-
#define GPOINTER_TO_INT(p) ((gint) (glong) (p))
|
|
104
|
-
#define GPOINTER_TO_UINT(p) ((guint) (gulong) (p))
|
|
105
|
-
|
|
106
|
-
#define GINT_TO_POINTER(i) ((gpointer) (glong) (i))
|
|
107
|
-
#define GUINT_TO_POINTER(u) ((gpointer) (gulong) (u))
|
|
108
|
-
|
|
109
|
-
typedef signed long gintptr;
|
|
110
|
-
typedef unsigned long guintptr;
|
|
111
|
-
|
|
112
|
-
#define G_GINTPTR_MODIFIER "l"
|
|
113
|
-
#define G_GINTPTR_FORMAT "li"
|
|
114
|
-
#define G_GUINTPTR_FORMAT "lu"
|
|
115
|
-
|
|
116
|
-
#define GLIB_MAJOR_VERSION 2
|
|
117
|
-
#define GLIB_MINOR_VERSION 86
|
|
118
|
-
#define GLIB_MICRO_VERSION 1
|
|
119
|
-
|
|
120
|
-
#define G_OS_UNIX
|
|
121
|
-
|
|
122
|
-
#define G_VA_COPY va_copy
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
#define G_HAVE_ISO_VARARGS 1
|
|
126
|
-
|
|
127
|
-
/* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
|
|
128
|
-
* is passed ISO vararg support is turned off, and there is no work
|
|
129
|
-
* around to turn it on, so we unconditionally turn it off.
|
|
130
|
-
*/
|
|
131
|
-
#if __GNUC__ == 2 && __GNUC_MINOR__ == 95
|
|
132
|
-
# undef G_HAVE_ISO_VARARGS
|
|
133
|
-
#endif
|
|
134
|
-
|
|
135
|
-
#define G_HAVE_GROWING_STACK 0
|
|
136
|
-
|
|
137
|
-
#ifndef _MSC_VER
|
|
138
|
-
# define G_HAVE_GNUC_VARARGS 1
|
|
139
|
-
#endif
|
|
140
|
-
|
|
141
|
-
#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
|
|
142
|
-
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
|
143
|
-
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
|
|
144
|
-
#define G_GNUC_INTERNAL __hidden
|
|
145
|
-
#elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY)
|
|
146
|
-
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
|
147
|
-
#else
|
|
148
|
-
#define G_GNUC_INTERNAL
|
|
149
|
-
#endif
|
|
150
|
-
|
|
151
|
-
#define G_THREADS_ENABLED
|
|
152
|
-
#define G_THREADS_IMPL_POSIX
|
|
153
|
-
|
|
154
|
-
#define G_ATOMIC_LOCK_FREE
|
|
155
|
-
|
|
156
|
-
#define GINT16_TO_LE(val) ((gint16) (val))
|
|
157
|
-
#define GUINT16_TO_LE(val) ((guint16) (val))
|
|
158
|
-
#define GINT16_TO_BE(val) ((gint16) GUINT16_SWAP_LE_BE (val))
|
|
159
|
-
#define GUINT16_TO_BE(val) (GUINT16_SWAP_LE_BE (val))
|
|
160
|
-
|
|
161
|
-
#define GINT32_TO_LE(val) ((gint32) (val))
|
|
162
|
-
#define GUINT32_TO_LE(val) ((guint32) (val))
|
|
163
|
-
#define GINT32_TO_BE(val) ((gint32) GUINT32_SWAP_LE_BE (val))
|
|
164
|
-
#define GUINT32_TO_BE(val) (GUINT32_SWAP_LE_BE (val))
|
|
165
|
-
|
|
166
|
-
#define GINT64_TO_LE(val) ((gint64) (val))
|
|
167
|
-
#define GUINT64_TO_LE(val) ((guint64) (val))
|
|
168
|
-
#define GINT64_TO_BE(val) ((gint64) GUINT64_SWAP_LE_BE (val))
|
|
169
|
-
#define GUINT64_TO_BE(val) (GUINT64_SWAP_LE_BE (val))
|
|
170
|
-
|
|
171
|
-
#define GLONG_TO_LE(val) ((glong) GINT64_TO_LE (val))
|
|
172
|
-
#define GULONG_TO_LE(val) ((gulong) GUINT64_TO_LE (val))
|
|
173
|
-
#define GLONG_TO_BE(val) ((glong) GINT64_TO_BE (val))
|
|
174
|
-
#define GULONG_TO_BE(val) ((gulong) GUINT64_TO_BE (val))
|
|
175
|
-
#define GINT_TO_LE(val) ((gint) GINT32_TO_LE (val))
|
|
176
|
-
#define GUINT_TO_LE(val) ((guint) GUINT32_TO_LE (val))
|
|
177
|
-
#define GINT_TO_BE(val) ((gint) GINT32_TO_BE (val))
|
|
178
|
-
#define GUINT_TO_BE(val) ((guint) GUINT32_TO_BE (val))
|
|
179
|
-
#define GSIZE_TO_LE(val) ((gsize) GUINT64_TO_LE (val))
|
|
180
|
-
#define GSSIZE_TO_LE(val) ((gssize) GINT64_TO_LE (val))
|
|
181
|
-
#define GSIZE_TO_BE(val) ((gsize) GUINT64_TO_BE (val))
|
|
182
|
-
#define GSSIZE_TO_BE(val) ((gssize) GINT64_TO_BE (val))
|
|
183
|
-
#define G_BYTE_ORDER G_LITTLE_ENDIAN
|
|
184
|
-
|
|
185
|
-
#define GLIB_SYSDEF_POLLIN =1
|
|
186
|
-
#define GLIB_SYSDEF_POLLOUT =4
|
|
187
|
-
#define GLIB_SYSDEF_POLLPRI =2
|
|
188
|
-
#define GLIB_SYSDEF_POLLHUP =16
|
|
189
|
-
#define GLIB_SYSDEF_POLLERR =8
|
|
190
|
-
#define GLIB_SYSDEF_POLLNVAL =32
|
|
191
|
-
|
|
192
|
-
/* No way to disable deprecation warnings for macros, so only emit deprecation
|
|
193
|
-
* warnings on platforms where usage of this macro is broken */
|
|
194
|
-
#if defined(__APPLE__) || defined(_MSC_VER) || defined(__CYGWIN__)
|
|
195
|
-
#define G_MODULE_SUFFIX "so" GLIB_DEPRECATED_MACRO_IN_2_76
|
|
196
|
-
#else
|
|
197
|
-
#define G_MODULE_SUFFIX "so"
|
|
198
|
-
#endif
|
|
199
|
-
|
|
200
|
-
typedef int GPid;
|
|
201
|
-
#define G_PID_FORMAT "i"
|
|
202
|
-
|
|
203
|
-
#define GLIB_SYSDEF_AF_UNIX 1
|
|
204
|
-
#define GLIB_SYSDEF_AF_INET 2
|
|
205
|
-
#define GLIB_SYSDEF_AF_INET6 30
|
|
206
|
-
|
|
207
|
-
#define GLIB_SYSDEF_MSG_OOB 1
|
|
208
|
-
#define GLIB_SYSDEF_MSG_PEEK 2
|
|
209
|
-
#define GLIB_SYSDEF_MSG_DONTROUTE 4
|
|
210
|
-
|
|
211
|
-
#define G_DIR_SEPARATOR '/'
|
|
212
|
-
#define G_DIR_SEPARATOR_S "/"
|
|
213
|
-
#define G_SEARCHPATH_SEPARATOR ':'
|
|
214
|
-
#define G_SEARCHPATH_SEPARATOR_S ":"
|
|
215
|
-
|
|
216
|
-
#undef G_HAVE_FREE_SIZED
|
|
217
|
-
|
|
218
|
-
G_END_DECLS
|
|
219
|
-
|
|
220
|
-
#endif /* __GLIBCONFIG_H__ */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = __dirname;
|
package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib
DELETED
|
Binary file
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@img/sharp-libvips-darwin-arm64",
|
|
3
|
-
"version": "1.2.4",
|
|
4
|
-
"description": "Prebuilt libvips and dependencies for use with sharp on macOS 64-bit ARM",
|
|
5
|
-
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
|
-
"homepage": "https://sharp.pixelplumbing.com",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/lovell/sharp-libvips.git",
|
|
10
|
-
"directory": "npm/darwin-arm64"
|
|
11
|
-
},
|
|
12
|
-
"license": "LGPL-3.0-or-later",
|
|
13
|
-
"funding": {
|
|
14
|
-
"url": "https://opencollective.com/libvips"
|
|
15
|
-
},
|
|
16
|
-
"preferUnplugged": true,
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"access": "public"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"lib",
|
|
22
|
-
"versions.json"
|
|
23
|
-
],
|
|
24
|
-
"type": "commonjs",
|
|
25
|
-
"exports": {
|
|
26
|
-
"./lib": "./lib/index.js",
|
|
27
|
-
"./package": "./package.json",
|
|
28
|
-
"./versions": "./versions.json"
|
|
29
|
-
},
|
|
30
|
-
"os": [
|
|
31
|
-
"darwin"
|
|
32
|
-
],
|
|
33
|
-
"cpu": [
|
|
34
|
-
"arm64"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"aom": "3.13.1",
|
|
3
|
-
"archive": "3.8.2",
|
|
4
|
-
"cairo": "1.18.4",
|
|
5
|
-
"cgif": "0.5.0",
|
|
6
|
-
"exif": "0.6.25",
|
|
7
|
-
"expat": "2.7.3",
|
|
8
|
-
"ffi": "3.5.2",
|
|
9
|
-
"fontconfig": "2.17.1",
|
|
10
|
-
"freetype": "2.14.1",
|
|
11
|
-
"fribidi": "1.0.16",
|
|
12
|
-
"glib": "2.86.1",
|
|
13
|
-
"harfbuzz": "12.1.0",
|
|
14
|
-
"heif": "1.20.2",
|
|
15
|
-
"highway": "1.3.0",
|
|
16
|
-
"imagequant": "2.4.1",
|
|
17
|
-
"lcms": "2.17",
|
|
18
|
-
"mozjpeg": "0826579",
|
|
19
|
-
"pango": "1.57.0",
|
|
20
|
-
"pixman": "0.46.4",
|
|
21
|
-
"png": "1.6.50",
|
|
22
|
-
"proxy-libintl": "0.5",
|
|
23
|
-
"rsvg": "2.61.2",
|
|
24
|
-
"spng": "0.7.4",
|
|
25
|
-
"tiff": "4.7.1",
|
|
26
|
-
"vips": "8.17.3",
|
|
27
|
-
"webp": "1.6.0",
|
|
28
|
-
"xml2": "2.15.1",
|
|
29
|
-
"zlib-ng": "2.2.5"
|
|
30
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/* eslint-disable node/no-deprecated-api */
|
|
2
|
-
|
|
3
|
-
var toString = Object.prototype.toString
|
|
4
|
-
|
|
5
|
-
var isModern = (
|
|
6
|
-
typeof Buffer !== 'undefined' &&
|
|
7
|
-
typeof Buffer.alloc === 'function' &&
|
|
8
|
-
typeof Buffer.allocUnsafe === 'function' &&
|
|
9
|
-
typeof Buffer.from === 'function'
|
|
10
|
-
)
|
|
11
|
-
|
|
12
|
-
function isArrayBuffer (input) {
|
|
13
|
-
return toString.call(input).slice(8, -1) === 'ArrayBuffer'
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function fromArrayBuffer (obj, byteOffset, length) {
|
|
17
|
-
byteOffset >>>= 0
|
|
18
|
-
|
|
19
|
-
var maxLength = obj.byteLength - byteOffset
|
|
20
|
-
|
|
21
|
-
if (maxLength < 0) {
|
|
22
|
-
throw new RangeError("'offset' is out of bounds")
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
if (length === undefined) {
|
|
26
|
-
length = maxLength
|
|
27
|
-
} else {
|
|
28
|
-
length >>>= 0
|
|
29
|
-
|
|
30
|
-
if (length > maxLength) {
|
|
31
|
-
throw new RangeError("'length' is out of bounds")
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return isModern
|
|
36
|
-
? Buffer.from(obj.slice(byteOffset, byteOffset + length))
|
|
37
|
-
: new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length)))
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function fromString (string, encoding) {
|
|
41
|
-
if (typeof encoding !== 'string' || encoding === '') {
|
|
42
|
-
encoding = 'utf8'
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
if (!Buffer.isEncoding(encoding)) {
|
|
46
|
-
throw new TypeError('"encoding" must be a valid string encoding')
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
return isModern
|
|
50
|
-
? Buffer.from(string, encoding)
|
|
51
|
-
: new Buffer(string, encoding)
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function bufferFrom (value, encodingOrOffset, length) {
|
|
55
|
-
if (typeof value === 'number') {
|
|
56
|
-
throw new TypeError('"value" argument must not be a number')
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
if (isArrayBuffer(value)) {
|
|
60
|
-
return fromArrayBuffer(value, encodingOrOffset, length)
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
if (typeof value === 'string') {
|
|
64
|
-
return fromString(value, encodingOrOffset)
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
return isModern
|
|
68
|
-
? Buffer.from(value)
|
|
69
|
-
: new Buffer(value)
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
module.exports = bufferFrom
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "buffer-from",
|
|
3
|
-
"version": "1.1.2",
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"repository": "LinusU/buffer-from",
|
|
6
|
-
"files": [
|
|
7
|
-
"index.js"
|
|
8
|
-
],
|
|
9
|
-
"scripts": {
|
|
10
|
-
"test": "standard && node test"
|
|
11
|
-
},
|
|
12
|
-
"devDependencies": {
|
|
13
|
-
"standard": "^12.0.1"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"buffer",
|
|
17
|
-
"buffer from"
|
|
18
|
-
]
|
|
19
|
-
}
|