
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@embrace-io/web-cli
Advanced tools
This tool is intended to help with build-time tasks for the Embrace Web SDK.
npm:
npm install --save-dev @embrace-io/web-cli
yarn:
yarn add -D @embrace-io/web-cli
To upload sourcemaps to Embrace as part of your build process you will require the following:
Symbol Upload
API token (found in your Embrace dashbboard in
Settings->API)Note that uploading multiple JS bundles and sourcemaps is not currently supported.
npx embrace-web-cli upload -a "YOUR_EMBRACE_APP_ID" -t "YOUR_EMBRACE_UPLOAD_API_TOKEN" -b "BUNDLE_PATH" -m "SOURCE_MAP_PATH"
The same upload
sub-command as above can be used to inject your app's version into your bundle if the value is only
known at build time. (If the version is known prior to build time you can provide it when initializing the SDK as
described in Keeping your app version up-to-date. Execute
the same command as above while also providing your app's version:
npx embrace-web-cli upload -a "YOUR_EMBRACE_APP_ID" -t "YOUR_EMBRACE_UPLOAD_API_TOKEN" -b "BUNDLE_PATH" -m "SOURCE_MAP_PATH" --app-version "APP_VERSION"
FAQs
Embrace Web CLI for uploading sourcemaps and versioning bundles
We found that @embrace-io/web-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.