File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ import StorageController from './StorageController';
38
38
import WebSocketController from './WebSocketController' ;
39
39
import type { EventuallyQueue } from './CoreManager' ;
40
40
41
- export const Parse = {
41
+ const Parse = {
42
42
ACL ,
43
43
Analytics,
44
44
AnonymousUtils,
@@ -416,5 +416,7 @@ if (process.env.PARSE_BUILD === 'node') {
416
416
if ( process . env . PARSE_BUILD === 'browser' ) {
417
417
( globalThis as any ) . Parse = Parse ;
418
418
}
419
+ // For legacy requires, of the form `var Parse = require('parse').Parse`
420
+ Parse . Parse = Parse ;
419
421
420
422
export default Parse ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import User from './ParseUser';
20
20
import ParseLiveQuery from './ParseLiveQuery' ;
21
21
import LiveQueryClient from './LiveQueryClient' ;
22
22
import type { EventuallyQueue } from './CoreManager' ;
23
- export declare const Parse : {
23
+ declare const Parse : {
24
24
ACL : typeof ACL ;
25
25
Analytics : typeof Analytics ;
26
26
AnonymousUtils : {
You can’t perform that action at this time.
0 commit comments