Skip to content

Commit 1a2521d

Browse files
authored
fix: Incorrect dependency chain of Parse uses browser build instead of Node build (#10067)
1 parent c4c8f67 commit 1a2521d

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@graphql-tools/schema": "10.0.23",
2727
"@graphql-tools/utils": "10.8.6",
2828
"@parse/fs-files-adapter": "3.0.0",
29-
"@parse/push-adapter": "8.3.0",
29+
"@parse/push-adapter": "8.3.1",
3030
"bcryptjs": "3.0.3",
3131
"commander": "14.0.3",
3232
"cors": "2.8.6",

src/Controllers/FilesController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { randomHexString } from '../cryptoUtils';
33
import AdaptableController from './AdaptableController';
44
import { validateFilename, FilesAdapter } from '../Adapters/Files/FilesAdapter';
55
import path from 'path';
6-
const Parse = require('parse').Parse;
6+
const Parse = require('parse/node').Parse;
77

88
const legacyFilesRegex = new RegExp(
99
'^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}-.*'

0 commit comments

Comments
 (0)