Socket
Socket
Sign inDemoInstall

@aurelia/platform-browser

Package Overview
Dependencies
Maintainers
1
Versions
539
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurelia/platform-browser - npm Package Compare versions

Comparing version 0.8.0-dev.202010270611 to 0.8.0-dev.202011010944

7

dist/esnext/index.js

@@ -10,3 +10,3 @@ import { Platform, TaskQueue } from '@aurelia/platform';

constructor(g, overrides = {}) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e, _f;
super(g, overrides);

@@ -30,4 +30,5 @@ this.domReadRequested = false;

this.navigator = 'navigator' in overrides ? overrides.navigator : g.navigator;
this.requestAnimationFrame = 'requestAnimationFrame' in overrides ? overrides.requestAnimationFrame : (_b = (_a = g.requestAnimationFrame) === null || _a === void 0 ? void 0 : _a.bind(g)) !== null && _b !== void 0 ? _b : notImplemented('requestAnimationFrame');
this.cancelAnimationFrame = 'cancelAnimationFrame' in overrides ? overrides.cancelAnimationFrame : (_d = (_c = g.cancelAnimationFrame) === null || _c === void 0 ? void 0 : _c.bind(g)) !== null && _d !== void 0 ? _d : notImplemented('cancelAnimationFrame');
this.fetch = 'fetch' in overrides ? overrides.fetch : (_b = (_a = g.fetch) === null || _a === void 0 ? void 0 : _a.bind(g)) !== null && _b !== void 0 ? _b : notImplemented('fetch');
this.requestAnimationFrame = 'requestAnimationFrame' in overrides ? overrides.requestAnimationFrame : (_d = (_c = g.requestAnimationFrame) === null || _c === void 0 ? void 0 : _c.bind(g)) !== null && _d !== void 0 ? _d : notImplemented('requestAnimationFrame');
this.cancelAnimationFrame = 'cancelAnimationFrame' in overrides ? overrides.cancelAnimationFrame : (_f = (_e = g.cancelAnimationFrame) === null || _e === void 0 ? void 0 : _e.bind(g)) !== null && _f !== void 0 ? _f : notImplemented('cancelAnimationFrame');
this.customElements = 'customElements' in overrides ? overrides.customElements : g.customElements;

@@ -34,0 +35,0 @@ this.flushDomRead = this.flushDomRead.bind(this);

@@ -15,2 +15,3 @@ import { Platform, TaskQueue } from '@aurelia/platform';

readonly navigator: TGlobal['navigator'];
readonly fetch: TGlobal['window']['fetch'];
readonly requestAnimationFrame: TGlobal['requestAnimationFrame'];

@@ -21,7 +22,4 @@ readonly cancelAnimationFrame: TGlobal['cancelAnimationFrame'];

readonly clearTimeout: TGlobal['window']['clearTimeout'];
readonly fetch: TGlobal['window']['fetch'];
readonly queueMicrotask: TGlobal['window']['queueMicrotask'];
readonly setInterval: TGlobal['window']['setInterval'];
readonly setTimeout: TGlobal['window']['setTimeout'];
readonly console: TGlobal['window']['console'];
readonly domWriteQueue: TaskQueue;

@@ -28,0 +26,0 @@ readonly domReadQueue: TaskQueue;

@@ -22,3 +22,3 @@ (function (factory) {

constructor(g, overrides = {}) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e, _f;
super(g, overrides);

@@ -42,4 +42,5 @@ this.domReadRequested = false;

this.navigator = 'navigator' in overrides ? overrides.navigator : g.navigator;
this.requestAnimationFrame = 'requestAnimationFrame' in overrides ? overrides.requestAnimationFrame : (_b = (_a = g.requestAnimationFrame) === null || _a === void 0 ? void 0 : _a.bind(g)) !== null && _b !== void 0 ? _b : notImplemented('requestAnimationFrame');
this.cancelAnimationFrame = 'cancelAnimationFrame' in overrides ? overrides.cancelAnimationFrame : (_d = (_c = g.cancelAnimationFrame) === null || _c === void 0 ? void 0 : _c.bind(g)) !== null && _d !== void 0 ? _d : notImplemented('cancelAnimationFrame');
this.fetch = 'fetch' in overrides ? overrides.fetch : (_b = (_a = g.fetch) === null || _a === void 0 ? void 0 : _a.bind(g)) !== null && _b !== void 0 ? _b : notImplemented('fetch');
this.requestAnimationFrame = 'requestAnimationFrame' in overrides ? overrides.requestAnimationFrame : (_d = (_c = g.requestAnimationFrame) === null || _c === void 0 ? void 0 : _c.bind(g)) !== null && _d !== void 0 ? _d : notImplemented('requestAnimationFrame');
this.cancelAnimationFrame = 'cancelAnimationFrame' in overrides ? overrides.cancelAnimationFrame : (_f = (_e = g.cancelAnimationFrame) === null || _e === void 0 ? void 0 : _e.bind(g)) !== null && _f !== void 0 ? _f : notImplemented('cancelAnimationFrame');
this.customElements = 'customElements' in overrides ? overrides.customElements : g.customElements;

@@ -46,0 +47,0 @@ this.flushDomRead = this.flushDomRead.bind(this);

{
"name": "@aurelia/platform-browser",
"version": "0.8.0-dev.202010270611",
"version": "0.8.0-dev.202011010944",
"main": "dist/umd/index.js",

@@ -37,3 +37,3 @@ "module": "dist/esnext/index.js",

"dependencies": {
"@aurelia/platform": "^0.8.0-dev.202010270611"
"@aurelia/platform": "^0.8.0-dev.202011010944"
},

@@ -43,3 +43,3 @@ "devDependencies": {

},
"gitHead": "9eee6d164ee617fe089ffe380b7a498369511c59"
"gitHead": "1047d63f267bb65bc78cfa1d48c4902164fb40d7"
}

@@ -26,2 +26,3 @@ import { Platform, TaskQueue } from '@aurelia/platform';

public readonly fetch!: TGlobal['window']['fetch'];
public readonly requestAnimationFrame: TGlobal['requestAnimationFrame'];

@@ -36,8 +37,4 @@ public readonly cancelAnimationFrame: TGlobal['cancelAnimationFrame'];

public readonly clearTimeout!: TGlobal['window']['clearTimeout'];
public readonly fetch!: TGlobal['window']['fetch'];
public readonly queueMicrotask!: TGlobal['window']['queueMicrotask'];
public readonly setInterval!: TGlobal['window']['setInterval'];
public readonly setTimeout!: TGlobal['window']['setTimeout'];
public readonly console!: TGlobal['window']['console'];
public readonly domWriteQueue: TaskQueue;

@@ -64,2 +61,3 @@ public readonly domReadQueue: TaskQueue;

this.fetch = 'fetch' in overrides ? overrides.fetch! : g.fetch?.bind(g) ?? notImplemented('fetch');
this.requestAnimationFrame = 'requestAnimationFrame' in overrides ? overrides.requestAnimationFrame! : g.requestAnimationFrame?.bind(g) ?? notImplemented('requestAnimationFrame');

@@ -66,0 +64,0 @@ this.cancelAnimationFrame = 'cancelAnimationFrame' in overrides ? overrides.cancelAnimationFrame! : g.cancelAnimationFrame?.bind(g) ?? notImplemented('cancelAnimationFrame');

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc