@aurelia/platform
Advanced tools
Comparing version 0.8.0-dev.202011191306 to 0.8.0-dev.202011201531
@@ -20,3 +20,2 @@ const lookup = new Map(); | ||
this.Reflect = 'Reflect' in overrides ? overrides.Reflect : g.Reflect; | ||
this.Proxy = 'Proxy' in overrides ? overrides.Proxy : g.Proxy; | ||
this.clearInterval = 'clearInterval' in overrides ? overrides.clearInterval : (_b = (_a = g.clearInterval) === null || _a === void 0 ? void 0 : _a.bind(g)) !== null && _b !== void 0 ? _b : notImplemented('clearInterval'); | ||
@@ -23,0 +22,0 @@ this.clearTimeout = 'clearTimeout' in overrides ? overrides.clearTimeout : (_d = (_c = g.clearTimeout) === null || _c === void 0 ? void 0 : _c.bind(g)) !== null && _d !== void 0 ? _d : notImplemented('clearTimeout'); |
@@ -9,3 +9,2 @@ export declare class Platform<TGlobal extends typeof globalThis = typeof globalThis> { | ||
readonly Reflect: TGlobal['Reflect']; | ||
readonly Proxy: TGlobal['Proxy']; | ||
readonly clearInterval: TGlobal['clearInterval']; | ||
@@ -12,0 +11,0 @@ readonly clearTimeout: TGlobal['clearTimeout']; |
@@ -32,3 +32,2 @@ (function (factory) { | ||
this.Reflect = 'Reflect' in overrides ? overrides.Reflect : g.Reflect; | ||
this.Proxy = 'Proxy' in overrides ? overrides.Proxy : g.Proxy; | ||
this.clearInterval = 'clearInterval' in overrides ? overrides.clearInterval : (_b = (_a = g.clearInterval) === null || _a === void 0 ? void 0 : _a.bind(g)) !== null && _b !== void 0 ? _b : notImplemented('clearInterval'); | ||
@@ -35,0 +34,0 @@ this.clearTimeout = 'clearTimeout' in overrides ? overrides.clearTimeout : (_d = (_c = g.clearTimeout) === null || _c === void 0 ? void 0 : _c.bind(g)) !== null && _d !== void 0 ? _d : notImplemented('clearTimeout'); |
{ | ||
"name": "@aurelia/platform", | ||
"version": "0.8.0-dev.202011191306", | ||
"version": "0.8.0-dev.202011201531", | ||
"main": "dist/umd/index.js", | ||
@@ -39,3 +39,3 @@ "module": "dist/esnext/index.js", | ||
}, | ||
"gitHead": "768e70c6004a34ea50fac2be84fec4c4bfac659f" | ||
"gitHead": "a00d1703e70fbd66cd8a81881e0eb6ee49df10a1" | ||
} |
@@ -25,5 +25,2 @@ const lookup = new Map<object, Platform>(); | ||
// http://www.ecma-international.org/ecma-262/#sec-proxy-constructor | ||
public readonly Proxy: TGlobal['Proxy']; | ||
// https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope | ||
@@ -55,3 +52,2 @@ // Note: we're essentially assuming that all of these are available, even if we aren't even | ||
this.Reflect = 'Reflect' in overrides ? overrides.Reflect! : g.Reflect; | ||
this.Proxy = 'Proxy' in overrides ? overrides.Proxy! : g.Proxy; | ||
@@ -58,0 +54,0 @@ this.clearInterval = 'clearInterval' in overrides ? overrides.clearInterval! : g.clearInterval?.bind(g) ?? notImplemented('clearInterval'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
141278
2220