@angular/platform-browser-dynamic
Advanced tools
Comparing version 4.0.0-rc.0 to 4.0.0-rc.1
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}/** | ||
* @license Angular v4.0.0-rc.0 | ||
* @license Angular v4.0.0-rc.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -33,3 +33,3 @@ * License: MIT | ||
* @stable | ||
*/var VERSION=new Version('4.0.0-rc.0');/** | ||
*/var VERSION=new Version('4.0.0-rc.1');/** | ||
* @experimental | ||
@@ -36,0 +36,0 @@ */var RESOURCE_CACHE_PROVIDER=[{provide:ResourceLoader,useClass:CachedResourceLoader}];/** |
/** | ||
* @license Angular v4.0.0-rc.0 | ||
* @license Angular v4.0.0-rc.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -121,3 +121,3 @@ * License: MIT | ||
*/ | ||
const VERSION = new Version('4.0.0-rc.0'); | ||
const VERSION = new Version('4.0.0-rc.1'); | ||
@@ -124,0 +124,0 @@ /** |
/** | ||
* @license Angular v4.0.0-rc.0 | ||
* @license Angular v4.0.0-rc.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
@@ -201,3 +201,3 @@ (function (global, factory) { | ||
*/ | ||
var VERSION = new _core.Version('4.0.0-rc.0'); | ||
var VERSION = new _core.Version('4.0.0-rc.1'); | ||
@@ -204,0 +204,0 @@ /** |
@@ -1,1 +0,1 @@ | ||
!function(global,factory){if("function"==typeof define&&define.amd)define("@angular/platform-browser-dynamic",["exports","@angular/compiler","@angular/core","@angular/common","@angular/platform-browser"],factory);else if("undefined"!=typeof exports)factory(exports,require("@angular/compiler"),require("@angular/core"),require("@angular/common"),require("@angular/platform-browser"));else{var mod={exports:{}};factory(mod.exports,global.ng.compiler,global.ng.core,global.ng.common,global.ng.platformBrowser),global.ng=global.ng||{},global.ng.platformBrowserDynamic=mod.exports}}(this,function(exports,_compiler,_core,_common,_platformBrowser){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.ɵResourceLoaderImpl=exports.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=exports.VERSION=exports.platformBrowserDynamic=exports.RESOURCE_CACHE_PROVIDER=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),ResourceLoaderImpl=function(_ResourceLoader){function ResourceLoaderImpl(){return _classCallCheck(this,ResourceLoaderImpl),_possibleConstructorReturn(this,(ResourceLoaderImpl.__proto__||Object.getPrototypeOf(ResourceLoaderImpl)).apply(this,arguments))}return _inherits(ResourceLoaderImpl,_ResourceLoader),_createClass(ResourceLoaderImpl,[{key:"get",value:function(a){var b=void 0,c=void 0,d=new Promise(function(f,g){b=f,c=g}),e=new XMLHttpRequest;return e.open("GET",a,!0),e.responseType="text",e.onload=function(){var f=e.response||e.responseText,g=1223===e.status?204:e.status;0===g&&(g=f?200:0),200<=g&&300>=g?b(f):c("Failed to load "+a)},e.onerror=function(){c("Failed to load "+a)},e.send(),d}}]),ResourceLoaderImpl}(_compiler.ResourceLoader);ResourceLoaderImpl.decorators=[{type:_core.Injectable}],ResourceLoaderImpl.ctorParameters=function(){return[]};var INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=[_platformBrowser.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,{provide:_core.COMPILER_OPTIONS,useValue:{providers:[{provide:_compiler.ResourceLoader,useClass:ResourceLoaderImpl}]},multi:!0},{provide:_core.PLATFORM_ID,useValue:_common.ɵPLATFORM_BROWSER_ID}],globalScope="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:global:window,_global=globalScope;_global.assert=function(){};var CachedResourceLoader=function(_ResourceLoader2){function CachedResourceLoader(){var _this2;if(_classCallCheck(this,CachedResourceLoader),_this2=_possibleConstructorReturn(this,(CachedResourceLoader.__proto__||Object.getPrototypeOf(CachedResourceLoader)).call(this)),_this2._cache=_global.$templateCache,null==_this2._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.");return _possibleConstructorReturn(_this2)}return _inherits(CachedResourceLoader,_ResourceLoader2),_createClass(CachedResourceLoader,[{key:"get",value:function(a){return this._cache.hasOwnProperty(a)?Promise.resolve(this._cache[a]):Promise.reject("CachedResourceLoader: Did not find cached template for "+a)}}]),CachedResourceLoader}(_compiler.ResourceLoader),VERSION=new _core.Version("4.0.0-rc.0"),RESOURCE_CACHE_PROVIDER=[{provide:_compiler.ResourceLoader,useClass:CachedResourceLoader}],platformBrowserDynamic=(0,_core.createPlatformFactory)(_compiler.platformCoreDynamic,"browserDynamic",INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);exports.RESOURCE_CACHE_PROVIDER=RESOURCE_CACHE_PROVIDER,exports.platformBrowserDynamic=platformBrowserDynamic,exports.VERSION=VERSION,exports.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,exports.ɵResourceLoaderImpl=ResourceLoaderImpl}); | ||
!function(global,factory){if("function"==typeof define&&define.amd)define("@angular/platform-browser-dynamic",["exports","@angular/compiler","@angular/core","@angular/common","@angular/platform-browser"],factory);else if("undefined"!=typeof exports)factory(exports,require("@angular/compiler"),require("@angular/core"),require("@angular/common"),require("@angular/platform-browser"));else{var mod={exports:{}};factory(mod.exports,global.ng.compiler,global.ng.core,global.ng.common,global.ng.platformBrowser),global.ng=global.ng||{},global.ng.platformBrowserDynamic=mod.exports}}(this,function(exports,_compiler,_core,_common,_platformBrowser){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.ɵResourceLoaderImpl=exports.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=exports.VERSION=exports.platformBrowserDynamic=exports.RESOURCE_CACHE_PROVIDER=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),ResourceLoaderImpl=function(_ResourceLoader){function ResourceLoaderImpl(){return _classCallCheck(this,ResourceLoaderImpl),_possibleConstructorReturn(this,(ResourceLoaderImpl.__proto__||Object.getPrototypeOf(ResourceLoaderImpl)).apply(this,arguments))}return _inherits(ResourceLoaderImpl,_ResourceLoader),_createClass(ResourceLoaderImpl,[{key:"get",value:function(a){var b=void 0,c=void 0,d=new Promise(function(f,g){b=f,c=g}),e=new XMLHttpRequest;return e.open("GET",a,!0),e.responseType="text",e.onload=function(){var f=e.response||e.responseText,g=1223===e.status?204:e.status;0===g&&(g=f?200:0),200<=g&&300>=g?b(f):c("Failed to load "+a)},e.onerror=function(){c("Failed to load "+a)},e.send(),d}}]),ResourceLoaderImpl}(_compiler.ResourceLoader);ResourceLoaderImpl.decorators=[{type:_core.Injectable}],ResourceLoaderImpl.ctorParameters=function(){return[]};var INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=[_platformBrowser.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,{provide:_core.COMPILER_OPTIONS,useValue:{providers:[{provide:_compiler.ResourceLoader,useClass:ResourceLoaderImpl}]},multi:!0},{provide:_core.PLATFORM_ID,useValue:_common.ɵPLATFORM_BROWSER_ID}],globalScope="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:global:window,_global=globalScope;_global.assert=function(){};var CachedResourceLoader=function(_ResourceLoader2){function CachedResourceLoader(){var _this2;if(_classCallCheck(this,CachedResourceLoader),_this2=_possibleConstructorReturn(this,(CachedResourceLoader.__proto__||Object.getPrototypeOf(CachedResourceLoader)).call(this)),_this2._cache=_global.$templateCache,null==_this2._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.");return _possibleConstructorReturn(_this2)}return _inherits(CachedResourceLoader,_ResourceLoader2),_createClass(CachedResourceLoader,[{key:"get",value:function(a){return this._cache.hasOwnProperty(a)?Promise.resolve(this._cache[a]):Promise.reject("CachedResourceLoader: Did not find cached template for "+a)}}]),CachedResourceLoader}(_compiler.ResourceLoader),VERSION=new _core.Version("4.0.0-rc.1"),RESOURCE_CACHE_PROVIDER=[{provide:_compiler.ResourceLoader,useClass:CachedResourceLoader}],platformBrowserDynamic=(0,_core.createPlatformFactory)(_compiler.platformCoreDynamic,"browserDynamic",INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);exports.RESOURCE_CACHE_PROVIDER=RESOURCE_CACHE_PROVIDER,exports.platformBrowserDynamic=platformBrowserDynamic,exports.VERSION=VERSION,exports.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,exports.ɵResourceLoaderImpl=ResourceLoaderImpl}); |
{ | ||
"name": "@angular/platform-browser-dynamic", | ||
"version": "4.0.0-rc.0", | ||
"version": "4.0.0-rc.1", | ||
"description": "Angular - library for using Angular in a web browser with JIT compilation", | ||
@@ -12,6 +12,6 @@ "main": "./bundles/platform-browser-dynamic.umd.js", | ||
"peerDependencies": { | ||
"@angular/core": "4.0.0-rc.0", | ||
"@angular/common": "4.0.0-rc.0", | ||
"@angular/compiler": "4.0.0-rc.0", | ||
"@angular/platform-browser": "4.0.0-rc.0" | ||
"@angular/core": "4.0.0-rc.1", | ||
"@angular/common": "4.0.0-rc.1", | ||
"@angular/compiler": "4.0.0-rc.1", | ||
"@angular/platform-browser": "4.0.0-rc.1" | ||
}, | ||
@@ -18,0 +18,0 @@ "repository": { |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["4.0.0-rc.0"]}}},{"__symbolic":"module","version":1,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["4.0.0-rc.0"]}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["4.0.0-rc.1"]}}},{"__symbolic":"module","version":1,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["4.0.0-rc.1"]}}}] |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0