
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@chengli1988/vue-baidu-map
Advanced tools
基于大神 Dafrok 开发的VUE 2.x 的百度地图组件:vue-baidu-map 的升级。
相关文档:https://dafrok.github.io/vue-baidu-map
如遇文档打不开的情况,尝试使用以下DNS:
223.5.5.5
223.6.6.6
npm i --save @chengli1988/vue-baidu-map
import Vue from 'vue'
import BaiduMap from '@chengli1988/vue-baidu-map'
Vue.use(BaiduMap, {
// ak 是在百度地图开发者平台申请的密钥
ak: 'YOUR_APP_KEY',
// 个性化地图styleId 可选配置
mapStyleId: 'YOUR_STYLE_ID'
})
<template>
<baidu-map class="map">
</baidu-map>
</template>
<style>
/* 地图容器必须设置宽和高属性 */
.map {
width: 400px;
height: 300px;
}
</style>
1.增加地图中心点配置,初始化地图(ready事件)可以获取该值设置地图中心点
1.移除mapStyle属性
2.增加mapStyleJson属性,支持通过设置styleJson设置 个性化地图
3.优化代码
1.增加 mapStyleId 全局配置属性,支持统一设置 mapStyleId ,优先级:组件mapStyleId > 全局mapStyleId
修改 components/map/Map.vue
1.升级api版本 2.0 => 3.0
2.移除 theme 属性
3.增加 mapStyleId 属性,支持通过设置styleId设置 个性化地图
FAQs
## 声明
We found that @chengli1988/vue-baidu-map demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.