Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@angular/elements

Package Overview
Dependencies
Maintainers
1
Versions
704
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/elements - npm Package Compare versions

Comparing version 7.0.0-beta.5 to 7.0.0-beta.6

4

bundles/elements.umd.js
/**
* @license Angular v7.0.0-beta.5
* @license Angular v7.0.0-beta.6
* (c) 2010-2018 Google, Inc. https://angular.io/

@@ -540,3 +540,3 @@ * License: MIT

*/
var VERSION = new core.Version('7.0.0-beta.5');
var VERSION = new core.Version('7.0.0-beta.6');

@@ -543,0 +543,0 @@ /**

/**
* @license Angular v7.0.0-beta.5
* @license Angular v7.0.0-beta.6
* (c) 2010-2018 Google, Inc. https://angular.io/

@@ -29,3 +29,3 @@ * License: MIT

*/
function i(t,e){var n=t.childNodes,o=e.map(function(){return[]}),i=-1;e.some(function(t,e){return"*"===t&&(i=e,!0)});for(var r=0,s=n.length;r<s;++r){var u=n[r],c=l(u,e,i);-1!==c&&o[c].push(u)}return o}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,o,t),this.implementsOnChanges=function r(t){return"function"==typeof t}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(),this.detectChanges(),this.injector.get(e.ApplicationRef).attachView(this.componentRef.hostView)},t.prototype.initializeInputs=function(){var t=this;this.componentFactory.inputs.forEach(function(e){var n=e.propName,o=t.initialInputValues.get(n);o?t.setInputValue(n,o):t.uninitializedInputs.add(n)}),this.initialInputValues.clear()},t.prototype.initializeOutputs=function(){var t=this,e=this.componentFactory.outputs.map(function(e){var n=e.templateName;return t.componentRef.instance[e.propName].pipe(o.map(function(t){return{name:n,value:t}}))});this.events=n.merge.apply(void 0,function i(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t}(e))},t.prototype.callNgOnChanges=function(){if(this.implementsOnChanges&&null!==this.inputChanges){var t=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(t)}},t.prototype.scheduleDetectChanges=function(){var t=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=a.scheduleBeforeRender(function(){t.scheduledChangeDetectionFn=null,t.detectChanges()}))},t.prototype.recordInputChange=function(t,n){if(!this.componentRef||this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var o=this.inputChanges[t];if(o)o.currentValue=n;else{var i=this.uninitializedInputs.has(t);this.uninitializedInputs.delete(t);var r=i?void 0:this.getInputValue(t);this.inputChanges[t]=new e.SimpleChange(r,n,i)}}},t.prototype.detectChanges=function(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())},t}(),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ngElementEventsSubscription=null,e}return r(e,t),e}(HTMLElement),m=new e.Version("7.0.0-beta.5");
function i(t,e){var n=t.childNodes,o=e.map(function(){return[]}),i=-1;e.some(function(t,e){return"*"===t&&(i=e,!0)});for(var r=0,s=n.length;r<s;++r){var u=n[r],c=l(u,e,i);-1!==c&&o[c].push(u)}return o}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,o,t),this.implementsOnChanges=function r(t){return"function"==typeof t}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(),this.detectChanges(),this.injector.get(e.ApplicationRef).attachView(this.componentRef.hostView)},t.prototype.initializeInputs=function(){var t=this;this.componentFactory.inputs.forEach(function(e){var n=e.propName,o=t.initialInputValues.get(n);o?t.setInputValue(n,o):t.uninitializedInputs.add(n)}),this.initialInputValues.clear()},t.prototype.initializeOutputs=function(){var t=this,e=this.componentFactory.outputs.map(function(e){var n=e.templateName;return t.componentRef.instance[e.propName].pipe(o.map(function(t){return{name:n,value:t}}))});this.events=n.merge.apply(void 0,function i(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t}(e))},t.prototype.callNgOnChanges=function(){if(this.implementsOnChanges&&null!==this.inputChanges){var t=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(t)}},t.prototype.scheduleDetectChanges=function(){var t=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=a.scheduleBeforeRender(function(){t.scheduledChangeDetectionFn=null,t.detectChanges()}))},t.prototype.recordInputChange=function(t,n){if(!this.componentRef||this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var o=this.inputChanges[t];if(o)o.currentValue=n;else{var i=this.uninitializedInputs.has(t);this.uninitializedInputs.delete(t);var r=i?void 0:this.getInputValue(t);this.inputChanges[t]=new e.SimpleChange(r,n,i)}}},t.prototype.detectChanges=function(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())},t}(),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ngElementEventsSubscription=null,e}return r(e,t),e}(HTMLElement),m=new e.Version("7.0.0-beta.6");
/**

@@ -32,0 +32,0 @@ * @license

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

{"__symbolic":"module","version":4,"metadata":{"NgElement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"HTMLElement"},"members":{"attributeChangedCallback":[{"__symbolic":"method"}],"connectedCallback":[{"__symbolic":"method"}],"disconnectedCallback":[{"__symbolic":"method"}]}},"NgElementConfig":{"__symbolic":"interface"},"NgElementConstructor":{"__symbolic":"interface"},"WithProperties":{"__symbolic":"interface"},"createCustomElement":{"__symbolic":"function"},"NgElementStrategy":{"__symbolic":"interface"},"NgElementStrategyEvent":{"__symbolic":"interface"},"NgElementStrategyFactory":{"__symbolic":"interface"},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":12,"character":27},"arguments":["7.0.0-beta.5"]}},"origins":{"NgElement":"./src/create-custom-element","NgElementConfig":"./src/create-custom-element","NgElementConstructor":"./src/create-custom-element","WithProperties":"./src/create-custom-element","createCustomElement":"./src/create-custom-element","NgElementStrategy":"./src/element-strategy","NgElementStrategyEvent":"./src/element-strategy","NgElementStrategyFactory":"./src/element-strategy","VERSION":"./src/version"},"importAs":"@angular/elements"}
{"__symbolic":"module","version":4,"metadata":{"NgElement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"HTMLElement"},"members":{"attributeChangedCallback":[{"__symbolic":"method"}],"connectedCallback":[{"__symbolic":"method"}],"disconnectedCallback":[{"__symbolic":"method"}]}},"NgElementConfig":{"__symbolic":"interface"},"NgElementConstructor":{"__symbolic":"interface"},"WithProperties":{"__symbolic":"interface"},"createCustomElement":{"__symbolic":"function"},"NgElementStrategy":{"__symbolic":"interface"},"NgElementStrategyEvent":{"__symbolic":"interface"},"NgElementStrategyFactory":{"__symbolic":"interface"},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":12,"character":27},"arguments":["7.0.0-beta.6"]}},"origins":{"NgElement":"./src/create-custom-element","NgElementConfig":"./src/create-custom-element","NgElementConstructor":"./src/create-custom-element","WithProperties":"./src/create-custom-element","createCustomElement":"./src/create-custom-element","NgElementStrategy":"./src/element-strategy","NgElementStrategyEvent":"./src/element-strategy","NgElementStrategyFactory":"./src/element-strategy","VERSION":"./src/version"},"importAs":"@angular/elements"}

@@ -16,4 +16,4 @@ /**

@type {?} */
export const VERSION = new Version('7.0.0-beta.5');
export const VERSION = new Version('7.0.0-beta.6');
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2VsZW1lbnRzL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBUUEsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGVBQWUsQ0FBQzs7OztBQUl0QyxhQUFhLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBJbmMuIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuLyoqXG4gKiBAZXhwZXJpbWVudGFsXG4gKi9cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gbmV3IFZlcnNpb24oJzAuMC4wLVBMQUNFSE9MREVSJyk7XG4iXX0=

@@ -12,4 +12,4 @@ /**

*/
export var VERSION = new Version('7.0.0-beta.5');
export var VERSION = new Version('7.0.0-beta.6');
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2VsZW1lbnRzL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdEM7O0dBRUc7QUFDSCxNQUFNLENBQUMsSUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsbUJBQW1CLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtWZXJzaW9ufSBmcm9tICdAYW5ndWxhci9jb3JlJztcbi8qKlxuICogQGV4cGVyaW1lbnRhbFxuICovXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19
/**
* @license Angular v7.0.0-beta.5
* @license Angular v7.0.0-beta.6
* (c) 2010-2018 Google, Inc. https://angular.io/

@@ -590,3 +590,3 @@ * License: MIT

@type {?} */
const VERSION = new Version('7.0.0-beta.5');
const VERSION = new Version('7.0.0-beta.6');

@@ -593,0 +593,0 @@ /**

/**
* @license Angular v7.0.0-beta.5
* @license Angular v7.0.0-beta.6
* (c) 2010-2018 Google, Inc. https://angular.io/

@@ -487,3 +487,3 @@ * License: MIT

*/
var VERSION = new Version('7.0.0-beta.5');
var VERSION = new Version('7.0.0-beta.6');

@@ -490,0 +490,0 @@ /**

{
"name": "@angular/elements",
"version": "7.0.0-beta.5",
"version": "7.0.0-beta.6",
"description": "Angular - library for using Angular Components as Custom Elements",

@@ -19,4 +19,4 @@ "main": "./bundles/elements.umd.js",

"peerDependencies": {
"@angular/core": "7.0.0-beta.5",
"@angular/platform-browser": "7.0.0-beta.5",
"@angular/core": "7.0.0-beta.6",
"@angular/platform-browser": "7.0.0-beta.6",
"rxjs": "^6.0.0"

@@ -23,0 +23,0 @@ },

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

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