clawatch 1.0.21 → 1.0.23
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/backend/dist/db.d.ts +33 -3
- package/backend/dist/db.d.ts.map +1 -1
- package/backend/dist/db.js +134 -10
- package/backend/dist/db.js.map +1 -1
- package/backend/dist/index.js +38 -32
- package/backend/dist/index.js.map +1 -1
- package/backend/dist/routes.d.ts.map +1 -1
- package/backend/dist/routes.js +3 -2
- package/backend/dist/routes.js.map +1 -1
- package/backend/dist/seed.js +115 -109
- package/backend/dist/seed.js.map +1 -1
- package/backend/node_modules/.package-lock.json +4 -380
- package/backend/node_modules/sql.js/.devcontainer/Dockerfile +76 -0
- package/backend/node_modules/sql.js/.devcontainer/devcontainer.json +20 -0
- package/backend/node_modules/sql.js/.jsdoc.config.json +38 -0
- package/backend/node_modules/sql.js/.nojekyll +0 -0
- package/backend/node_modules/sql.js/AUTHORS +8 -0
- package/backend/node_modules/sql.js/dist/sql-asm-debug.js +140890 -0
- package/backend/node_modules/sql.js/dist/sql-asm-memory-growth.js +204 -0
- package/backend/node_modules/sql.js/dist/sql-asm.js +202 -0
- package/backend/node_modules/sql.js/dist/sql-wasm-browser-debug.js +7157 -0
- package/backend/node_modules/sql.js/dist/sql-wasm-browser-debug.wasm +0 -0
- package/backend/node_modules/sql.js/dist/sql-wasm-browser.js +183 -0
- package/backend/node_modules/sql.js/dist/sql-wasm-browser.wasm +0 -0
- package/backend/node_modules/sql.js/dist/sql-wasm-debug.js +7265 -0
- package/backend/node_modules/sql.js/dist/sql-wasm-debug.wasm +0 -0
- package/backend/node_modules/sql.js/dist/sql-wasm.js +185 -0
- package/backend/node_modules/sql.js/dist/sql-wasm.wasm +0 -0
- package/backend/node_modules/sql.js/dist/worker.sql-asm-debug.js +141011 -0
- package/backend/node_modules/sql.js/dist/worker.sql-asm.js +323 -0
- package/backend/node_modules/sql.js/dist/worker.sql-wasm-debug.js +7386 -0
- package/backend/node_modules/sql.js/dist/worker.sql-wasm.js +306 -0
- package/backend/node_modules/sql.js/eslint.config.cjs +57 -0
- package/backend/node_modules/sql.js/logo.svg +13 -0
- package/backend/node_modules/sql.js/package.json +58 -0
- package/backend/package-lock.json +5 -392
- package/backend/package.json +1 -2
- package/dist/cli.js +0 -38
- package/dist/cli.js.map +1 -1
- package/frontend/.next/BUILD_ID +1 -1
- package/frontend/.next/build-manifest.json +2 -2
- package/frontend/.next/server/app/_global-error.html +2 -2
- package/frontend/.next/server/app/_global-error.rsc +1 -1
- package/frontend/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/frontend/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/frontend/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/frontend/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/frontend/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/frontend/.next/server/app/_not-found.html +1 -1
- package/frontend/.next/server/app/_not-found.rsc +1 -1
- package/frontend/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/frontend/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/frontend/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/frontend/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/frontend/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/frontend/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/frontend/.next/server/app/dashboard.html +1 -1
- package/frontend/.next/server/app/dashboard.rsc +1 -1
- package/frontend/.next/server/app/dashboard.segments/_full.segment.rsc +1 -1
- package/frontend/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/frontend/.next/server/app/dashboard.segments/_index.segment.rsc +1 -1
- package/frontend/.next/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/frontend/.next/server/app/dashboard.segments/dashboard/__PAGE__.segment.rsc +1 -1
- package/frontend/.next/server/app/dashboard.segments/dashboard.segment.rsc +1 -1
- package/frontend/.next/server/app/index.html +1 -1
- package/frontend/.next/server/app/index.rsc +1 -1
- package/frontend/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/frontend/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/frontend/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/frontend/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/frontend/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/frontend/.next/server/pages/404.html +1 -1
- package/frontend/.next/server/pages/500.html +2 -2
- package/package.json +2 -2
- package/backend/node_modules/base64-js/base64js.min.js +0 -1
- package/backend/node_modules/base64-js/index.d.ts +0 -3
- package/backend/node_modules/base64-js/index.js +0 -150
- package/backend/node_modules/base64-js/package.json +0 -47
- package/backend/node_modules/better-sqlite3/binding.gyp +0 -38
- package/backend/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/backend/node_modules/better-sqlite3/deps/common.gypi +0 -68
- package/backend/node_modules/better-sqlite3/deps/copy.js +0 -31
- package/backend/node_modules/better-sqlite3/deps/defines.gypi +0 -41
- package/backend/node_modules/better-sqlite3/deps/download.sh +0 -122
- package/backend/node_modules/better-sqlite3/deps/patches/1208.patch +0 -15
- package/backend/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +0 -261480
- package/backend/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +0 -13715
- package/backend/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +0 -719
- package/backend/node_modules/better-sqlite3/deps/sqlite3.gyp +0 -80
- package/backend/node_modules/better-sqlite3/deps/test_extension.c +0 -21
- package/backend/node_modules/better-sqlite3/lib/database.js +0 -90
- package/backend/node_modules/better-sqlite3/lib/index.js +0 -3
- package/backend/node_modules/better-sqlite3/lib/methods/aggregate.js +0 -43
- package/backend/node_modules/better-sqlite3/lib/methods/backup.js +0 -67
- package/backend/node_modules/better-sqlite3/lib/methods/function.js +0 -31
- package/backend/node_modules/better-sqlite3/lib/methods/inspect.js +0 -7
- package/backend/node_modules/better-sqlite3/lib/methods/pragma.js +0 -12
- package/backend/node_modules/better-sqlite3/lib/methods/serialize.js +0 -16
- package/backend/node_modules/better-sqlite3/lib/methods/table.js +0 -189
- package/backend/node_modules/better-sqlite3/lib/methods/transaction.js +0 -78
- package/backend/node_modules/better-sqlite3/lib/methods/wrappers.js +0 -54
- package/backend/node_modules/better-sqlite3/lib/sqlite-error.js +0 -20
- package/backend/node_modules/better-sqlite3/lib/util.js +0 -12
- package/backend/node_modules/better-sqlite3/package.json +0 -54
- package/backend/node_modules/better-sqlite3/src/better_sqlite3.cpp +0 -2186
- package/backend/node_modules/better-sqlite3/src/better_sqlite3.hpp +0 -1036
- package/backend/node_modules/bindings/bindings.js +0 -221
- package/backend/node_modules/bindings/package.json +0 -28
- package/backend/node_modules/buffer/index.d.ts +0 -186
- package/backend/node_modules/buffer/index.js +0 -1817
- package/backend/node_modules/buffer/package.json +0 -96
- package/backend/node_modules/chownr/chownr.js +0 -167
- package/backend/node_modules/chownr/package.json +0 -29
- package/backend/node_modules/decompress-response/index.d.ts +0 -22
- package/backend/node_modules/decompress-response/index.js +0 -58
- package/backend/node_modules/decompress-response/license +0 -9
- package/backend/node_modules/decompress-response/package.json +0 -56
- package/backend/node_modules/deep-extend/index.js +0 -1
- package/backend/node_modules/deep-extend/lib/deep-extend.js +0 -150
- package/backend/node_modules/deep-extend/package.json +0 -62
- package/backend/node_modules/detect-libc/index.d.ts +0 -14
- package/backend/node_modules/detect-libc/lib/detect-libc.js +0 -313
- package/backend/node_modules/detect-libc/lib/elf.js +0 -39
- package/backend/node_modules/detect-libc/lib/filesystem.js +0 -51
- package/backend/node_modules/detect-libc/lib/process.js +0 -24
- package/backend/node_modules/detect-libc/package.json +0 -44
- package/backend/node_modules/expand-template/.travis.yml +0 -6
- package/backend/node_modules/expand-template/index.js +0 -26
- package/backend/node_modules/expand-template/package.json +0 -29
- package/backend/node_modules/expand-template/test.js +0 -67
- package/backend/node_modules/file-uri-to-path/.travis.yml +0 -30
- package/backend/node_modules/file-uri-to-path/index.d.ts +0 -2
- package/backend/node_modules/file-uri-to-path/index.js +0 -66
- package/backend/node_modules/file-uri-to-path/package.json +0 -32
- package/backend/node_modules/fs-constants/browser.js +0 -1
- package/backend/node_modules/fs-constants/index.js +0 -1
- package/backend/node_modules/fs-constants/package.json +0 -19
- package/backend/node_modules/github-from-package/.travis.yml +0 -4
- package/backend/node_modules/github-from-package/index.js +0 -17
- package/backend/node_modules/github-from-package/package.json +0 -30
- package/backend/node_modules/github-from-package/readme.markdown +0 -53
- package/backend/node_modules/ieee754/index.d.ts +0 -10
- package/backend/node_modules/ieee754/index.js +0 -85
- package/backend/node_modules/ieee754/package.json +0 -52
- package/backend/node_modules/ini/ini.js +0 -206
- package/backend/node_modules/ini/package.json +0 -33
- package/backend/node_modules/mimic-response/index.d.ts +0 -17
- package/backend/node_modules/mimic-response/index.js +0 -77
- package/backend/node_modules/mimic-response/license +0 -9
- package/backend/node_modules/mimic-response/package.json +0 -42
- package/backend/node_modules/minimist/.github/FUNDING.yml +0 -12
- package/backend/node_modules/minimist/.nycrc +0 -14
- package/backend/node_modules/minimist/index.js +0 -263
- package/backend/node_modules/minimist/package.json +0 -75
- package/backend/node_modules/mkdirp-classic/index.js +0 -98
- package/backend/node_modules/mkdirp-classic/package.json +0 -18
- package/backend/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
- package/backend/node_modules/napi-build-utils/index.js +0 -214
- package/backend/node_modules/napi-build-utils/package.json +0 -42
- package/backend/node_modules/node-abi/abi_registry.json +0 -432
- package/backend/node_modules/node-abi/index.js +0 -179
- package/backend/node_modules/node-abi/package.json +0 -45
- package/backend/node_modules/prebuild-install/asset.js +0 -44
- package/backend/node_modules/prebuild-install/bin.js +0 -78
- package/backend/node_modules/prebuild-install/download.js +0 -142
- package/backend/node_modules/prebuild-install/error.js +0 -14
- package/backend/node_modules/prebuild-install/help.txt +0 -16
- package/backend/node_modules/prebuild-install/index.js +0 -1
- package/backend/node_modules/prebuild-install/log.js +0 -33
- package/backend/node_modules/prebuild-install/node_modules/pump/.github/FUNDING.yml +0 -2
- package/backend/node_modules/prebuild-install/node_modules/pump/.travis.yml +0 -5
- package/backend/node_modules/prebuild-install/node_modules/pump/LICENSE +0 -21
- package/backend/node_modules/prebuild-install/node_modules/pump/README.md +0 -74
- package/backend/node_modules/prebuild-install/node_modules/pump/SECURITY.md +0 -5
- package/backend/node_modules/prebuild-install/node_modules/pump/empty.js +0 -1
- package/backend/node_modules/prebuild-install/node_modules/pump/index.js +0 -86
- package/backend/node_modules/prebuild-install/node_modules/pump/package.json +0 -30
- package/backend/node_modules/prebuild-install/node_modules/pump/test-browser.js +0 -66
- package/backend/node_modules/prebuild-install/node_modules/pump/test-node.js +0 -53
- package/backend/node_modules/prebuild-install/package.json +0 -67
- package/backend/node_modules/prebuild-install/proxy.js +0 -35
- package/backend/node_modules/prebuild-install/rc.js +0 -64
- package/backend/node_modules/prebuild-install/util.js +0 -143
- package/backend/node_modules/rc/browser.js +0 -7
- package/backend/node_modules/rc/cli.js +0 -4
- package/backend/node_modules/rc/index.js +0 -53
- package/backend/node_modules/rc/lib/utils.js +0 -104
- package/backend/node_modules/rc/package.json +0 -29
- package/backend/node_modules/semver/bin/semver.js +0 -191
- package/backend/node_modules/semver/classes/comparator.js +0 -143
- package/backend/node_modules/semver/classes/index.js +0 -7
- package/backend/node_modules/semver/classes/range.js +0 -557
- package/backend/node_modules/semver/classes/semver.js +0 -333
- package/backend/node_modules/semver/functions/clean.js +0 -8
- package/backend/node_modules/semver/functions/cmp.js +0 -54
- package/backend/node_modules/semver/functions/coerce.js +0 -62
- package/backend/node_modules/semver/functions/compare-build.js +0 -9
- package/backend/node_modules/semver/functions/compare-loose.js +0 -5
- package/backend/node_modules/semver/functions/compare.js +0 -7
- package/backend/node_modules/semver/functions/diff.js +0 -60
- package/backend/node_modules/semver/functions/eq.js +0 -5
- package/backend/node_modules/semver/functions/gt.js +0 -5
- package/backend/node_modules/semver/functions/gte.js +0 -5
- package/backend/node_modules/semver/functions/inc.js +0 -21
- package/backend/node_modules/semver/functions/lt.js +0 -5
- package/backend/node_modules/semver/functions/lte.js +0 -5
- package/backend/node_modules/semver/functions/major.js +0 -5
- package/backend/node_modules/semver/functions/minor.js +0 -5
- package/backend/node_modules/semver/functions/neq.js +0 -5
- package/backend/node_modules/semver/functions/parse.js +0 -18
- package/backend/node_modules/semver/functions/patch.js +0 -5
- package/backend/node_modules/semver/functions/prerelease.js +0 -8
- package/backend/node_modules/semver/functions/rcompare.js +0 -5
- package/backend/node_modules/semver/functions/rsort.js +0 -5
- package/backend/node_modules/semver/functions/satisfies.js +0 -12
- package/backend/node_modules/semver/functions/sort.js +0 -5
- package/backend/node_modules/semver/functions/valid.js +0 -8
- package/backend/node_modules/semver/index.js +0 -91
- package/backend/node_modules/semver/internal/constants.js +0 -37
- package/backend/node_modules/semver/internal/debug.js +0 -11
- package/backend/node_modules/semver/internal/identifiers.js +0 -29
- package/backend/node_modules/semver/internal/lrucache.js +0 -42
- package/backend/node_modules/semver/internal/parse-options.js +0 -17
- package/backend/node_modules/semver/internal/re.js +0 -223
- package/backend/node_modules/semver/package.json +0 -78
- package/backend/node_modules/semver/preload.js +0 -4
- package/backend/node_modules/semver/range.bnf +0 -16
- package/backend/node_modules/semver/ranges/gtr.js +0 -6
- package/backend/node_modules/semver/ranges/intersects.js +0 -9
- package/backend/node_modules/semver/ranges/ltr.js +0 -6
- package/backend/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/backend/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/backend/node_modules/semver/ranges/min-version.js +0 -63
- package/backend/node_modules/semver/ranges/outside.js +0 -82
- package/backend/node_modules/semver/ranges/simplify.js +0 -49
- package/backend/node_modules/semver/ranges/subset.js +0 -249
- package/backend/node_modules/semver/ranges/to-comparators.js +0 -10
- package/backend/node_modules/semver/ranges/valid.js +0 -13
- package/backend/node_modules/simple-concat/.travis.yml +0 -3
- package/backend/node_modules/simple-concat/index.js +0 -15
- package/backend/node_modules/simple-concat/package.json +0 -47
- package/backend/node_modules/simple-get/.github/dependabot.yml +0 -15
- package/backend/node_modules/simple-get/.github/workflows/ci.yml +0 -23
- package/backend/node_modules/simple-get/index.js +0 -108
- package/backend/node_modules/simple-get/package.json +0 -67
- package/backend/node_modules/strip-json-comments/index.js +0 -70
- package/backend/node_modules/strip-json-comments/license +0 -21
- package/backend/node_modules/strip-json-comments/package.json +0 -42
- package/backend/node_modules/tar-fs/.travis.yml +0 -6
- package/backend/node_modules/tar-fs/index.js +0 -363
- package/backend/node_modules/tar-fs/node_modules/pump/.github/FUNDING.yml +0 -2
- package/backend/node_modules/tar-fs/node_modules/pump/.travis.yml +0 -5
- package/backend/node_modules/tar-fs/node_modules/pump/LICENSE +0 -21
- package/backend/node_modules/tar-fs/node_modules/pump/README.md +0 -74
- package/backend/node_modules/tar-fs/node_modules/pump/SECURITY.md +0 -5
- package/backend/node_modules/tar-fs/node_modules/pump/empty.js +0 -1
- package/backend/node_modules/tar-fs/node_modules/pump/index.js +0 -86
- package/backend/node_modules/tar-fs/node_modules/pump/package.json +0 -30
- package/backend/node_modules/tar-fs/node_modules/pump/test-browser.js +0 -66
- package/backend/node_modules/tar-fs/node_modules/pump/test-node.js +0 -53
- package/backend/node_modules/tar-fs/package.json +0 -41
- package/backend/node_modules/tar-stream/extract.js +0 -257
- package/backend/node_modules/tar-stream/headers.js +0 -295
- package/backend/node_modules/tar-stream/index.js +0 -2
- package/backend/node_modules/tar-stream/node_modules/bl/.travis.yml +0 -17
- package/backend/node_modules/tar-stream/node_modules/bl/BufferList.js +0 -396
- package/backend/node_modules/tar-stream/node_modules/bl/LICENSE.md +0 -13
- package/backend/node_modules/tar-stream/node_modules/bl/README.md +0 -247
- package/backend/node_modules/tar-stream/node_modules/bl/bl.js +0 -84
- package/backend/node_modules/tar-stream/node_modules/bl/package.json +0 -37
- package/backend/node_modules/tar-stream/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/backend/node_modules/tar-stream/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/backend/node_modules/tar-stream/node_modules/readable-stream/LICENSE +0 -47
- package/backend/node_modules/tar-stream/node_modules/readable-stream/README.md +0 -106
- package/backend/node_modules/tar-stream/node_modules/readable-stream/errors-browser.js +0 -127
- package/backend/node_modules/tar-stream/node_modules/readable-stream/errors.js +0 -116
- package/backend/node_modules/tar-stream/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -190
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -641
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/backend/node_modules/tar-stream/node_modules/readable-stream/package.json +0 -68
- package/backend/node_modules/tar-stream/node_modules/readable-stream/readable-browser.js +0 -9
- package/backend/node_modules/tar-stream/node_modules/readable-stream/readable.js +0 -16
- package/backend/node_modules/tar-stream/pack.js +0 -255
- package/backend/node_modules/tar-stream/package.json +0 -58
- package/backend/node_modules/tar-stream/sandbox.js +0 -11
- /package/frontend/.next/static/{Q4SarPs6hugI0HGjYUgVg → a36G8G-fn_tjHP7E62qvj}/_buildManifest.js +0 -0
- /package/frontend/.next/static/{Q4SarPs6hugI0HGjYUgVg → a36G8G-fn_tjHP7E62qvj}/_clientMiddlewareManifest.json +0 -0
- /package/frontend/.next/static/{Q4SarPs6hugI0HGjYUgVg → a36G8G-fn_tjHP7E62qvj}/_ssgManifest.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
2
|
-
@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/5bcee453cc4bce6d.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"
|
|
1
|
+
<!DOCTYPE html><!--a36G8G_fn_tjHP7E62qvj--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/5bcee453cc4bce6d.js"/><script src="/_next/static/chunks/82abf2d65f5428ae.js" async=""></script><script src="/_next/static/chunks/f2f58a7e93290fbb.js" async=""></script><script src="/_next/static/chunks/6b50f8d2ee1d2bea.js" async=""></script><script src="/_next/static/chunks/turbopack-1e12e8d4e4225e2f.js" async=""></script><script src="/_next/static/chunks/ff1a16fafef87110.js" async=""></script><script src="/_next/static/chunks/a2dfb6fc5208ab9b.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: Internal Server Error.</title><link rel="icon" href="/favicon.ico?favicon.0b3bf435.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
|
|
2
|
+
@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/5bcee453cc4bce6d.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"a36G8G-fn_tjHP7E62qvj\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"c:I[27201,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/a2dfb6fc5208ab9b.js\"],\"IconMark\"]\n6:null\na:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0b3bf435.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Lc\",\"1\",{}]]\n"])</script></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawatch",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"description": "Observability & monitoring for AI agents. Track costs, tokens, sessions, and get alerts when things go wrong.",
|
|
5
5
|
"author": "GENWAY AI <hello@genway.ai>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dev": "tsc --watch",
|
|
44
44
|
"start": "node dist/cli.js",
|
|
45
45
|
"prepack": "npm run build",
|
|
46
|
-
"postinstall": "
|
|
46
|
+
"postinstall": "echo 'ClaWatch installed successfully (pure WASM — no native build needed)'"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"chalk": "^4.1.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?this:self:global:window,b.base64js=a()}})(function(){return function(){function b(d,e,g){function a(j,i){if(!e[j]){if(!d[j]){var f="function"==typeof require&&require;if(!i&&f)return f(j,!0);if(h)return h(j,!0);var c=new Error("Cannot find module '"+j+"'");throw c.code="MODULE_NOT_FOUND",c}var k=e[j]={exports:{}};d[j][0].call(k.exports,function(b){var c=d[j][1][b];return a(c||b)},k,k.exports,b,d,e,g)}return e[j].exports}for(var h="function"==typeof require&&require,c=0;c<g.length;c++)a(g[c]);return a}return b}()({"/":[function(a,b,c){'use strict';function d(a){var b=a.length;if(0<b%4)throw new Error("Invalid string. Length must be a multiple of 4");var c=a.indexOf("=");-1===c&&(c=b);var d=c===b?0:4-c%4;return[c,d]}function e(a,b,c){return 3*(b+c)/4-c}function f(a){var b,c,f=d(a),g=f[0],h=f[1],j=new m(e(a,g,h)),k=0,n=0<h?g-4:g;for(c=0;c<n;c+=4)b=l[a.charCodeAt(c)]<<18|l[a.charCodeAt(c+1)]<<12|l[a.charCodeAt(c+2)]<<6|l[a.charCodeAt(c+3)],j[k++]=255&b>>16,j[k++]=255&b>>8,j[k++]=255&b;return 2===h&&(b=l[a.charCodeAt(c)]<<2|l[a.charCodeAt(c+1)]>>4,j[k++]=255&b),1===h&&(b=l[a.charCodeAt(c)]<<10|l[a.charCodeAt(c+1)]<<4|l[a.charCodeAt(c+2)]>>2,j[k++]=255&b>>8,j[k++]=255&b),j}function g(a){return k[63&a>>18]+k[63&a>>12]+k[63&a>>6]+k[63&a]}function h(a,b,c){for(var d,e=[],f=b;f<c;f+=3)d=(16711680&a[f]<<16)+(65280&a[f+1]<<8)+(255&a[f+2]),e.push(g(d));return e.join("")}function j(a){for(var b,c=a.length,d=c%3,e=[],f=16383,g=0,j=c-d;g<j;g+=f)e.push(h(a,g,g+f>j?j:g+f));return 1===d?(b=a[c-1],e.push(k[b>>2]+k[63&b<<4]+"==")):2===d&&(b=(a[c-2]<<8)+a[c-1],e.push(k[b>>10]+k[63&b>>4]+k[63&b<<2]+"=")),e.join("")}c.byteLength=function(a){var b=d(a),c=b[0],e=b[1];return 3*(c+e)/4-e},c.toByteArray=f,c.fromByteArray=j;for(var k=[],l=[],m="undefined"==typeof Uint8Array?Array:Uint8Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,p=n.length;o<p;++o)k[o]=n[o],l[n.charCodeAt(o)]=o;l[45]=62,l[95]=63},{}]},{},[])("/")});
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
exports.byteLength = byteLength
|
|
4
|
-
exports.toByteArray = toByteArray
|
|
5
|
-
exports.fromByteArray = fromByteArray
|
|
6
|
-
|
|
7
|
-
var lookup = []
|
|
8
|
-
var revLookup = []
|
|
9
|
-
var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
|
|
10
|
-
|
|
11
|
-
var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
|
|
12
|
-
for (var i = 0, len = code.length; i < len; ++i) {
|
|
13
|
-
lookup[i] = code[i]
|
|
14
|
-
revLookup[code.charCodeAt(i)] = i
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Support decoding URL-safe base64 strings, as Node.js does.
|
|
18
|
-
// See: https://en.wikipedia.org/wiki/Base64#URL_applications
|
|
19
|
-
revLookup['-'.charCodeAt(0)] = 62
|
|
20
|
-
revLookup['_'.charCodeAt(0)] = 63
|
|
21
|
-
|
|
22
|
-
function getLens (b64) {
|
|
23
|
-
var len = b64.length
|
|
24
|
-
|
|
25
|
-
if (len % 4 > 0) {
|
|
26
|
-
throw new Error('Invalid string. Length must be a multiple of 4')
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Trim off extra bytes after placeholder bytes are found
|
|
30
|
-
// See: https://github.com/beatgammit/base64-js/issues/42
|
|
31
|
-
var validLen = b64.indexOf('=')
|
|
32
|
-
if (validLen === -1) validLen = len
|
|
33
|
-
|
|
34
|
-
var placeHoldersLen = validLen === len
|
|
35
|
-
? 0
|
|
36
|
-
: 4 - (validLen % 4)
|
|
37
|
-
|
|
38
|
-
return [validLen, placeHoldersLen]
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// base64 is 4/3 + up to two characters of the original data
|
|
42
|
-
function byteLength (b64) {
|
|
43
|
-
var lens = getLens(b64)
|
|
44
|
-
var validLen = lens[0]
|
|
45
|
-
var placeHoldersLen = lens[1]
|
|
46
|
-
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function _byteLength (b64, validLen, placeHoldersLen) {
|
|
50
|
-
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
function toByteArray (b64) {
|
|
54
|
-
var tmp
|
|
55
|
-
var lens = getLens(b64)
|
|
56
|
-
var validLen = lens[0]
|
|
57
|
-
var placeHoldersLen = lens[1]
|
|
58
|
-
|
|
59
|
-
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
|
|
60
|
-
|
|
61
|
-
var curByte = 0
|
|
62
|
-
|
|
63
|
-
// if there are placeholders, only get up to the last complete 4 chars
|
|
64
|
-
var len = placeHoldersLen > 0
|
|
65
|
-
? validLen - 4
|
|
66
|
-
: validLen
|
|
67
|
-
|
|
68
|
-
var i
|
|
69
|
-
for (i = 0; i < len; i += 4) {
|
|
70
|
-
tmp =
|
|
71
|
-
(revLookup[b64.charCodeAt(i)] << 18) |
|
|
72
|
-
(revLookup[b64.charCodeAt(i + 1)] << 12) |
|
|
73
|
-
(revLookup[b64.charCodeAt(i + 2)] << 6) |
|
|
74
|
-
revLookup[b64.charCodeAt(i + 3)]
|
|
75
|
-
arr[curByte++] = (tmp >> 16) & 0xFF
|
|
76
|
-
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
77
|
-
arr[curByte++] = tmp & 0xFF
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
if (placeHoldersLen === 2) {
|
|
81
|
-
tmp =
|
|
82
|
-
(revLookup[b64.charCodeAt(i)] << 2) |
|
|
83
|
-
(revLookup[b64.charCodeAt(i + 1)] >> 4)
|
|
84
|
-
arr[curByte++] = tmp & 0xFF
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
if (placeHoldersLen === 1) {
|
|
88
|
-
tmp =
|
|
89
|
-
(revLookup[b64.charCodeAt(i)] << 10) |
|
|
90
|
-
(revLookup[b64.charCodeAt(i + 1)] << 4) |
|
|
91
|
-
(revLookup[b64.charCodeAt(i + 2)] >> 2)
|
|
92
|
-
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
93
|
-
arr[curByte++] = tmp & 0xFF
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
return arr
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function tripletToBase64 (num) {
|
|
100
|
-
return lookup[num >> 18 & 0x3F] +
|
|
101
|
-
lookup[num >> 12 & 0x3F] +
|
|
102
|
-
lookup[num >> 6 & 0x3F] +
|
|
103
|
-
lookup[num & 0x3F]
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
function encodeChunk (uint8, start, end) {
|
|
107
|
-
var tmp
|
|
108
|
-
var output = []
|
|
109
|
-
for (var i = start; i < end; i += 3) {
|
|
110
|
-
tmp =
|
|
111
|
-
((uint8[i] << 16) & 0xFF0000) +
|
|
112
|
-
((uint8[i + 1] << 8) & 0xFF00) +
|
|
113
|
-
(uint8[i + 2] & 0xFF)
|
|
114
|
-
output.push(tripletToBase64(tmp))
|
|
115
|
-
}
|
|
116
|
-
return output.join('')
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
function fromByteArray (uint8) {
|
|
120
|
-
var tmp
|
|
121
|
-
var len = uint8.length
|
|
122
|
-
var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
|
|
123
|
-
var parts = []
|
|
124
|
-
var maxChunkLength = 16383 // must be multiple of 3
|
|
125
|
-
|
|
126
|
-
// go through the array every three bytes, we'll deal with trailing stuff later
|
|
127
|
-
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
|
|
128
|
-
parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// pad the end with zeros, but make sure to not forget the extra bytes
|
|
132
|
-
if (extraBytes === 1) {
|
|
133
|
-
tmp = uint8[len - 1]
|
|
134
|
-
parts.push(
|
|
135
|
-
lookup[tmp >> 2] +
|
|
136
|
-
lookup[(tmp << 4) & 0x3F] +
|
|
137
|
-
'=='
|
|
138
|
-
)
|
|
139
|
-
} else if (extraBytes === 2) {
|
|
140
|
-
tmp = (uint8[len - 2] << 8) + uint8[len - 1]
|
|
141
|
-
parts.push(
|
|
142
|
-
lookup[tmp >> 10] +
|
|
143
|
-
lookup[(tmp >> 4) & 0x3F] +
|
|
144
|
-
lookup[(tmp << 2) & 0x3F] +
|
|
145
|
-
'='
|
|
146
|
-
)
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
return parts.join('')
|
|
150
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "base64-js",
|
|
3
|
-
"description": "Base64 encoding/decoding in pure JS",
|
|
4
|
-
"version": "1.5.1",
|
|
5
|
-
"author": "T. Jameson Little <t.jameson.little@gmail.com>",
|
|
6
|
-
"typings": "index.d.ts",
|
|
7
|
-
"bugs": {
|
|
8
|
-
"url": "https://github.com/beatgammit/base64-js/issues"
|
|
9
|
-
},
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"babel-minify": "^0.5.1",
|
|
12
|
-
"benchmark": "^2.1.4",
|
|
13
|
-
"browserify": "^16.3.0",
|
|
14
|
-
"standard": "*",
|
|
15
|
-
"tape": "4.x"
|
|
16
|
-
},
|
|
17
|
-
"homepage": "https://github.com/beatgammit/base64-js",
|
|
18
|
-
"keywords": [
|
|
19
|
-
"base64"
|
|
20
|
-
],
|
|
21
|
-
"license": "MIT",
|
|
22
|
-
"main": "index.js",
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "git://github.com/beatgammit/base64-js.git"
|
|
26
|
-
},
|
|
27
|
-
"scripts": {
|
|
28
|
-
"build": "browserify -s base64js -r ./ | minify > base64js.min.js",
|
|
29
|
-
"lint": "standard",
|
|
30
|
-
"test": "npm run lint && npm run unit",
|
|
31
|
-
"unit": "tape test/*.js"
|
|
32
|
-
},
|
|
33
|
-
"funding": [
|
|
34
|
-
{
|
|
35
|
-
"type": "github",
|
|
36
|
-
"url": "https://github.com/sponsors/feross"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"type": "patreon",
|
|
40
|
-
"url": "https://www.patreon.com/feross"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"type": "consulting",
|
|
44
|
-
"url": "https://feross.org/support"
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# ===
|
|
2
|
-
# This is the main GYP file, which builds better-sqlite3 with SQLite itself.
|
|
3
|
-
# ===
|
|
4
|
-
|
|
5
|
-
{
|
|
6
|
-
'includes': ['deps/common.gypi'],
|
|
7
|
-
'targets': [
|
|
8
|
-
{
|
|
9
|
-
'target_name': 'better_sqlite3',
|
|
10
|
-
'dependencies': ['deps/sqlite3.gyp:sqlite3'],
|
|
11
|
-
'sources': ['src/better_sqlite3.cpp'],
|
|
12
|
-
'cflags_cc': ['-std=c++20'],
|
|
13
|
-
'xcode_settings': {
|
|
14
|
-
'OTHER_CPLUSPLUSFLAGS': ['-std=c++20', '-stdlib=libc++'],
|
|
15
|
-
},
|
|
16
|
-
'msvs_settings': {
|
|
17
|
-
'VCCLCompilerTool': {
|
|
18
|
-
'AdditionalOptions': [
|
|
19
|
-
'/std:c++20',
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
'conditions': [
|
|
24
|
-
['OS=="linux"', {
|
|
25
|
-
'ldflags': [
|
|
26
|
-
'-Wl,-Bsymbolic',
|
|
27
|
-
'-Wl,--exclude-libs,ALL',
|
|
28
|
-
],
|
|
29
|
-
}],
|
|
30
|
-
],
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
'target_name': 'test_extension',
|
|
34
|
-
'dependencies': ['deps/sqlite3.gyp:sqlite3'],
|
|
35
|
-
'conditions': [['sqlite3 == ""', { 'sources': ['deps/test_extension.c'] }]],
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
}
|
|
Binary file
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# ===
|
|
2
|
-
# This configuration defines the differences between Release and Debug builds.
|
|
3
|
-
# Some miscellaneous Windows settings are also defined here.
|
|
4
|
-
# ===
|
|
5
|
-
|
|
6
|
-
{
|
|
7
|
-
'variables': { 'sqlite3%': '' },
|
|
8
|
-
'target_defaults': {
|
|
9
|
-
'default_configuration': 'Release',
|
|
10
|
-
'msvs_settings': {
|
|
11
|
-
'VCCLCompilerTool': {
|
|
12
|
-
'ExceptionHandling': 1,
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
'conditions': [
|
|
16
|
-
['OS == "win"', {
|
|
17
|
-
'defines': ['WIN32'],
|
|
18
|
-
}],
|
|
19
|
-
],
|
|
20
|
-
'configurations': {
|
|
21
|
-
'Debug': {
|
|
22
|
-
'defines!': [
|
|
23
|
-
'NDEBUG',
|
|
24
|
-
],
|
|
25
|
-
'defines': [
|
|
26
|
-
'DEBUG',
|
|
27
|
-
'_DEBUG',
|
|
28
|
-
'SQLITE_DEBUG',
|
|
29
|
-
'SQLITE_MEMDEBUG',
|
|
30
|
-
'SQLITE_ENABLE_API_ARMOR',
|
|
31
|
-
'SQLITE_WIN32_MALLOC_VALIDATE',
|
|
32
|
-
],
|
|
33
|
-
'cflags': [
|
|
34
|
-
'-O0',
|
|
35
|
-
],
|
|
36
|
-
'xcode_settings': {
|
|
37
|
-
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
|
38
|
-
'GCC_OPTIMIZATION_LEVEL': '0',
|
|
39
|
-
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES',
|
|
40
|
-
},
|
|
41
|
-
'msvs_settings': {
|
|
42
|
-
'VCLinkerTool': {
|
|
43
|
-
'GenerateDebugInformation': 'true',
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
'Release': {
|
|
48
|
-
'defines!': [
|
|
49
|
-
'DEBUG',
|
|
50
|
-
'_DEBUG',
|
|
51
|
-
],
|
|
52
|
-
'defines': [
|
|
53
|
-
'NDEBUG',
|
|
54
|
-
],
|
|
55
|
-
'cflags': [
|
|
56
|
-
'-O3',
|
|
57
|
-
],
|
|
58
|
-
'xcode_settings': {
|
|
59
|
-
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
|
60
|
-
'GCC_OPTIMIZATION_LEVEL': '3',
|
|
61
|
-
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
|
|
62
|
-
'DEAD_CODE_STRIPPING': 'YES',
|
|
63
|
-
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const path = require('path');
|
|
3
|
-
const fs = require('fs');
|
|
4
|
-
|
|
5
|
-
const dest = process.argv[2];
|
|
6
|
-
const source = path.resolve(path.sep, process.argv[3] || path.join(__dirname, 'sqlite3'));
|
|
7
|
-
const files = [
|
|
8
|
-
{ filename: 'sqlite3.c', optional: false },
|
|
9
|
-
{ filename: 'sqlite3.h', optional: false },
|
|
10
|
-
];
|
|
11
|
-
|
|
12
|
-
if (process.argv[3]) {
|
|
13
|
-
// Support "_HAVE_SQLITE_CONFIG_H" in custom builds.
|
|
14
|
-
files.push({ filename: 'config.h', optional: true });
|
|
15
|
-
} else {
|
|
16
|
-
// Required for some tests.
|
|
17
|
-
files.push({ filename: 'sqlite3ext.h', optional: false });
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
for (const { filename, optional } of files) {
|
|
21
|
-
const sourceFilepath = path.join(source, filename);
|
|
22
|
-
const destFilepath = path.join(dest, filename);
|
|
23
|
-
|
|
24
|
-
if (optional && !fs.existsSync(sourceFilepath)) {
|
|
25
|
-
continue;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
fs.accessSync(sourceFilepath);
|
|
29
|
-
fs.mkdirSync(path.dirname(destFilepath), { recursive: true });
|
|
30
|
-
fs.copyFileSync(sourceFilepath, destFilepath);
|
|
31
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# THIS FILE IS AUTOMATICALLY GENERATED BY deps/download.sh (DO NOT EDIT)
|
|
2
|
-
|
|
3
|
-
{
|
|
4
|
-
'defines': [
|
|
5
|
-
'HAVE_INT16_T=1',
|
|
6
|
-
'HAVE_INT32_T=1',
|
|
7
|
-
'HAVE_INT8_T=1',
|
|
8
|
-
'HAVE_STDINT_H=1',
|
|
9
|
-
'HAVE_UINT16_T=1',
|
|
10
|
-
'HAVE_UINT32_T=1',
|
|
11
|
-
'HAVE_UINT8_T=1',
|
|
12
|
-
'HAVE_USLEEP=1',
|
|
13
|
-
'SQLITE_DEFAULT_CACHE_SIZE=-16000',
|
|
14
|
-
'SQLITE_DEFAULT_FOREIGN_KEYS=1',
|
|
15
|
-
'SQLITE_DEFAULT_MEMSTATUS=0',
|
|
16
|
-
'SQLITE_DEFAULT_WAL_SYNCHRONOUS=1',
|
|
17
|
-
'SQLITE_DQS=0',
|
|
18
|
-
'SQLITE_ENABLE_COLUMN_METADATA',
|
|
19
|
-
'SQLITE_ENABLE_DBSTAT_VTAB',
|
|
20
|
-
'SQLITE_ENABLE_DESERIALIZE',
|
|
21
|
-
'SQLITE_ENABLE_FTS3',
|
|
22
|
-
'SQLITE_ENABLE_FTS3_PARENTHESIS',
|
|
23
|
-
'SQLITE_ENABLE_FTS4',
|
|
24
|
-
'SQLITE_ENABLE_FTS5',
|
|
25
|
-
'SQLITE_ENABLE_GEOPOLY',
|
|
26
|
-
'SQLITE_ENABLE_JSON1',
|
|
27
|
-
'SQLITE_ENABLE_MATH_FUNCTIONS',
|
|
28
|
-
'SQLITE_ENABLE_RTREE',
|
|
29
|
-
'SQLITE_ENABLE_STAT4',
|
|
30
|
-
'SQLITE_ENABLE_UPDATE_DELETE_LIMIT',
|
|
31
|
-
'SQLITE_LIKE_DOESNT_MATCH_BLOBS',
|
|
32
|
-
'SQLITE_OMIT_DEPRECATED',
|
|
33
|
-
'SQLITE_OMIT_PROGRESS_CALLBACK',
|
|
34
|
-
'SQLITE_OMIT_SHARED_CACHE',
|
|
35
|
-
'SQLITE_OMIT_TCL_VARIABLE',
|
|
36
|
-
'SQLITE_SOUNDEX',
|
|
37
|
-
'SQLITE_THREADSAFE=2',
|
|
38
|
-
'SQLITE_TRACE_SIZE_LIMIT=32',
|
|
39
|
-
'SQLITE_USE_URI=0',
|
|
40
|
-
],
|
|
41
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# ===
|
|
4
|
-
# This script defines and generates the bundled SQLite unit (sqlite3.c).
|
|
5
|
-
#
|
|
6
|
-
# The following steps are taken:
|
|
7
|
-
# 1. populate the shell environment with the defined compile-time options.
|
|
8
|
-
# 2. download and extract the SQLite source code into a temporary directory.
|
|
9
|
-
# 3. run "sh configure" and "make sqlite3.c" within the source directory.
|
|
10
|
-
# 4. copy the generated amalgamation into the output directory (./sqlite3).
|
|
11
|
-
# 5. export the defined compile-time options to a gyp file (./defines.gypi).
|
|
12
|
-
# 6. update the docs (../docs/compilation.md) with details of this distribution.
|
|
13
|
-
#
|
|
14
|
-
# When a user builds better-sqlite3, the following steps are taken:
|
|
15
|
-
# 1. node-gyp loads the previously exported compile-time options (defines.gypi).
|
|
16
|
-
# 2. the copy.js script copies the bundled amalgamation into the build folder.
|
|
17
|
-
# 3. node-gyp compiles the copied sqlite3.c along with better_sqlite3.cpp.
|
|
18
|
-
# 4. node-gyp links the two resulting binaries to generate better_sqlite3.node.
|
|
19
|
-
# ===
|
|
20
|
-
|
|
21
|
-
YEAR="2025"
|
|
22
|
-
VERSION="3490200"
|
|
23
|
-
|
|
24
|
-
# Defines below are sorted alphabetically
|
|
25
|
-
DEFINES="
|
|
26
|
-
HAVE_INT16_T=1
|
|
27
|
-
HAVE_INT32_T=1
|
|
28
|
-
HAVE_INT8_T=1
|
|
29
|
-
HAVE_STDINT_H=1
|
|
30
|
-
HAVE_UINT16_T=1
|
|
31
|
-
HAVE_UINT32_T=1
|
|
32
|
-
HAVE_UINT8_T=1
|
|
33
|
-
HAVE_USLEEP=1
|
|
34
|
-
SQLITE_DEFAULT_CACHE_SIZE=-16000
|
|
35
|
-
SQLITE_DEFAULT_FOREIGN_KEYS=1
|
|
36
|
-
SQLITE_DEFAULT_MEMSTATUS=0
|
|
37
|
-
SQLITE_DEFAULT_WAL_SYNCHRONOUS=1
|
|
38
|
-
SQLITE_DQS=0
|
|
39
|
-
SQLITE_ENABLE_COLUMN_METADATA
|
|
40
|
-
SQLITE_ENABLE_DBSTAT_VTAB
|
|
41
|
-
SQLITE_ENABLE_DESERIALIZE
|
|
42
|
-
SQLITE_ENABLE_FTS3
|
|
43
|
-
SQLITE_ENABLE_FTS3_PARENTHESIS
|
|
44
|
-
SQLITE_ENABLE_FTS4
|
|
45
|
-
SQLITE_ENABLE_FTS5
|
|
46
|
-
SQLITE_ENABLE_GEOPOLY
|
|
47
|
-
SQLITE_ENABLE_JSON1
|
|
48
|
-
SQLITE_ENABLE_MATH_FUNCTIONS
|
|
49
|
-
SQLITE_ENABLE_RTREE
|
|
50
|
-
SQLITE_ENABLE_STAT4
|
|
51
|
-
SQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
|
52
|
-
SQLITE_LIKE_DOESNT_MATCH_BLOBS
|
|
53
|
-
SQLITE_OMIT_DEPRECATED
|
|
54
|
-
SQLITE_OMIT_PROGRESS_CALLBACK
|
|
55
|
-
SQLITE_OMIT_SHARED_CACHE
|
|
56
|
-
SQLITE_OMIT_TCL_VARIABLE
|
|
57
|
-
SQLITE_SOUNDEX
|
|
58
|
-
SQLITE_THREADSAFE=2
|
|
59
|
-
SQLITE_TRACE_SIZE_LIMIT=32
|
|
60
|
-
SQLITE_USE_URI=0
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
# ========== START SCRIPT ========== #
|
|
64
|
-
|
|
65
|
-
echo "setting up environment..."
|
|
66
|
-
DEPS="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
|
|
67
|
-
TEMP="$DEPS/temp"
|
|
68
|
-
OUTPUT="$DEPS/sqlite3"
|
|
69
|
-
rm -rf "$TEMP"
|
|
70
|
-
rm -rf "$OUTPUT"
|
|
71
|
-
mkdir -p "$TEMP"
|
|
72
|
-
mkdir -p "$OUTPUT"
|
|
73
|
-
export CFLAGS=`echo $(echo "$DEFINES" | sed -e "/^\s*$/d" -e "s/^/-D/")`
|
|
74
|
-
|
|
75
|
-
echo "downloading source..."
|
|
76
|
-
curl -#f "https://www.sqlite.org/$YEAR/sqlite-src-$VERSION.zip" > "$TEMP/source.zip" || exit 1
|
|
77
|
-
|
|
78
|
-
echo "extracting source..."
|
|
79
|
-
unzip "$TEMP/source.zip" -d "$TEMP" > /dev/null || exit 1
|
|
80
|
-
cd "$TEMP/sqlite-src-$VERSION" || exit 1
|
|
81
|
-
|
|
82
|
-
echo "configuring amalgamation..."
|
|
83
|
-
sh configure > /dev/null || exit 1
|
|
84
|
-
|
|
85
|
-
echo "building amalgamation..."
|
|
86
|
-
make OPTIONS="$CFLAGS" sqlite3.c > /dev/null || exit 1
|
|
87
|
-
|
|
88
|
-
echo "copying amalgamation..."
|
|
89
|
-
cp sqlite3.c sqlite3.h sqlite3ext.h "$OUTPUT/" || exit 1
|
|
90
|
-
|
|
91
|
-
echo "applying patches..."
|
|
92
|
-
cd "$DEPS" || exit 1
|
|
93
|
-
for patch in patches/*.patch; do
|
|
94
|
-
# If a patch fails, just skip it an move on.
|
|
95
|
-
# By default `patch` tries to be clever and reverse the patch, so we have to specify `--forward`.
|
|
96
|
-
# If the patch fails, we # don't write .orig and .rej files, so we have to specify `--no-backup-if-mismatch` and `--reject-file=-`.
|
|
97
|
-
patch --batch --forward --no-backup-if-mismatch --reject-file=- -p2 < "$patch"
|
|
98
|
-
done
|
|
99
|
-
|
|
100
|
-
echo "updating gyp configs..."
|
|
101
|
-
GYP="$DEPS/defines.gypi"
|
|
102
|
-
printf "# THIS FILE IS AUTOMATICALLY GENERATED BY deps/download.sh (DO NOT EDIT)\n\n{\n 'defines': [\n" > "$GYP"
|
|
103
|
-
printf "$DEFINES" | sed -e "/^\s*$/d" -e "s/\(.*\)/ '\1',/" >> "$GYP"
|
|
104
|
-
printf " ],\n}\n" >> "$GYP"
|
|
105
|
-
|
|
106
|
-
echo "updating docs..."
|
|
107
|
-
DOCS="$DEPS/../docs/compilation.md"
|
|
108
|
-
MAJOR=`expr "${VERSION:0:1}" + 0`
|
|
109
|
-
MINOR=`expr "${VERSION:1:2}" + 0`
|
|
110
|
-
PATCH=`expr "${VERSION:3:2}" + 0`
|
|
111
|
-
sed -Ei.bak -e "s/version [0-9]+\.[0-9]+\.[0-9]+/version $MAJOR.$MINOR.$PATCH/g" "$DOCS"
|
|
112
|
-
sed -i.bak -e "/^SQLITE_/,\$d" "$DOCS"
|
|
113
|
-
sed -i.bak -e "/^HAVE_/,\$d" "$DOCS"
|
|
114
|
-
rm "$DOCS".bak
|
|
115
|
-
printf "$DEFINES" | sed -e "/^\s*$/d" >> "$DOCS"
|
|
116
|
-
printf "\`\`\`\n" >> "$DOCS"
|
|
117
|
-
|
|
118
|
-
echo "cleaning up..."
|
|
119
|
-
cd - > /dev/null || exit 1
|
|
120
|
-
rm -rf "$TEMP"
|
|
121
|
-
|
|
122
|
-
echo "done!"
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
diff --git a/deps/sqlite3/sqlite3.c b/deps/sqlite3/sqlite3.c
|
|
2
|
-
index b1a807f..38bd1e6 100644
|
|
3
|
-
--- a/deps/sqlite3/sqlite3.c
|
|
4
|
-
+++ b/deps/sqlite3/sqlite3.c
|
|
5
|
-
@@ -24887,8 +24887,8 @@ static const struct {
|
|
6
|
-
/* 1 */ { 6, "minute", 7.7379e+12, 60.0 },
|
|
7
|
-
/* 2 */ { 4, "hour", 1.2897e+11, 3600.0 },
|
|
8
|
-
/* 3 */ { 3, "day", 5373485.0, 86400.0 },
|
|
9
|
-
- /* 4 */ { 5, "month", 176546.0, 30.0*86400.0 },
|
|
10
|
-
- /* 5 */ { 4, "year", 14713.0, 365.0*86400.0 },
|
|
11
|
-
+ /* 4 */ { 5, "month", 176546.0, 2592000.0 },
|
|
12
|
-
+ /* 5 */ { 4, "year", 14713.0, 31536000.0 },
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/*
|