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

deskbookers

Package Overview
Dependencies
Maintainers
5
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deskbookers - npm Package Compare versions

Comparing version 3.1.4 to 3.1.5

test/requests.js

14

dist/utils/requests.js
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['exports', 'hash.js', 'url', 'qs', 'json_encode', 'deskbookers-phpurlencode', 'lodash'], factory);
define(['exports', 'hash.js', 'url', 'qs', 'json_encode', 'phpurlencode', 'lodash'], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require('hash.js'), require('url'), require('qs'), require('json_encode'), require('deskbookers-phpurlencode'), require('lodash'));
factory(exports, require('hash.js'), require('url'), require('qs'), require('json_encode'), require('phpurlencode'), require('lodash'));
} else {

@@ -10,6 +10,6 @@ var mod = {

};
factory(mod.exports, global.hash, global.url, global.qs, global.json_encode, global.deskbookersPhpurlencode, global.lodash);
factory(mod.exports, global.hash, global.url, global.qs, global.json_encode, global.phpurlencode, global.lodash);
global.requests = mod.exports;
}
})(this, function (exports, _hash, _url, _qs, _json_encode, _deskbookersPhpurlencode, _lodash) {
})(this, function (exports, _hash, _url, _qs, _json_encode, _phpurlencode, _lodash) {
'use strict';

@@ -24,3 +24,3 @@

var _deskbookersPhpurlencode2 = _interopRequireDefault(_deskbookersPhpurlencode);
var _phpurlencode2 = _interopRequireDefault(_phpurlencode);

@@ -90,3 +90,3 @@ function _interopRequireDefault(obj) {

var phpJsonEncode = exports.phpJsonEncode = function phpJsonEncode(val) {
return (0, _json_encode2.default)(typeof val === 'undefined' ? null : val);
return (0, _json_encode2.default)(typeof val === 'undefined' ? null : val).replace(/(?!\\)\//g, '\\/');
};

@@ -98,3 +98,3 @@

var phpUrlEncode = exports.phpUrlEncode = _deskbookersPhpurlencode2.default;
var phpUrlEncode = exports.phpUrlEncode = _phpurlencode2.default;
});
{
"name": "deskbookers",
"version": "3.1.4",
"version": "3.1.5",
"description": "Deskbookers API JavaScript SDK",

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