Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
degree-picker
Advanced tools
A degree picker component for Vue 3.
Install using your package manager of choice:
yarn add degree-picker
Register the component inside your main.ts
file and import the stylesheet:
import degreePicker from "degree-picker";
import "degree-picker/dist/degree-picker.css";
const app = createApp(App);
app.use(degreePicker);
<template>
<degree-picker active-color="green" v-model="degrees" />
</template>
<script lang="ts" setup>
import { ref } from "vue";
const degrees = ref(0);
</script>
Name | Type | Default | Description |
---|---|---|---|
active-color | string | #567a0d | Background color of the active value and clock hand |
body-color | string | #eee | Background color of the picker body |
v-model | number | Standard two way input | |
step | number | 30 | The step used for displaying the degrees |
width | number/string | 290px | Sets the width of the element - can be provided as a string like "290px" or "290" or a number, defaults to 290px |
full-width | boolean | false | Ignores the previous width prop and sets the width to 100% of the parent container |
disabled | boolean | false | Makes the component unclickable |
readonly | boolean | false | Makes the component unclickable, but does not make it seem disabled |
FAQs
Unknown package
The npm package degree-picker receives a total of 3 weekly downloads. As such, degree-picker popularity was classified as not popular.
We found that degree-picker demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.