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

venus-map

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

venus-map - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

2

package.json
{
"name": "venus-map",
"version": "1.0.16",
"version": "1.0.17",
"description": "tq-fed-map",

@@ -5,0 +5,0 @@ "main": "./build/index.js",

@@ -44,6 +44,6 @@ import Cluster from 'ol/source/Cluster'

initOption(option) {
const { distance, icon, text, render } = option
const { distance, icon = {}, text = {}, render } = option
this.distance = distance || DEFAULT_DISTANCE
this.iconStyle = Object.assign({}, icon, DEFAULT_ICON_STYLE)
this.textStyle = Object.assign({}, text, DEFAULT_TEXT_STYLE)
this.iconStyle = Object.assign({}, DEFAULT_ICON_STYLE, icon)
this.textStyle = Object.assign({}, DEFAULT_TEXT_STYLE, text)
this.textRender = render || DEFAULT_TEXT_RENDER

@@ -50,0 +50,0 @@ this.defaultFeatureStyle = this.getFeatureStyle(this.iconStyle, this.textStyle, this.textRender)

@@ -43,5 +43,5 @@ import Vector from 'ol/source/Vector'

initOption(option) {
const { icon, text, render } = option
this.iconStyle = Object.assign({}, icon, DEFAULT_ICON_STYLE)
this.textStyle = Object.assign({}, text, DEFAULT_TEXT_STYLE)
const { icon = {}, text = {}, render } = option
this.iconStyle = Object.assign({}, DEFAULT_ICON_STYLE, icon)
this.textStyle = Object.assign({}, DEFAULT_TEXT_STYLE, text)
this.textRender = render || DEFAULT_TEXT_RENDER

@@ -48,0 +48,0 @@ this.defaultFeatureStyle = this.getFeatureStyle(this.iconStyle, this.textStyle, this.textRender)

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