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

@servicetitan/ajax-handlers

Package Overview
Dependencies
Maintainers
8
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@servicetitan/ajax-handlers - npm Package Compare versions

Comparing version 14.2.0 to 14.2.1

23

dist/ajax-handlers-common.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -27,3 +8,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

const axios_1 = __importDefault(require("axios"));
const Cookies = __importStar(require("js-cookie"));
const js_cookie_1 = __importDefault(require("js-cookie"));
const dateISO = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:[.,]\d+)?Z?$/i;

@@ -95,3 +76,3 @@ const dateISOMilliseconds = /[.,](\d+)/i;

const CSRFTokenName = 'X-CSRF-Token';
const token = Cookies.get(CSRFTokenName);
const token = js_cookie_1.default.get(CSRFTokenName);
if (token) {

@@ -98,0 +79,0 @@ config.headers.common[CSRFTokenName] = token;

4

package.json
{
"name": "@servicetitan/ajax-handlers",
"version": "14.2.0",
"version": "14.2.1",
"description": "",

@@ -34,3 +34,3 @@ "repository": {

},
"gitHead": "69bc5867a63e25a309289103071ac1282908fb91"
"gitHead": "3170dd4613d6bba97eeea32f71aeb63c4ad25080"
}
import axios, { AxiosTransformer } from 'axios';
import * as Cookies from 'js-cookie';
import Cookies from 'js-cookie';

@@ -4,0 +4,0 @@ const dateISO = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:[.,]\d+)?Z?$/i;

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