Socket
Socket
Sign inDemoInstall

zone.js

Package Overview
Dependencies
Maintainers
3
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zone.js - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

9

CHANGELOG.md

@@ -0,1 +1,10 @@

<a name="0.8.3"></a>
## [0.8.3](https://github.com/angular/zone.js/compare/v0.8.1...0.8.3) (2017-03-15)
### Bug Fixes
* **zone:** consistent access to __symbol__ to work with closure ([f742394](https://github.com/angular/zone.js/commit/f742394))
<a name="0.8.2"></a>

@@ -2,0 +11,0 @@ ## [0.8.2](https://github.com/angular/zone.js/compare/v0.8.1...0.8.2) (2017-03-14)

2

dist/fake-async-test.js

@@ -85,3 +85,3 @@ /**

this._lastError = null;
this._uncaughtPromiseErrors = Promise[Zone['__symbol__']('uncaughtPromiseErrors')];
this._uncaughtPromiseErrors = Promise[Zone.__symbol__('uncaughtPromiseErrors')];
this.pendingPeriodicTimers = [];

@@ -88,0 +88,0 @@ this.pendingTimers = [];

@@ -90,3 +90,3 @@ /**

}
var task = error[Zone['__symbol__']('currentTask')];
var task = error[Zone.__symbol__('currentTask')];
var trace = task && task.data && task.data[creationTrace];

@@ -93,0 +93,0 @@ if (!trace) {

@@ -28,3 +28,3 @@ /**

}
var patchEventTargetMethods = Zone[Zone['__symbol__']('patchEventTargetMethods')];
var patchEventTargetMethods = Zone[Zone.__symbol__('patchEventTargetMethods')];
patchEventTargetMethods(_global['MediaQueryList'].prototype, 'addListener', 'removeListener', function (self, args) {

@@ -31,0 +31,0 @@ return {

@@ -33,3 +33,3 @@ /**

}
var patchOnProperties = Zone[Zone['__symbol__']('patchOnProperties')];
var patchOnProperties = Zone[Zone.__symbol__('patchOnProperties')];
patchOnProperties(Notification.prototype, null);

@@ -36,0 +36,0 @@ }

@@ -22,3 +22,3 @@ /**

(function (_global) {
var __symbol__ = Zone['__symbol__'];
var __symbol__ = Zone.__symbol__;
// TODO: @JiaLiPassion, we can automatically patch bluebird

@@ -25,0 +25,0 @@ // if global.Promise = Bluebird, but sometimes in nodejs,

@@ -17,3 +17,3 @@ /**

const patchEventTargetMethods =
(Zone as any)[(Zone as any)['__symbol__']('patchEventTargetMethods')];
(Zone as any)[(Zone as any).__symbol__('patchEventTargetMethods')];
patchEventTargetMethods(

@@ -20,0 +20,0 @@ _global['MediaQueryList'].prototype, 'addListener', 'removeListener',

@@ -21,5 +21,5 @@ /**

}
const patchOnProperties = (Zone as any)[(Zone as any)['__symbol__']('patchOnProperties')];
const patchOnProperties = (Zone as any)[(Zone as any).__symbol__('patchOnProperties')];
patchOnProperties(Notification.prototype, null);
}
})(typeof window === 'object' && window || typeof self === 'object' && self || global);

@@ -9,3 +9,3 @@ /**

((_global: any) => {
const __symbol__ = (Zone as any)['__symbol__'];
const __symbol__ = (Zone as any).__symbol__;
// TODO: @JiaLiPassion, we can automatically patch bluebird

@@ -12,0 +12,0 @@ // if global.Promise = Bluebird, but sometimes in nodejs,

@@ -89,3 +89,3 @@ /**

private _uncaughtPromiseErrors: {rejection: any}[] =
(Promise as any)[(Zone as any)['__symbol__']('uncaughtPromiseErrors')];
(Promise as any)[(Zone as any).__symbol__('uncaughtPromiseErrors')];

@@ -92,0 +92,0 @@ pendingPeriodicTimers: number[] = [];

@@ -86,3 +86,3 @@ /**

}
const task = (error as any)[(Zone as any)['__symbol__']('currentTask')];
const task = (error as any)[(Zone as any).__symbol__('currentTask')];
const trace = task && task.data && task.data[creationTrace];

@@ -89,0 +89,0 @@ if (!trace) {

{
"name": "zone.js",
"version": "0.8.2",
"version": "0.8.3",
"description": "Zones for JavaScript",

@@ -5,0 +5,0 @@ "main": "dist/zone-node.js",

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