Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@lcap/nasl
Advanced tools
Software Development Kit of NetEase Application Specific Language.
NASL SDK 是针对 NASL 投射编辑的无可视化的软件工具包,与用户在编辑器中的实际操作一致。CodeWave 低代码平台的 IDE 和前端生成服务便是主要以它为核心开发的。
可运行在 现代浏览器 和 Node.js (>=14) 环境上。
🧐 NASL SDK 主要包含以下功能:
NASL SDK 不包含以下功能:
我们以一个在 Node.js 环境运行的脚本为例,您可以在上面进行快速开发。这里推荐使用 TypeScript,它可以给您提供很方便的关于 NASL Object Model 的类型提示。
安装 Node.js (>=14)
npm i --save nasl@1.0.0-alpha
import * as nasl from '@lcap/nasl';
async function start() {
await nasl.connect('http', '/some/path');
const app = await nasl.loadApp('aw9fajff90j323');
// Do your things
}
start();
import * as nasl from '@lcap/nasl';
async function start() {
await nasl.connect('http', 'http://dogfood.lcap.163yun.com', 'username', 'password');
const app = await nasl.loadApp('aw9fajff90j323');
// Do your things
}
start();
import * as nasl from '@lcap/nasl';
async function start() {
await nasl.connect('file', './demo-app.json');
const app = await nasl.loadApp();
}
start();
npm run test:one -- src/test/integration/connect-file.ts
目录 packages/nasl/src/automate/upgrader 新增 x.xx.js 标识需要在那个版本触发 举个例子 🌰 比如我是从 2.20 升级到 2.23 则需要创建 2.23.js 当点击面板 更新 IDE 版本
点击升级就会依次触发对应的 升级脚本 类似 loader 如果中间还存在 2.21.js 2.22.js 的话
FAQs
NetEase Application Specific Language
The npm package @lcap/nasl receives a total of 298 weekly downloads. As such, @lcap/nasl popularity was classified as not popular.
We found that @lcap/nasl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.