@cedarjs/api-server 2.2.1 → 2.2.2-next.31
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/cjs/utils.js +2 -2
- package/dist/cjs/watch.js +2 -2
- package/dist/utils.js +2 -2
- package/dist/watch.js +2 -2
- package/package.json +9 -9
package/dist/cjs/utils.js
CHANGED
|
@@ -24,7 +24,7 @@ __export(utils_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(utils_exports);
|
|
25
25
|
function debounce(func, wait) {
|
|
26
26
|
let timeoutId = null;
|
|
27
|
-
const debounced = (
|
|
27
|
+
const debounced = (...args) => {
|
|
28
28
|
if (timeoutId !== null) {
|
|
29
29
|
clearTimeout(timeoutId);
|
|
30
30
|
}
|
|
@@ -32,7 +32,7 @@ function debounce(func, wait) {
|
|
|
32
32
|
timeoutId = null;
|
|
33
33
|
func(...args);
|
|
34
34
|
}, wait);
|
|
35
|
-
}
|
|
35
|
+
};
|
|
36
36
|
debounced.cancel = () => {
|
|
37
37
|
if (timeoutId !== null) {
|
|
38
38
|
clearTimeout(timeoutId);
|
package/dist/cjs/watch.js
CHANGED
|
@@ -45,7 +45,7 @@ var import_project_config2 = require("@cedarjs/project-config");
|
|
|
45
45
|
// src/utils.ts
|
|
46
46
|
function debounce(func, wait) {
|
|
47
47
|
let timeoutId = null;
|
|
48
|
-
const debounced = (
|
|
48
|
+
const debounced = (...args) => {
|
|
49
49
|
if (timeoutId !== null) {
|
|
50
50
|
clearTimeout(timeoutId);
|
|
51
51
|
}
|
|
@@ -53,7 +53,7 @@ function debounce(func, wait) {
|
|
|
53
53
|
timeoutId = null;
|
|
54
54
|
func(...args);
|
|
55
55
|
}, wait);
|
|
56
|
-
}
|
|
56
|
+
};
|
|
57
57
|
debounced.cancel = () => {
|
|
58
58
|
if (timeoutId !== null) {
|
|
59
59
|
clearTimeout(timeoutId);
|
package/dist/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function debounce(func, wait) {
|
|
2
2
|
let timeoutId = null;
|
|
3
|
-
const debounced = (
|
|
3
|
+
const debounced = (...args) => {
|
|
4
4
|
if (timeoutId !== null) {
|
|
5
5
|
clearTimeout(timeoutId);
|
|
6
6
|
}
|
|
@@ -8,7 +8,7 @@ function debounce(func, wait) {
|
|
|
8
8
|
timeoutId = null;
|
|
9
9
|
func(...args);
|
|
10
10
|
}, wait);
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
debounced.cancel = () => {
|
|
13
13
|
if (timeoutId !== null) {
|
|
14
14
|
clearTimeout(timeoutId);
|
package/dist/watch.js
CHANGED
|
@@ -16,7 +16,7 @@ import { ensurePosixPath, getPaths as getPaths2, getDbDir } from "@cedarjs/proje
|
|
|
16
16
|
// src/utils.ts
|
|
17
17
|
function debounce(func, wait) {
|
|
18
18
|
let timeoutId = null;
|
|
19
|
-
const debounced = (
|
|
19
|
+
const debounced = (...args) => {
|
|
20
20
|
if (timeoutId !== null) {
|
|
21
21
|
clearTimeout(timeoutId);
|
|
22
22
|
}
|
|
@@ -24,7 +24,7 @@ function debounce(func, wait) {
|
|
|
24
24
|
timeoutId = null;
|
|
25
25
|
func(...args);
|
|
26
26
|
}, wait);
|
|
27
|
-
}
|
|
27
|
+
};
|
|
28
28
|
debounced.cancel = () => {
|
|
29
29
|
if (timeoutId !== null) {
|
|
30
30
|
clearTimeout(timeoutId);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/api-server",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2-next.31+ff2776832",
|
|
4
4
|
"description": "CedarJS's HTTP server for Serverless Functions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -111,11 +111,11 @@
|
|
|
111
111
|
"test:watch": "vitest watch"
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
|
-
"@cedarjs/context": "2.2.
|
|
115
|
-
"@cedarjs/fastify-web": "2.2.
|
|
116
|
-
"@cedarjs/internal": "2.2.
|
|
117
|
-
"@cedarjs/project-config": "2.2.
|
|
118
|
-
"@cedarjs/web-server": "2.2.
|
|
114
|
+
"@cedarjs/context": "2.2.2-next.31+ff2776832",
|
|
115
|
+
"@cedarjs/fastify-web": "2.2.2-next.31+ff2776832",
|
|
116
|
+
"@cedarjs/internal": "2.2.2-next.31+ff2776832",
|
|
117
|
+
"@cedarjs/project-config": "2.2.2-next.31+ff2776832",
|
|
118
|
+
"@cedarjs/web-server": "2.2.2-next.31+ff2776832",
|
|
119
119
|
"@fastify/multipart": "9.3.0",
|
|
120
120
|
"@fastify/url-data": "6.0.3",
|
|
121
121
|
"ansis": "4.2.0",
|
|
@@ -127,14 +127,14 @@
|
|
|
127
127
|
"fastify-raw-body": "5.0.0",
|
|
128
128
|
"pretty-bytes": "5.6.0",
|
|
129
129
|
"pretty-ms": "7.0.1",
|
|
130
|
-
"qs": "6.14.
|
|
130
|
+
"qs": "6.14.1",
|
|
131
131
|
"split2": "4.2.0",
|
|
132
132
|
"yargs": "17.7.2"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
135
|
"@cedarjs/framework-tools": "2.2.1",
|
|
136
136
|
"@types/aws-lambda": "8.10.159",
|
|
137
|
-
"@types/dotenv-defaults": "^
|
|
137
|
+
"@types/dotenv-defaults": "^5.0.0",
|
|
138
138
|
"@types/qs": "6.14.0",
|
|
139
139
|
"@types/split2": "4.2.3",
|
|
140
140
|
"@types/yargs": "17.0.35",
|
|
@@ -155,5 +155,5 @@
|
|
|
155
155
|
"publishConfig": {
|
|
156
156
|
"access": "public"
|
|
157
157
|
},
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "ff2776832afcb70cd4ca38986ec4e37043e1c44b"
|
|
159
159
|
}
|