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

@bearei/fetch

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bearei/fetch - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

lib/commonjs/config.d.ts

@@ -12,3 +12,3 @@ import type { FetchOptions } from './fetch';

*/
baseUrl?: string;
baseURL?: string;
}

@@ -15,0 +15,0 @@ export declare const CONFIGS: Map<any, any>;

@@ -439,9 +439,9 @@ /******/ (function() { // webpackBootstrap

var handleFullURL = function handleFullURL() {
var fullUrl;
var fullURL;
try {
fullUrl = new URL(url);
fullURL = new URL(url);
} catch (error) {
fullUrl = new URL("".concat(config_1.CONFIGS.get('baseUrl')).concat(url));
fullURL = new URL("".concat(config_1.CONFIGS.get('baseURL')).concat(url));
}
return fullUrl;
return fullURL;
};

@@ -448,0 +448,0 @@ var _handleFullURL = handleFullURL(),

@@ -527,9 +527,9 @@ /******/ (function() { // webpackBootstrap

var handleFullURL = function handleFullURL() {
var fullUrl;
var fullURL;
try {
fullUrl = new URL(url);
fullURL = new URL(url);
} catch (error) {
fullUrl = new URL("".concat(config_1.CONFIGS.get('baseUrl')).concat(url));
fullURL = new URL("".concat(config_1.CONFIGS.get('baseURL')).concat(url));
}
return fullUrl;
return fullURL;
};

@@ -536,0 +536,0 @@ var _handleFullURL = handleFullURL(),

@@ -83,9 +83,9 @@ /******/ (function() { // webpackBootstrap

var handleFullURL = function handleFullURL() {
var fullUrl;
var fullURL;
try {
fullUrl = new URL(url);
fullURL = new URL(url);
} catch (error) {
fullUrl = new URL("".concat(config_1.CONFIGS.get('baseUrl')).concat(url));
fullURL = new URL("".concat(config_1.CONFIGS.get('baseURL')).concat(url));
}
return fullUrl;
return fullURL;
};

@@ -92,0 +92,0 @@ var _handleFullURL = handleFullURL(),

@@ -12,3 +12,3 @@ import type { FetchOptions } from './fetch';

*/
baseUrl?: string;
baseURL?: string;
}

@@ -15,0 +15,0 @@ export declare const CONFIGS: Map<any, any>;

@@ -289,9 +289,9 @@ /******/ var __webpack_modules__ = ({

var handleFullURL = function handleFullURL() {
var fullUrl;
var fullURL;
try {
fullUrl = new URL(url);
fullURL = new URL(url);
} catch (error) {
fullUrl = new URL("".concat(_config__WEBPACK_IMPORTED_MODULE_0__/* .CONFIGS.get */ .O.get('baseUrl')).concat(url));
fullURL = new URL("".concat(_config__WEBPACK_IMPORTED_MODULE_0__/* .CONFIGS.get */ .O.get('baseURL')).concat(url));
}
return fullUrl;
return fullURL;
};

@@ -298,0 +298,0 @@ var _handleFullURL = handleFullURL(),

@@ -374,9 +374,9 @@ /******/ var __webpack_modules__ = ({

var handleFullURL = function handleFullURL() {
var fullUrl;
var fullURL;
try {
fullUrl = new URL(url);
fullURL = new URL(url);
} catch (error) {
fullUrl = new URL("".concat(_config__WEBPACK_IMPORTED_MODULE_0__/* .CONFIGS.get */ .O.get('baseUrl')).concat(url));
fullURL = new URL("".concat(_config__WEBPACK_IMPORTED_MODULE_0__/* .CONFIGS.get */ .O.get('baseURL')).concat(url));
}
return fullUrl;
return fullURL;
};

@@ -383,0 +383,0 @@ var _handleFullURL = handleFullURL(),

@@ -91,9 +91,9 @@ /******/ var __webpack_modules__ = ({

var handleFullURL = function handleFullURL() {
var fullUrl;
var fullURL;
try {
fullUrl = new URL(url);
fullURL = new URL(url);
} catch (error) {
fullUrl = new URL("".concat(_config__WEBPACK_IMPORTED_MODULE_0__/* .CONFIGS.get */ .O.get('baseUrl')).concat(url));
fullURL = new URL("".concat(_config__WEBPACK_IMPORTED_MODULE_0__/* .CONFIGS.get */ .O.get('baseURL')).concat(url));
}
return fullUrl;
return fullURL;
};

@@ -100,0 +100,0 @@ var _handleFullURL = handleFullURL(),

{
"name": "@bearei/fetch",
"version": "0.0.3",
"version": "0.0.4",
"main": "./lib/commonjs/index",

@@ -5,0 +5,0 @@ "module": "./lib/module/index",

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