prostgles-server 2.0.312 → 2.0.313
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/utils.js +1 -1
- package/dist/utils.js.map +1 -1
- package/lib/utils.js +1 -1
- package/lib/utils.ts +1 -1
- package/package.json +1 -1
- package/tests/client/PID.txt +1 -1
- package/tests/server/package-lock.json +1 -1
package/dist/utils.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.clone = exports.get = void 0;
|
|
|
4
4
|
var prostgles_types_1 = require("prostgles-types");
|
|
5
5
|
Object.defineProperty(exports, "get", { enumerable: true, get: function () { return prostgles_types_1.get; } });
|
|
6
6
|
const clone = (obj) => {
|
|
7
|
-
if (structuredClone !== undefined) {
|
|
7
|
+
if (typeof structuredClone !== "undefined") {
|
|
8
8
|
return structuredClone(obj);
|
|
9
9
|
}
|
|
10
10
|
return JSON.parse(JSON.stringify(obj));
|
package/dist/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../lib/utils.ts"],"names":[],"mappings":";;;AAAA,mDAAsC;AAA7B,sGAAA,GAAG,OAAA;AACL,MAAM,KAAK,GAAG,CAAwC,GAAM,EAAK,EAAE;IACxE,IAAG,eAAe,KAAK,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../lib/utils.ts"],"names":[],"mappings":";;;AAAA,mDAAsC;AAA7B,sGAAA,GAAG,OAAA;AACL,MAAM,KAAK,GAAG,CAAwC,GAAM,EAAK,EAAE;IACxE,IAAG,OAAO,eAAe,KAAK,WAAW,EAAC;QACxC,OAAO,eAAe,CAAC,GAAG,CAAC,CAAC;KAC7B;IAED,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC,CAAA;AANY,QAAA,KAAK,SAMjB"}
|
package/lib/utils.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.clone = exports.get = void 0;
|
|
|
4
4
|
var prostgles_types_1 = require("prostgles-types");
|
|
5
5
|
Object.defineProperty(exports, "get", { enumerable: true, get: function () { return prostgles_types_1.get; } });
|
|
6
6
|
const clone = (obj) => {
|
|
7
|
-
if (structuredClone !== undefined) {
|
|
7
|
+
if (typeof structuredClone !== "undefined") {
|
|
8
8
|
return structuredClone(obj);
|
|
9
9
|
}
|
|
10
10
|
return JSON.parse(JSON.stringify(obj));
|
package/lib/utils.ts
CHANGED
package/package.json
CHANGED
package/tests/client/PID.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4132
|