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

bun-types

Package Overview
Dependencies
Maintainers
3
Versions
789
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bun-types - npm Package Compare versions

Comparing version 1.1.43-canary.20250105T140503 to 1.1.43-canary.20250106T140553

4

docs/bundler/plugins.md

@@ -72,3 +72,3 @@ Bun provides a universal plugin API that can be used to extend both the _runtime_ and _bundler_.

`onLoad` and `onResolve` accept an optional `namespace` string. What is a namespaace?
`onLoad` and `onResolve` accept an optional `namespace` string. What is a namespace?

@@ -243,3 +243,3 @@ Every module has a namespace. Namespaces are used to prefix the import in transpiled code; for instance, a loader with a `filter: /\.yaml$/` and `namespace: "yaml:"` will transform an import from `./myfile.yaml` into `yaml:./myfile.yaml`.

This is useful for returning contens of a module that depends on other modules.
This is useful for returning contents of a module that depends on other modules.

@@ -246,0 +246,0 @@ ##### Example: tracking and reporting unused exports

{
"version": "1.1.43-canary.20250105T140503",
"version": "1.1.43-canary.20250106T140553",
"name": "bun-types",

@@ -4,0 +4,0 @@ "license": "MIT",

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