
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
datascript-js
Advanced tools
Create simple scripts for your application as data (for now, only in JSON).
Hello world:
["write", "Hello world!"]
Literal:
// Normal JSON literals
true
false
1.0
3.0
"Hey there" // << Be careful with strings, they are special
Instruction:
// A function call is an array where the very first element is a string.
// and the rest are the parameters.
// The string is the function that gets called.
["<function_name>", ...params]
// What I meant by strings being special is that strings will turn arrays into function calls.
// This is a function call:
["wait", 1.0]
Block:
// A block is an array of instructions / literals
[
["write", "Hello world! x1"],
["write", "Hello world! x2"]
]
// The interpreter know that this is a block
// because the first element is an Array, an instruction.
// If the first element was a string, this would be
// treated as an instruction, right?
[
"Hello World!", // This tried to call a function named "Hello World!" lmao
["write", "Hello world! x2"]
]
// If the array starts with the string "()"
// It'll be properly interpreted as a block
[
"()",
"Hello world!" // No problem with having a string here, since it's the *second* item.
["write", "Hello world! x2"],
]
FAQs
Simple runtime for DataScript.
We found that datascript-js 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.