@veryfront/ext-db-sqlite 0.1.1230-rc.11277 → 0.1.1230-rc.11282
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/esm/_dnt.shims.js +9 -2
- package/package.json +2 -2
package/esm/_dnt.shims.js
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
import { Deno } from "@deno/shim-deno";
|
|
2
|
-
|
|
1
|
+
import { Deno as dntShimDeno } from "@deno/shim-deno";
|
|
2
|
+
const dntNativeDeno = globalThis.Deno;
|
|
3
|
+
// Prefer the host runtime's own Deno. The `@deno/shim-deno` fallback exists
|
|
4
|
+
// for Node and Bun; under Deno it shadows working native APIs with node:net
|
|
5
|
+
// reimplementations that throw (e.g. Deno.listen reads `server._handle.fd`,
|
|
6
|
+
// which is null on Deno's node compatibility layer).
|
|
7
|
+
export const Deno = typeof dntNativeDeno?.version?.deno === "string"
|
|
8
|
+
? dntNativeDeno
|
|
9
|
+
: dntShimDeno;
|
|
3
10
|
import { crypto } from "@deno/shim-crypto";
|
|
4
11
|
export { crypto } from "@deno/shim-crypto";
|
|
5
12
|
import { setInterval, setTimeout } from "@deno/shim-timers";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veryfront/ext-db-sqlite",
|
|
3
|
-
"version": "0.1.1230-rc.
|
|
3
|
+
"version": "0.1.1230-rc.11282",
|
|
4
4
|
"description": "Veryfront first-party extension package for ext-db-sqlite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"veryfront",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"better-sqlite3": "13.0.3"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"veryfront": "^0.1.1230-rc.
|
|
59
|
+
"veryfront": "^0.1.1230-rc.11282"
|
|
60
60
|
},
|
|
61
61
|
"type": "module",
|
|
62
62
|
"types": "./esm/extensions/ext-db-sqlite/src/index.d.ts",
|