parse 7.1.0-alpha.1 → 7.1.1-alpha.1

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.1.0-alpha.1",
20
+ VERSION: 'js' + "7.1.1-alpha.1",
21
21
  APPLICATION_ID: null,
22
22
  JAVASCRIPT_KEY: null,
23
23
  MAINTENANCE_KEY: null,
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
4
5
  _Object$defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.default = void 0;
8
- let uuid = require('uuid').v4;
9
+ var _globalThis2 = _interopRequireDefault(require("@babel/runtime-corejs3/core-js/global-this"));
10
+ let uuid = () => _globalThis2.default.crypto.randomUUID();
9
11
 
10
- // Use uuid package for browser builds
12
+ // Use native crypto.randomUUID() from the Web Crypto API in browsers
11
13
 
12
14
  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.1.0-alpha.1",
17
+ VERSION: 'js' + "7.1.1-alpha.1",
18
18
  APPLICATION_ID: null,
19
19
  JAVASCRIPT_KEY: null,
20
20
  MAINTENANCE_KEY: null,
package/lib/node/uuid.js CHANGED
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  let uuid = require('crypto').randomUUID;
8
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
9
+ // Use Node.js crypto.randomUUID() for Node and React Native builds
11
10
 
12
11
  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.1.0-alpha.1",
13
+ VERSION: 'js' + "7.1.1-alpha.1",
14
14
  APPLICATION_ID: null,
15
15
  JAVASCRIPT_KEY: null,
16
16
  MAINTENANCE_KEY: null,
@@ -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.1.0-alpha.1",
20
+ VERSION: 'js' + "7.1.1-alpha.1",
21
21
  APPLICATION_ID: null,
22
22
  JAVASCRIPT_KEY: null,
23
23
  MAINTENANCE_KEY: null,
package/lib/weapp/uuid.js CHANGED
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
4
5
  _Object$defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.default = void 0;
9
+ var _globalThis2 = _interopRequireDefault(require("@babel/runtime-corejs3/core-js/global-this"));
8
10
  let uuid = function () {
9
11
  const s = [];
10
12
  const hexDigits = '0123456789abcdef';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parse",
3
- "version": "7.1.0-alpha.1",
3
+ "version": "7.1.1-alpha.1",
4
4
  "description": "Parse JavaScript SDK",
5
5
  "homepage": "https://parseplatform.org",
6
6
  "keywords": [
@@ -33,7 +33,6 @@
33
33
  "dependencies": {
34
34
  "@babel/runtime-corejs3": "7.28.4",
35
35
  "react-native-crypto-js": "1.0.0",
36
- "uuid": "13.0.0",
37
36
  "ws": "8.18.3"
38
37
  },
39
38
  "devDependencies": {
@@ -136,7 +135,6 @@
136
135
  ".*": "./babel-jest.js"
137
136
  },
138
137
  "transformIgnorePatterns": [
139
- "/node_modules/(?!uuid)/",
140
138
  "package.json"
141
139
  ],
142
140
  "testEnvironment": "jsdom"