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

arangojs

Package Overview
Dependencies
Maintainers
2
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 3.8.2 to 3.8.3

27

lib/util/request.js

@@ -6,5 +6,28 @@ 'use strict';

var once = require('./once');
var joinPath = require('path').posix.join;
var LinkedList = require('linkedlist');
function joinPath() {
var a = arguments[0] === undefined ? '' : arguments[0];
var b = arguments[1] === undefined ? '' : arguments[1];
if (!a && !b) return '';
var leadingSlash = a.charAt(0) === '/';
var trailingSlash = b.charAt(b.length - 1) === '/';
var tokens = (a + '/' + b).split('/').filter(Boolean);
for (var i = 0; i < tokens.length; i++) {
var token = tokens[i];
if (token === '..') {
tokens.splice(i - 1, 2);
i--;
} else if (token === '.') {
tokens.splice(i, 1);
i--;
}
}
var path = tokens.join('/');
if (leadingSlash) path = '/' + path;
if (trailingSlash) path = path + '/';
return path;
}
function rawCopy(obj) {

@@ -80,2 +103,2 @@ var data = {};

};
};
};

2

package.json
{
"name": "arangojs",
"version": "3.8.2",
"version": "3.8.3",
"description": "The official ArangoDB JavaScript driver.",

@@ -5,0 +5,0 @@ "main": "index.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