Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
babel-plugin-transform-es2015-modules-nej
Advanced tools
在es6中,引入的对象为只读对象,因此使用时必须将对象复制出来使用。这个版本暂时删掉了,因为感觉没啥用。
import {o, f, r} from 'nej';
let obj = o, func = f, arr = r;
不需要额外引入,直接写export即可
ES6的export语法中,支持其中常用的两种写法,需要支持其它写法,欢迎反馈
export { name1, name2, …, nameN }; //支持
export { variable1 as name1, variable2 as name2, …, nameN };
export let name1, name2, …, nameN;
export let name1 = …, name2 = …, …, nameN;
export default expression; //支持
export default function (…) { … }
export default function name1(…) { … }
export { name1 as default, … };
export * from …;
export { name1, name2, …, nameN } from …;
export { import1 as name1, import2 as name2, …, nameN } from …;
FAQs
transform es6 module to nej module
The npm package babel-plugin-transform-es2015-modules-nej receives a total of 1 weekly downloads. As such, babel-plugin-transform-es2015-modules-nej popularity was classified as not popular.
We found that babel-plugin-transform-es2015-modules-nej 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.