prostgles-server 2.0.312 → 2.0.314

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 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,SAAS,EAAC;QAC/B,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"}
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
@@ -1,6 +1,6 @@
1
1
  export { get } from "prostgles-types";
2
2
  export const clone = <T extends any[] | Record<string, any>>(obj: T): T => {
3
- if(structuredClone !== undefined){
3
+ if(typeof structuredClone !== "undefined"){
4
4
  return structuredClone(obj);
5
5
  }
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-server",
3
- "version": "2.0.312",
3
+ "version": "2.0.314",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +1 @@
1
- 2891
1
+ 6216
@@ -10,7 +10,7 @@
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@types/node": "^14.14.16",
13
- "prostgles-client": "^1.5.173",
13
+ "prostgles-client": "^1.5.180",
14
14
  "prostgles-types": "^1.5.68",
15
15
  "socket.io-client": "^4.5.1"
16
16
  }
@@ -67,17 +67,17 @@
67
67
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
68
68
  },
69
69
  "node_modules/prostgles-client": {
70
- "version": "1.5.173",
71
- "resolved": "https://registry.npmjs.org/prostgles-client/-/prostgles-client-1.5.173.tgz",
72
- "integrity": "sha512-rf8wGFFB3+lwStLBVCNIjDL1y8AFkJ2lPHC5VZeko/nzoPDJ+mTsfw24RDcRZCM+JuJ7InZwck5e5VptWytEhQ==",
70
+ "version": "1.5.180",
71
+ "resolved": "https://registry.npmjs.org/prostgles-client/-/prostgles-client-1.5.180.tgz",
72
+ "integrity": "sha512-A5KA854qMK1pt3dorWLdZMgpQtvNbJEqwFYaAaxdMG/If9YLiFlwSupkg0UgP32jM7doOCtOlgtHYDd4MpUA3w==",
73
73
  "dependencies": {
74
- "prostgles-types": "^1.5.175"
74
+ "prostgles-types": "^1.5.176"
75
75
  }
76
76
  },
77
77
  "node_modules/prostgles-types": {
78
- "version": "1.5.175",
79
- "resolved": "https://registry.npmjs.org/prostgles-types/-/prostgles-types-1.5.175.tgz",
80
- "integrity": "sha512-vx8ygw2tpSnlB+2N9YvA/fdL1OsSjFt73TSaMHgWoIKXp8grc0U1sVTa9ok4zO7ehgXh4u4IZNaVuUGH0yPV0g=="
78
+ "version": "1.5.176",
79
+ "resolved": "https://registry.npmjs.org/prostgles-types/-/prostgles-types-1.5.176.tgz",
80
+ "integrity": "sha512-ahphcQ7aVJ/3QNZG1UP3h+pD0NGB73yWzdzKfdQaRVDEmR8p0fzAocAv3MhfaNaanBY6CYTqj0+TJpN/UcqAig=="
81
81
  },
82
82
  "node_modules/socket.io-client": {
83
83
  "version": "4.5.1",
@@ -176,17 +176,17 @@
176
176
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
177
177
  },
178
178
  "prostgles-client": {
179
- "version": "1.5.173",
180
- "resolved": "https://registry.npmjs.org/prostgles-client/-/prostgles-client-1.5.173.tgz",
181
- "integrity": "sha512-rf8wGFFB3+lwStLBVCNIjDL1y8AFkJ2lPHC5VZeko/nzoPDJ+mTsfw24RDcRZCM+JuJ7InZwck5e5VptWytEhQ==",
179
+ "version": "1.5.180",
180
+ "resolved": "https://registry.npmjs.org/prostgles-client/-/prostgles-client-1.5.180.tgz",
181
+ "integrity": "sha512-A5KA854qMK1pt3dorWLdZMgpQtvNbJEqwFYaAaxdMG/If9YLiFlwSupkg0UgP32jM7doOCtOlgtHYDd4MpUA3w==",
182
182
  "requires": {
183
- "prostgles-types": "^1.5.175"
183
+ "prostgles-types": "^1.5.176"
184
184
  }
185
185
  },
186
186
  "prostgles-types": {
187
- "version": "1.5.175",
188
- "resolved": "https://registry.npmjs.org/prostgles-types/-/prostgles-types-1.5.175.tgz",
189
- "integrity": "sha512-vx8ygw2tpSnlB+2N9YvA/fdL1OsSjFt73TSaMHgWoIKXp8grc0U1sVTa9ok4zO7ehgXh4u4IZNaVuUGH0yPV0g=="
187
+ "version": "1.5.176",
188
+ "resolved": "https://registry.npmjs.org/prostgles-types/-/prostgles-types-1.5.176.tgz",
189
+ "integrity": "sha512-ahphcQ7aVJ/3QNZG1UP3h+pD0NGB73yWzdzKfdQaRVDEmR8p0fzAocAv3MhfaNaanBY6CYTqj0+TJpN/UcqAig=="
190
190
  },
191
191
  "socket.io-client": {
192
192
  "version": "4.5.1",
@@ -13,7 +13,7 @@
13
13
  "license": "ISC",
14
14
  "dependencies": {
15
15
  "@types/node": "^14.14.16",
16
- "prostgles-client": "^1.5.173",
16
+ "prostgles-client": "^1.5.180",
17
17
  "prostgles-types": "^1.5.68",
18
18
  "socket.io-client": "^4.5.1"
19
19
  }
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "../..": {
23
23
  "name": "prostgles-server",
24
- "version": "2.0.311",
24
+ "version": "2.0.313",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@aws-sdk/client-s3": "^3.121.0",