message: fix: remove global document object
  BREAKING CHANGES:
  The `document` object is no longer property of the `global` object. This
  may cause behavioral changes in some plugin that use the `document`
  object to determine if they're running in browser context.
  fixes
diff: @@ -66,17 +66,12 @@ export class NativeScriptSanitizer extends Sanitizer {
  }
  }
  -// Add a fake polyfill for the document object
  -(<any>global).document = (<any>global).document || {
  - getElementById: () => { return undefined; }
  -};
  -
  -const doc = (<any>global).document;
  -doc.body = Object.assign(doc.body || {}, {
  +export class NativeScriptDocument {
  + // Required by the AnimationDriver
  + public body: any = {
  isOverride: true,
  -});
  + };
  -export class NativeScriptDocument {
  createElement(tag: string) {
  throw new Error("NativeScriptDocument is not DOM Document. There is no createElement() method.");
  }
  @@ -85,7 +80,7 @@ export class NativeScriptDocument {
  export const COMMON_PROVIDERS = [
  defaultPageFactoryProvider,
  { provide: Sanitizer, useClass: NativeScriptSanitizer, deps: [] },
  - { provide: DOCUMENT, useValue: doc },
  + { provide: DOCUMENT, useClass: NativeScriptDocument, deps: [] },
  ];
  export class NativeScriptPlatformRef extends PlatformRef {
  