![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@usecapsule/web-sdk
Advanced tools
Ask a coworker to add you to the "@usecapsule" organization on NPM and ensure you're logged in:
npm login
To run the example locally, navigate to web-sdk
directory root, and install dependencies:
yarn
Then navigate to examples
and install dependencies:
cd examples && yarn
Start running the example with:
yarn start
The example should by default use a sandbox hosted backend. To use a locally hosted backend, in examples/index.tsx
update the instantiation of the Capsule
class to use Environment.DEV
instead of Environment.SANDBOX
, and change DEFAULT_API_KEY
to undefined
.
You'll also need to run the web portal locally if the web-sdk example is run locally. To do this, in a separate command line window/tab, navigate to web-sdk/portal
and install dependencies:
cd portal && yarn
Then run the portal:
yarn start-dev
Once both the example and portal are running locally, the example should be viewable at http://localhost:3002
.
FAQs
Unknown package
We found that @usecapsule/web-sdk 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.