Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

builder-debug-utils

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builder-debug-utils

``` const debugUtils = require('builder-debug-utils');

  • 3.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source
const debugUtils = require('builder-debug-utils');

const debugUtils.generateInjectCodePath({
  target: 'Mini',
  mode: 'Preview',
  compilePlugin: false,
}); // /Users/foo/bar

tiny-cli --injectCodePath /Users/foo/bar

/offline/assets_map - 用于存储构建脚本文本 $TMPDIR/builder_debug_output_v2 - 用于作为 tiny-cli injectCodePath 入参

API

  • 检查更新 比较本地与服务端资源 sha256 是否相同,若不同更新本地资源
const injectCodePath = await updateInjectCodeAssets();
  • 生成 injectCode
await generateInjectCode({
  mode: 'Remotex',
});

generateInjectCodeSync({
  mode: 'Remotex',
});
  • 生成 injectCodePath
await generateInjectCodePath({
  mode: 'Remotex',
});

generateInjectCodePathSync({
  mode: 'Remotex',
})
  • 获取 boatman 资源路径
await getBoatmanBundlePath();

getBoatmanBundlePathSync();

FAQs

Package last updated on 25 Aug 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc