convex-dev
Advanced tools
Comparing version 0.0.67 to 0.0.68
143
package.json
{ | ||
"name": "convex-dev", | ||
"version": "0.0.67", | ||
"description": "", | ||
"main": "src/index.js", | ||
"description": "Client for the Convex Cloud", | ||
"version": "0.0.68", | ||
"author": "Convex, Inc. <team@convex.dev>", | ||
"homepage": "https://convex.dev", | ||
"type": "module", | ||
"main": "./dist/esm/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js" | ||
}, | ||
"./server": { | ||
"import": "./dist/esm/server/index.js", | ||
"require": "./dist/cjs/server/index.js" | ||
}, | ||
"./react": { | ||
"import": "./dist/esm/react/index.js", | ||
"require": "./dist/cjs/react/index.js" | ||
}, | ||
"./browser": { | ||
"import": "./dist/esm/browser/index.js", | ||
"require": "./dist/cjs/browser/index.js" | ||
}, | ||
"./bundler": { | ||
"import": "./dist/esm/bundler/index.js", | ||
"require": "./dist/cjs/bundler/index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"@comment typesVersions": [ | ||
"This type field in exports is not supported yet (as of 4.6)", | ||
"so currently the only way to specify these types is typesVersions" | ||
], | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"./dist/esm/index.d.ts" | ||
], | ||
"server": [ | ||
"./dist/esm/server/server.d.ts" | ||
], | ||
"react": [ | ||
"./dist/esm/react/react.d.ts" | ||
], | ||
"browser": [ | ||
"./dist/esm/browser/browser.d.ts" | ||
] | ||
} | ||
}, | ||
"bin": { | ||
"convex": "bin/main.js" | ||
}, | ||
"types": "./dist/esm/convex-dev.d.ts", | ||
"keywords": [ | ||
"convex", | ||
"sdk", | ||
"serverless" | ||
], | ||
"license": "MIT", | ||
"@comment dependencies": [ | ||
"CLI tool dependencies are listed in devDependencies instead." | ||
], | ||
"dependencies": { | ||
"@convex-dev/common": "0.0.68", | ||
"base64-js": "^1.5.1", | ||
"bufferutil": "^4.0.3", | ||
"chalk": "4", | ||
"encoding": "^0.1.13", | ||
"esbuild": "~0.14.16", | ||
"node-fetch": "^2.6.1", | ||
"utf-8-validate": "^5.0.5", | ||
"uuid": "~8.3.2", | ||
"ws": "^7.5.1", | ||
"zod": "^3.11.6" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
}, | ||
"peerDependenciesMeta": { | ||
"react": { | ||
"optional": true | ||
}, | ||
"react-dom": { | ||
"optional": true | ||
} | ||
}, | ||
"@comment devDependencies": [ | ||
"The dependencies of the CLI are also in devDependencies, built into", | ||
"a bundle." | ||
], | ||
"devDependencies": { | ||
"@jest/globals": "~27.5.1", | ||
"@microsoft/api-extractor": "^7.19.2", | ||
"@types/base64-js": "^1.3.0", | ||
"@types/deep-equal": "1.0.1", | ||
"@types/inquirer": "~8.2.0", | ||
"@types/jest": "^27.1.0", | ||
"@types/node": "~16.11.12", | ||
"@types/node-fetch": "~2.6.1", | ||
"@types/react": "^17.0.19", | ||
"@types/react-dom": "^17.0.9", | ||
"@types/uuid": "~8.3.4", | ||
"axios": "~0.26.1", | ||
"axios-case-converter": "~0.9.0", | ||
"axios-retry": "~3.2.4", | ||
"chalk": "4", | ||
"chokidar": "3.5.3", | ||
"commander": "9.1.0", | ||
"deep-equal": "2.0.5", | ||
"envfile": "6.17.0", | ||
"esbuild": "~0.14.16", | ||
"inquirer": "~8.2.0", | ||
"jest": "^27.1.0", | ||
"open": "^8.3.0", | ||
"ora": "~6.1.0", | ||
"ts-jest": "^27.1.3", | ||
"typedoc": "^0.22.10", | ||
"typescript": "^4.5.4" | ||
}, | ||
"engines": { | ||
"npm": ">=7.0.0", | ||
"node": ">=14.19.0" | ||
}, | ||
"scripts": { | ||
"test": "" | ||
"build": "rm -rf dist && npm run build-esm && npm run build-cjs && npm run build-browser-script-tag && npm run build-standalone-cli", | ||
"build-esm": "tsc && npm run build-api", | ||
"build-cjs": "tsc --module commonjs --outDir dist/cjs --target es2015 && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json", | ||
"build-api": "api-extractor run -c browser-api-extractor.json && api-extractor run -c server-api-extractor.json && api-extractor run -c react-api-extractor.json", | ||
"build-browser-script-tag": "esbuild src/browser/index.ts --bundle --platform=browser --sourcemap --minify --outfile=dist/index.bundle.js --global-name=convex --log-level=warning", | ||
"build-standalone-cli": "esbuild src/cli/index.ts --bundle --platform=node --target=node14 --external:esbuild --external:fsevents --outfile=dist/cli.bundle.cjs --log-level=silent", | ||
"bundle-server": "node bundle-server.mjs", | ||
"clean": "rm -rf dist", | ||
"test": "NODE_OPTIONS=--experimental-vm-modules jest", | ||
"test-esm": "node -e 'import(\"./dist/esm/index.js\")'" | ||
}, | ||
"author": "Convex, Inc. <team@convex.dev>", | ||
"license": "MIT" | ||
} | ||
"readme": "# convex-dev\n\nClient library for interacting with the Convex Cloud.\n\nConvex is a platform for building dynamic applications without the complexity of\nmanaging a backend or interacting with a database. Data access functions run on\nthe Convex Cloud platform and use the\n[server](https://docs.convex.dev/api/server) libraries to read and manipulate\ndata. This package is used in frontend code to interact with these server-side\nfunctions.\n\n## Usage\n\nCreate a\n[`ConvexHttpClient`](https://docs.convex.dev/api/browser/classes/ConvexHttpClient)\nto connect to the Convex Cloud.\n\n```ts\nimport { ConvexHttpClient } from \"convex-dev/browser\";\n\n// Load the Convex config from its file inside your repository.\nimport convexConfig from \"../convex.json\";\nconst convex = new ConvexHttpClient(convexConfig.origin):\n```\n\nSee\n[the Convex documentation](https://docs.convex.dev/getting-started/hello-convex)\nto get started!\n" | ||
} |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4978157
339
63754
0
1
0
29
Yes
13
27
23
7
+ Added@convex-dev/common@0.0.68
+ Addedbase64-js@^1.5.1
+ Addedbufferutil@^4.0.3
+ Addedchalk@4
+ Addedencoding@^0.1.13
+ Addedesbuild@~0.14.16
+ Addednode-fetch@^2.6.1
+ Addedutf-8-validate@^5.0.5
+ Addeduuid@~8.3.2
+ Addedws@^7.5.1
+ Addedzod@^3.11.6
+ Added@convex-dev/common@0.0.68(transitive)
+ Added@esbuild/linux-loong64@0.14.54(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbufferutil@4.0.8(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addedesbuild@0.14.54(transitive)
+ Addedesbuild-android-64@0.14.54(transitive)
+ Addedesbuild-android-arm64@0.14.54(transitive)
+ Addedesbuild-darwin-64@0.14.54(transitive)
+ Addedesbuild-darwin-arm64@0.14.54(transitive)
+ Addedesbuild-freebsd-64@0.14.54(transitive)
+ Addedesbuild-freebsd-arm64@0.14.54(transitive)
+ Addedesbuild-linux-32@0.14.54(transitive)
+ Addedesbuild-linux-64@0.14.54(transitive)
+ Addedesbuild-linux-arm@0.14.54(transitive)
+ Addedesbuild-linux-arm64@0.14.54(transitive)
+ Addedesbuild-linux-mips64le@0.14.54(transitive)
+ Addedesbuild-linux-ppc64le@0.14.54(transitive)
+ Addedesbuild-linux-riscv64@0.14.54(transitive)
+ Addedesbuild-linux-s390x@0.14.54(transitive)
+ Addedesbuild-netbsd-64@0.14.54(transitive)
+ Addedesbuild-openbsd-64@0.14.54(transitive)
+ Addedesbuild-sunos-64@0.14.54(transitive)
+ Addedesbuild-windows-32@0.14.54(transitive)
+ Addedesbuild-windows-64@0.14.54(transitive)
+ Addedesbuild-windows-arm64@0.14.54(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addednode-gyp-build@4.8.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedreact@17.0.2(transitive)
+ Addedreact-dom@17.0.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedscheduler@0.20.2(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedutf-8-validate@5.0.10(transitive)
+ Addeduuid@8.3.2(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedws@7.5.9(transitive)
+ Addedzod@3.23.8(transitive)