
Security News
AI Slop Is Polluting Bug Bounty Platforms with Fake Vulnerability Reports
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
A Webpack plugin for loading dsv files (for example .csv).
Install via npm:
npm install --save dsv-loader
You can require dsv data like this:
var data = require('dsv!./data.csv');
// => returns data.csv content as json parsed object
The loader will translate the data.csv
file into a JSON Object.
To require dsv files like this: require('data.csv')
, you can add the dsv-loader to your webpack config:
module : {
loaders : [
{ test: /\.csv$/, loader: 'dsv-loader' } //will load all .csv files with dsv-loader by default
]
}
delimiter
Tells the loader which delimiter is used to seperate the data. Default: ','
Examples:
var data = require('dsv?delimiter=;!./data.csv'); //load data seperated by semicolon
var data = require('dsv?delimiter=x!./data.csv'); //load data seperated by an 'x'
data.csv
Hello | World |
---|---|
42 | "fish" |
foo | bar |
var data = require(data.csv) //[{"Hello": "42", "World": "fish"}, {"Hello": "foo", "World": "bar"}, columns: ["Hello", "World"]]
FAQs
A webpack module to load dsv (e.g. .csv or .tsv) files.
We found that dsv-loader 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.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
Research
Security News
The Socket Research team investigates a malicious Python package disguised as a Discord error logger that executes remote commands and exfiltrates data via a covert C2 channel.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.