
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
vue-record-audio
Advanced tools
Paquete para la grabacion de contenido con el microfono por defecto del navegador
Paquete para la grabacion de contenido con el microfono por defecto del navegador
Instalacion del paquete
npm i vue-record-audio
<template>
<div>
<RecordsAudio :saveRecord="saveRecord" :iconsRecord="iconsRecord">
<!-- control de grabador -->
<template #btnCancelRecord="{ControllerRecord}">
<button class="btn btn-sm" @click="ControllerRecord.cancelRecord"><i :class="ControllerRecord.iconBtn"></i></button>
</template>
<template #btnRecord="{ControllerRecord}">
<button class="btn" @click="ControllerRecord.playAudio"><i :class="ControllerRecord.iconBtn"></i></button>
</template>
<template #btnStopRecord="{ControllerRecord}">
<button class="btn btn-sm" @click="ControllerRecord.stopRecord"><i :class="ControllerRecord.iconBtn"></i></button>
</template>
<!-- control de player -->
<template #btnPlayerCancel="{ControllerPlayer}">
<button class="btn btn-sm" @click="ControllerPlayer.cancelPlay"><i :class="ControllerPlayer.iconBtn"></i></button>
</template>
<template #btnPlayer="{ControllerPlayer}">
<button class="btn" @click="ControllerPlayer.playRecord"><i :class="ControllerPlayer.iconBtn"></i></button>
</template>
<template #btnPlayerStop="{ControllerPlayer}">
<button class="btn btn-sm" @click="ControllerPlayer.stopPlay"><i :class="ControllerPlayer.iconBtn"></i></button>
</template>
</RecordsAudio>
</div>
</template>
<script setup lang="ts">
import { RecordsAudio } from "vue-record-audio"
const iconsRecord = {
iconMic:'icon-mic',
iconPause:'icon-pause',
iconPLay:'icon-play',
iconClose:'icon-close',
iconStop:'icon-stop'
}
const saveRecord = (data:any) => {
console.log(data)
}
</script>
<style>
@import url(/node_modules/vue-record-audio/dist/style.css);
</style>
<template>
<div>
<RecordAudio :iconsRecord="iconsRecord" :playAudioBase64="playAudioBase64">
<template #btnPlayerCancel="{ControllerPlayer}">
<button class="btn btn-sm" @click="ControllerPlayer.cancelPlay"><i :class="ControllerPlayer.iconBtn"></i></button>
</template>
<template #btnPlayer="{ControllerPlayer}">
<button class="btn" @click="ControllerPlayer.playRecord"><i :class="ControllerPlayer.iconBtn"></i></button>
</template>
<template #btnPlayerStop="{ControllerPlayer}">
<button class="btn btn-sm" @click="ControllerPlayer.stopPlay"><i :class="ControllerPlayer.iconBtn"></i></button>
</template>
</RecordAudio>
</div>
</template>
<script setup lang="ts">
import { RecordsAudio } from "vue-record-audio"
const iconsRecord = {
iconMic:'icon-mic',
iconPause:'icon-pause',
iconPLay:'icon-play',
iconClose:'icon-close',
iconStop:'icon-stop'
}
const playAudioBase64:"//vUxAADwAABpAAAAC...."
</script>
<style>
@import url(/node_modules/vue-record-audio/dist/style.css);
</style>
Debe copiar la carpeta icons a su carpeta public /public/icons/*
FAQs
Paquete para la grabacion de contenido con el microfono por defecto del navegador
The npm package vue-record-audio receives a total of 14 weekly downloads. As such, vue-record-audio popularity was classified as not popular.
We found that vue-record-audio demonstrated a not healthy version release cadence and project activity because the last version was released 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.