Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@oslokommune/punkt-vue
Advanced tools
Vue komponentbibliotek til Punkt, et designsystem laget av Oslo Origo
Dette repoet inneholder Punkt sine UI-komponenter for Vue 3. Komponentene er laget for å fungere sammen med @oslokommune/punkt-assets
og @oslokommune/punkt-css
. Dersom vi har komponenter som ikke eksisterer i Vue, kan man ta i bruk komponenter fra @oslokommune/punkt-elements
i Vue.
Peer dependencies:
18.19
>= 3.0.0
>= 1.0
>= 1.0
npm add @oslokommune/punkt-vue
/* src/main.js
Velg å installere hele bundlen */
import { createApp } from 'vue'
import PktVue from '@oslokommune/punkt-vue'
const app = createApp({})
app.use(PktVue)
/* eller kun individuelle komponenter (med ikoner)*/
import { createApp } from 'vue'
import { PktHeader, PktFooter, PktIcon } from '@oslokommune/punkt-vue'
const app = createApp({})
app.component('pkt-header', PktHeader)
app.component('pkt-footer', PktFooter)
app.component('pkt-icon', PktIcon)
Alle våre komponenter bruker PktIcon-komponenten for å importere ikonene via vår CDN.
Om du har en content security policy(CSP) satt opp må du åpne for https://punkt-cdn.oslo.kommune.no/ i din CSP.
Les mer om ikoner her.
For beskrivelse av hvordan ta i bruk hver enkelt komponent se om komponenter.
Punkt bruker Semantic Versioning 2.0.0 for versjonering av pakkene.
Punkt
er distribuert under MIT-lisens for åpen kildekode.
FAQs
Vue komponentbibliotek til Punkt, et designsystem laget av Oslo Origo
The npm package @oslokommune/punkt-vue receives a total of 245 weekly downloads. As such, @oslokommune/punkt-vue popularity was classified as not popular.
We found that @oslokommune/punkt-vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.