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

@apicase/adapter-xhr

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apicase/adapter-xhr - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

2

index.cjs.js

@@ -67,3 +67,3 @@ 'use strict';

const res = Object.assign({}, from, to);
if (to.url && from.url) {
if (to.url !== undefined && from.url !== undefined) {
res.url = to.url[0] === '/' ? to.url : [from.url, to.url].join('/');

@@ -70,0 +70,0 @@ }

@@ -65,3 +65,3 @@ const pathToRegexp = require('path-to-regexp')

const res = Object.assign({}, from, to)
if (to.url && from.url) {
if (to.url !== undefined && from.url !== undefined) {
res.url = to.url[0] === '/' ? to.url : [from.url, to.url].join('/')

@@ -68,0 +68,0 @@ }

{
"name": "@apicase/adapter-xhr",
"version": "0.3.0",
"version": "0.4.0",
"description": "XHR adapter for apicase-core",

@@ -5,0 +5,0 @@ "main": "index.cjs.js",

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