orange-orm 5.3.5-beta-0 → 5.3.5
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/dist/index.browser.mjs
CHANGED
|
@@ -3208,7 +3208,7 @@ function requireHttpInterceptor () {
|
|
|
3208
3208
|
get request() {
|
|
3209
3209
|
return {
|
|
3210
3210
|
use: (onFulfilled, onRejected) => {
|
|
3211
|
-
|
|
3211
|
+
const id = Math.random().toString(36).substring(2, 11); // unique id
|
|
3212
3212
|
this.requestInterceptors.push({ id, onFulfilled, onRejected });
|
|
3213
3213
|
return id;
|
|
3214
3214
|
},
|
|
@@ -3221,7 +3221,7 @@ function requireHttpInterceptor () {
|
|
|
3221
3221
|
get response() {
|
|
3222
3222
|
return {
|
|
3223
3223
|
use: (onFulfilled, onRejected) => {
|
|
3224
|
-
|
|
3224
|
+
const id = Math.random().toString(36).substring(2, 11); // unique id
|
|
3225
3225
|
this.responseInterceptors.push({ id, onFulfilled, onRejected });
|
|
3226
3226
|
return id;
|
|
3227
3227
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -3209,7 +3209,7 @@ function requireHttpInterceptor () {
|
|
|
3209
3209
|
get request() {
|
|
3210
3210
|
return {
|
|
3211
3211
|
use: (onFulfilled, onRejected) => {
|
|
3212
|
-
|
|
3212
|
+
const id = Math.random().toString(36).substring(2, 11); // unique id
|
|
3213
3213
|
this.requestInterceptors.push({ id, onFulfilled, onRejected });
|
|
3214
3214
|
return id;
|
|
3215
3215
|
},
|
|
@@ -3222,7 +3222,7 @@ function requireHttpInterceptor () {
|
|
|
3222
3222
|
get response() {
|
|
3223
3223
|
return {
|
|
3224
3224
|
use: (onFulfilled, onRejected) => {
|
|
3225
|
-
|
|
3225
|
+
const id = Math.random().toString(36).substring(2, 11); // unique id
|
|
3226
3226
|
this.responseInterceptors.push({ id, onFulfilled, onRejected });
|
|
3227
3227
|
return id;
|
|
3228
3228
|
},
|
package/docs/changelog.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orange-orm",
|
|
3
|
-
"version": "5.3.5
|
|
3
|
+
"version": "5.3.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"url": "https://github.com/sponsors/lroal"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
|
-
"test": "vitest run
|
|
56
|
+
"test": "vitest run",
|
|
57
57
|
"test:bun": "bun test --timeout=30000 ./tests/*.bun.test.js",
|
|
58
58
|
"test:deno": "deno test --allow-all --no-check --unstable-detect-cjs ./tests/*.deno.test.js",
|
|
59
59
|
"test:all": "echo 'Running Node.js tests...' && npm run test:node && echo 'Running Bun tests...' && npm run test:bun && echo 'Running Deno tests...' && npm run test:deno && echo 'All tests completed!'",
|
|
60
60
|
"test:all:parallel": "concurrently \"npm:test:node\" \"npm:test:bun\" \"npm:test:deno\"",
|
|
61
|
-
"coverage": "vitest run --coverage.enabled --coverage.reporter='text-summary'
|
|
62
|
-
"testw": "vitest
|
|
61
|
+
"coverage": "vitest run --coverage.enabled --coverage.reporter='text-summary'",
|
|
62
|
+
"testw": "vitest update",
|
|
63
63
|
"tscheck": "tsc ./src/index.d.ts --module commonjs --target es2022 --noEmit true --strict true --esModuleInterop true",
|
|
64
64
|
"concat-server": "node ./src/merge-server.js",
|
|
65
65
|
"concat-browser": "node ./src/merge-browser.js",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
130
130
|
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
131
131
|
"@typescript-eslint/parser": "^8.56.1",
|
|
132
|
-
"@vitest/coverage-v8": "^
|
|
132
|
+
"@vitest/coverage-v8": "^4.1.8",
|
|
133
133
|
"better-sqlite3": "^12.6.2",
|
|
134
134
|
"cors": "^2.8.5",
|
|
135
135
|
"eslint": "^8.57.0",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"rollup": "^2.52.7",
|
|
146
146
|
"tedious": "^19.2.1",
|
|
147
147
|
"typescript": "^5.4.5",
|
|
148
|
-
"vitest": "^
|
|
148
|
+
"vitest": "^4.1.8"
|
|
149
149
|
},
|
|
150
150
|
"engines": {
|
|
151
151
|
"node": ">= 8.0.0"
|
|
@@ -7,7 +7,7 @@ class InterceptorProxy {
|
|
|
7
7
|
get request() {
|
|
8
8
|
return {
|
|
9
9
|
use: (onFulfilled, onRejected) => {
|
|
10
|
-
|
|
10
|
+
const id = Math.random().toString(36).substring(2, 11); // unique id
|
|
11
11
|
this.requestInterceptors.push({ id, onFulfilled, onRejected });
|
|
12
12
|
return id;
|
|
13
13
|
},
|
|
@@ -20,7 +20,7 @@ class InterceptorProxy {
|
|
|
20
20
|
get response() {
|
|
21
21
|
return {
|
|
22
22
|
use: (onFulfilled, onRejected) => {
|
|
23
|
-
|
|
23
|
+
const id = Math.random().toString(36).substring(2, 11); // unique id
|
|
24
24
|
this.responseInterceptors.push({ id, onFulfilled, onRejected });
|
|
25
25
|
return id;
|
|
26
26
|
},
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>Orange Sync Demo</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-CowDBoYO.js"></script>
|
|
8
|
-
<link rel="stylesheet" crossorigin href="/assets/index-DUHjdINY.css">
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<div id="app"></div>
|
|
12
|
-
</body>
|
|
13
|
-
</html>
|
|
Binary file
|