Socket
Socket
Sign inDemoInstall

arangojs

Package Overview
Dependencies
Maintainers
5
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arangojs - npm Package Compare versions

Comparing version 8.2.0 to 8.2.1

12

CHANGELOG.md

@@ -17,2 +17,11 @@ # Changelog

## [8.2.1] - 2023-04-05
### Fixed
- Fixed a bug in search parameter handling in the browser version
Previously the browser version would incorrectly handle search parameters,
which could result in invalid request URLs in many cases.
## [8.2.0] - 2023-03-29

@@ -25,3 +34,3 @@

This change affects all index names using unicode characters. **The change
has no effect when using non-unicode (ASCII) names.**
has no effect when using non-unicode (ASCII) names.**

@@ -1581,2 +1590,3 @@ Any names used when creating/ensuring indexes or passed to any methods that

[8.2.1]: https://github.com/arangodb/arangojs/compare/v8.2.0...v8.2.1
[8.2.0]: https://github.com/arangodb/arangojs/compare/v8.1.0...v8.2.0

@@ -1583,0 +1593,0 @@ [8.1.0]: https://github.com/arangodb/arangojs/compare/v8.0.0...v8.1.0

11

lib/request.web.js

@@ -37,7 +37,10 @@ "use strict";

const url = new URL(reqUrl.pathname, base);
if (base.search || reqUrl.search) {
url.search = reqUrl.search
? `${base.search}&${reqUrl.search.slice(1)}`
: base.search;
if (reqUrl.search) {
if (!base.search)
url.search = reqUrl.search.slice(1);
else
url.search = `${base.search}&${reqUrl.search.slice(1)}`;
}
else
url.search = base.search;
if (!headers["authorization"]) {

@@ -44,0 +47,0 @@ headers["authorization"] = `Basic ${auth}`;

{
"name": "arangojs",
"version": "8.2.0",
"version": "8.2.1",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=14"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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