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

@tomphttp/bare-client

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tomphttp/bare-client - npm Package Compare versions

Comparing version 1.0.2-beta-snapshot4 to 1.0.3

dist/BareClient.esm.js.map

2

dist/BareClient.esm.js
// The user likely has overwritten all networking functions after importing bare-client
// It is our responsibility to make sure components of Bare-Client are using native networking functions
// These exports are provided to plugins by @rollup/plugin-inject
const global = globalThis;
const fetch = global.fetch;

@@ -1031,1 +1032,2 @@ const WebSocket = global.WebSocket;

export { BareError, BareClient as default, maxRedirects, statusEmpty, statusRedirect };
//# sourceMappingURL=BareClient.esm.js.map

@@ -0,1 +1,2 @@

export declare const global: typeof globalThis;
export declare const fetch: typeof globalThis.fetch;

@@ -2,0 +3,0 @@ export declare const WebSocket: {

3

package.json
{
"name": "@tomphttp/bare-client",
"version": "1.0.2-beta-snapshot4",
"version": "1.0.3",
"homepage": "https://github.com/tomphttp",

@@ -48,2 +48,3 @@ "bugs": {

"rollup": "^2.75.6",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",

@@ -50,0 +51,0 @@ "rollup-plugin-typescript2": "^0.32.1"

@@ -10,3 +10,3 @@ # Bare Client

```html
<script src="https://unpkg.com/@tomphttp/bare-client@1.0.2-beta-readme3/dist/BareClient.umd.min.cjs"></script>
<script src="https://unpkg.com/@tomphttp/bare-client@1.0.2-beta-rollup6/dist/BareClient.umd.min.cjs"></script>
```

@@ -13,0 +13,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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