New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@asymmetrik/angular2-leaflet-filter

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asymmetrik/angular2-leaflet-filter - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

dist/bundles/angular2-leaflet-filter.js

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

/*! @asymmetrik/angular2-leaflet-filter - 2.1.0 - Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved. + */
/*! @asymmetrik/angular2-leaflet-filter - 2.1.1 - Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved. + */
(function (global, factory) {

@@ -3,0 +3,0 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('leaflet'), require('@asymmetrik/leaflet-filter'), require('@asymmetrik/angular2-leaflet')) :

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

/*! @asymmetrik/angular2-leaflet-filter - 2.1.0 - Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved. + */
/*! @asymmetrik/angular2-leaflet-filter - 2.1.1 - Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved. + */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("leaflet"),require("@asymmetrik/leaflet-filter"),require("@asymmetrik/angular2-leaflet")):"function"==typeof define&&define.amd?define(["exports","@angular/core","leaflet","@asymmetrik/leaflet-filter","@asymmetrik/angular2-leaflet"],t):t(e.angular2LeafletFilter=e.angular2LeafletFilter||{},e.ng.core,e.L,null,e.angular2Leaflet)}(this,function(e,t,r,i,l){"use strict";var n=function(){function e(e){this.filterOptions=null,this.filterStateChange=new t.EventEmitter,this.controlReady=new t.EventEmitter,this.leafletDirective=new l.LeafletDirectiveWrapper(e)}return e.prototype.ngOnInit=function(){var e=this;this.leafletDirective.init(),this.filterOptions=this.initializeFilterOptions(this.filterOptions),this.filterControl=r.control.filter(this.filterOptions),this.featureGroup=this.filterOptions.featureGroup,this.filterControl.addTo(this.leafletDirective.getMap()),this.leafletDirective.getMap().on("filter:filter",function(t){setTimeout(function(){e.filterStateChange.emit(t.geo)})}),this.filterControl.setFilter(this.filterState),this.controlReady.emit(this.filterControl)},e.prototype.ngOnChanges=function(e){e.filterState&&null!=this.filterControl&&this.filterControl.setFilter(e.filterState.currentValue)},e.prototype.initializeFilterOptions=function(e){return null==e&&(e={featureGroup:null}),null==e.featureGroup&&(e.featureGroup=r.featureGroup(),this.leafletDirective.getMap().addLayer(e.featureGroup)),e},e}();n.decorators=[{type:t.Directive,args:[{selector:"[leafletFilter]"}]}],n.ctorParameters=function(){return[{type:l.LeafletDirective}]},n.propDecorators={filterOptions:[{type:t.Input,args:["leafletFilterOptions"]}],filterState:[{type:t.Input,args:["leafletFilterState"]}],filterStateChange:[{type:t.Output,args:["leafletFilterStateChange"]}],controlReady:[{type:t.Output,args:["leafletFilterControlReady"]}]};var a=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[]}},e}();a.decorators=[{type:t.NgModule,args:[{exports:[n],declarations:[n]}]}],a.ctorParameters=function(){return[]},e.LeafletFilterModule=a,Object.defineProperty(e,"__esModule",{value:!0})});

@@ -69,3 +69,3 @@ 'use strict';

'ngc',
`${gutil.colors.red('Compilation error.')}\nSee details in the ngc output`,
`${plugins.util.colors.red('Compilation error.')}\nSee details in the ngc output`,
{fileName: file.path});

@@ -72,0 +72,0 @@

@@ -5,3 +5,3 @@ {

"description": "Angular 2 component for the Leaflet Filter plugin",
"version": "2.1.0",
"version": "2.1.1",

@@ -8,0 +8,0 @@ "author": "Asymmetrik, Ltd.",

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