parse 7.0.2 → 7.1.0

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.
@@ -17,7 +17,7 @@ const config = {
17
17
  SERVER_URL: 'https://api.parse.com/1',
18
18
  LIVEQUERY_SERVER_URL: null,
19
19
  ENCRYPTED_KEY: null,
20
- VERSION: 'js' + "7.0.2",
20
+ VERSION: 'js' + "7.1.0",
21
21
  APPLICATION_ID: null,
22
22
  JAVASCRIPT_KEY: null,
23
23
  MAINTENANCE_KEY: null,
@@ -5,6 +5,8 @@ _Object$defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = void 0;
8
- var _uuid = require("uuid");
9
- let uuid = _uuid.v4;
8
+ let uuid = require('uuid').v4;
9
+
10
+ // Use uuid package for browser builds
11
+
10
12
  var _default = exports.default = uuid;
@@ -14,7 +14,7 @@ const config = {
14
14
  SERVER_URL: 'https://api.parse.com/1',
15
15
  LIVEQUERY_SERVER_URL: null,
16
16
  ENCRYPTED_KEY: null,
17
- VERSION: 'js' + "7.0.2",
17
+ VERSION: 'js' + "7.1.0",
18
18
  APPLICATION_ID: null,
19
19
  JAVASCRIPT_KEY: null,
20
20
  MAINTENANCE_KEY: null,
package/lib/node/uuid.js CHANGED
@@ -4,6 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _uuid = require("uuid");
8
- let uuid = _uuid.v4;
7
+ let uuid = require('crypto').randomUUID;
8
+
9
+ // Use Node.js built-in crypto.randomUUID() for Node and React Native builds
10
+ // React Native tests run in Node.js environment, and uuid v13 is ESM-only
11
+
9
12
  var _default = exports.default = uuid;
@@ -10,7 +10,7 @@ var config = {
10
10
  SERVER_URL: 'https://api.parse.com/1',
11
11
  LIVEQUERY_SERVER_URL: null,
12
12
  ENCRYPTED_KEY: null,
13
- VERSION: 'js' + "7.0.2",
13
+ VERSION: 'js' + "7.1.0",
14
14
  APPLICATION_ID: null,
15
15
  JAVASCRIPT_KEY: null,
16
16
  MAINTENANCE_KEY: null,
@@ -2,6 +2,5 @@ Object.defineProperty(exports, "__esModule", {
2
2
  value: true
3
3
  });
4
4
  exports.default = void 0;
5
- var _uuid = require("uuid");
6
- var uuid = _uuid.v4;
5
+ var uuid = require('crypto').randomUUID;
7
6
  var _default = exports.default = uuid;
@@ -17,7 +17,7 @@ const config = {
17
17
  SERVER_URL: 'https://api.parse.com/1',
18
18
  LIVEQUERY_SERVER_URL: null,
19
19
  ENCRYPTED_KEY: null,
20
- VERSION: 'js' + "7.0.2",
20
+ VERSION: 'js' + "7.1.0",
21
21
  APPLICATION_ID: null,
22
22
  JAVASCRIPT_KEY: null,
23
23
  MAINTENANCE_KEY: null,
package/lib/weapp/uuid.js CHANGED
@@ -5,7 +5,6 @@ _Object$defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = void 0;
8
- var _uuid = require("uuid");
9
8
  let uuid = function () {
10
9
  const s = [];
11
10
  const hexDigits = '0123456789abcdef';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parse",
3
- "version": "7.0.2",
3
+ "version": "7.1.0",
4
4
  "description": "Parse JavaScript SDK",
5
5
  "homepage": "https://parseplatform.org",
6
6
  "keywords": [
@@ -32,38 +32,38 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime-corejs3": "7.28.4",
35
- "idb-keyval": "6.2.2",
36
35
  "react-native-crypto-js": "1.0.0",
37
- "uuid": "10.0.0",
36
+ "uuid": "13.0.0",
38
37
  "ws": "8.18.3"
39
38
  },
40
39
  "devDependencies": {
41
- "@babel/core": "7.28.4",
40
+ "idb-keyval": "6.2.2",
41
+ "@babel/core": "7.28.5",
42
42
  "@babel/plugin-proposal-class-properties": "7.18.6",
43
43
  "@babel/plugin-transform-runtime": "7.28.5",
44
44
  "@babel/preset-env": "7.26.9",
45
- "@babel/preset-react": "7.27.1",
45
+ "@babel/preset-react": "7.28.5",
46
46
  "@babel/preset-typescript": "7.27.1",
47
- "@eslint/js": "9.38.0",
47
+ "@eslint/js": "9.39.1",
48
48
  "@parse/minami": "git+https://github.com/parse-community/minami#main",
49
49
  "@rollup/plugin-terser": "0.4.4",
50
50
  "@saithodev/semantic-release-backmerge": "4.0.1",
51
51
  "@semantic-release/changelog": "6.0.3",
52
52
  "@semantic-release/commit-analyzer": "13.0.1",
53
53
  "@semantic-release/git": "10.0.1",
54
- "@semantic-release/github": "11.0.6",
55
- "@semantic-release/npm": "12.0.2",
54
+ "@semantic-release/github": "12.0.2",
55
+ "@semantic-release/npm": "13.1.2",
56
56
  "@semantic-release/release-notes-generator": "14.1.0",
57
57
  "@types/facebook-js-sdk": "3.3.11",
58
58
  "babel-jest": "30.2.0",
59
59
  "babel-plugin-minify-dead-code-elimination": "0.5.2",
60
60
  "babel-plugin-transform-inline-environment-variables": "0.4.4",
61
61
  "codecov": "3.8.3",
62
- "core-js": "3.46.0",
62
+ "core-js": "3.47.0",
63
63
  "cross-env": "10.1.0",
64
- "eslint": "9.37.0",
64
+ "eslint": "9.39.1",
65
65
  "eslint-plugin-expect-type": "0.6.2",
66
- "eslint-plugin-jsdoc": "61.1.7",
66
+ "eslint-plugin-jsdoc": "61.4.1",
67
67
  "express": "5.1.0",
68
68
  "gulp": "5.0.1",
69
69
  "gulp-babel": "8.0.0",
@@ -72,25 +72,22 @@
72
72
  "jasmine-reporters": "2.5.2",
73
73
  "jasmine-spec-reporter": "7.0.0",
74
74
  "jest": "29.7.0",
75
- "jest-environment-jsdom": "30.0.5",
76
- "jsdoc": "4.0.4",
75
+ "jest-environment-jsdom": "30.2.0",
76
+ "jsdoc": "4.0.5",
77
77
  "jsdoc-babel": "0.5.0",
78
- "lint-staged": "16.2.3",
78
+ "lint-staged": "16.2.7",
79
79
  "madge": "8.0.0",
80
80
  "metro-react-native-babel-preset": "0.77.0",
81
- "mongodb-runner": "5.10.0",
82
- "parse-server": "8.2.2",
83
- "puppeteer": "24.25.0",
81
+ "mongodb-runner": "6.2.0",
82
+ "parse-server": "8.4.0",
83
+ "puppeteer": "24.31.0",
84
84
  "regenerator-runtime": "0.14.1",
85
- "semantic-release": "24.2.9",
86
- "typescript-eslint": "8.46.1",
87
- "vite": "6.3.4",
85
+ "semantic-release": "25.0.2",
86
+ "typescript-eslint": "8.48.0",
87
+ "vite": "6.4.1",
88
88
  "vite-plugin-commonjs": "0.10.4",
89
89
  "vite-plugin-node-polyfills": "0.24.0"
90
90
  },
91
- "optionalDependencies": {
92
- "crypto-js": "4.2.0"
93
- },
94
91
  "scripts": {
95
92
  "build": "node build_releases.js",
96
93
  "build:types": "tsc",
@@ -119,7 +116,7 @@
119
116
  "cross-env": "cross-env"
120
117
  },
121
118
  "engines": {
122
- "node": "18 || 19 || 20 || 22"
119
+ "node": "18 || 19 || 20 || 22 || 24"
123
120
  },
124
121
  "jest": {
125
122
  "automock": true,
@@ -139,7 +136,7 @@
139
136
  ".*": "./babel-jest.js"
140
137
  },
141
138
  "transformIgnorePatterns": [
142
- "/node_modules/",
139
+ "/node_modules/(?!uuid)/",
143
140
  "package.json"
144
141
  ],
145
142
  "testEnvironment": "jsdom"
package/types/tests.ts CHANGED
@@ -904,6 +904,7 @@ async function test_cancel_query() {
904
904
  query.cancel();
905
905
  }
906
906
 
907
+ /* eslint-disable @typescript-eslint/no-redundant-type-constituents -- object is intentionally included for testing Exclude<FieldType, object>. */
907
908
  type FieldType =
908
909
  | string
909
910
  | number
@@ -916,6 +917,7 @@ type FieldType =
916
917
  | Parse.Pointer
917
918
  | Parse.Polygon
918
919
  | Parse.Relation;
920
+ /* eslint-enable @typescript-eslint/no-redundant-type-constituents */
919
921
  async function test_schema(
920
922
  anyField: FieldType,
921
923
  notString: Exclude<FieldType, string>,