Socket
Socket
Sign inDemoInstall

@angular/platform-browser

Package Overview
Dependencies
Maintainers
1
Versions
838
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/platform-browser - npm Package Compare versions

Comparing version 2.2.0-beta.1 to 2.2.0-rc.0

4

bundles/platform-browser-testing.umd.js
/**
* @license Angular v2.2.0-beta.1
* @license Angular v2.2.0-rc.0
* (c) 2010-2016 Google, Inc. https://angular.io/

@@ -207,2 +207,2 @@ * License: MIT

}));
}));
{
"name": "@angular/platform-browser",
"version": "2.2.0-beta.1",
"version": "2.2.0-rc.0",
"description": "Angular - library for using Angular in a web browser",

@@ -11,4 +11,4 @@ "main": "bundles/platform-browser.umd.js",

"peerDependencies": {
"@angular/core": "2.2.0-beta.1",
"@angular/common": "2.2.0-beta.1"
"@angular/core": "2.2.0-rc.0",
"@angular/common": "2.2.0-rc.0"
},

@@ -15,0 +15,0 @@ "repository": {

@@ -14,3 +14,2 @@ /**

import { Inject, Injectable, OpaqueToken } from '@angular/core';
import { isPresent } from '../../facade/lang';
import { HammerGesturesPluginCommon } from './hammer_common';

@@ -57,3 +56,3 @@ /**

return false;
if (!isPresent(window['Hammer'])) {
if (!window.Hammer) {
throw new Error("Hammer.js is not loaded, can not bind " + eventName + " event");

@@ -70,7 +69,7 @@ }

var mc = _this._config.buildHammer(element);
var callback = function (eventObj /** TODO #???? */) {
var callback = function (eventObj) {
zone.runGuarded(function () { handler(eventObj); });
};
mc.on(eventName, callback);
return function () { mc.off(eventName, callback); };
return function () { return mc.off(eventName, callback); };
});

@@ -77,0 +76,0 @@ };

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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