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

popsicle-transport-xhr

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popsicle-transport-xhr - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

2

dist/index.js

@@ -69,3 +69,3 @@ "use strict";

return new Promise(function (resolve, reject) {
const type = options.type || "text";
const type = options.type || "arraybuffer";
const method = req.method.toUpperCase();

@@ -72,0 +72,0 @@ if (req.signal.aborted) {

{
"name": "popsicle-transport-xhr",
"version": "1.0.2",
"version": "2.0.0",
"description": "Popsicle transport for sending requests over `XMLHttpRequest`",

@@ -13,8 +13,8 @@ "main": "dist/index.js",

"lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
"format": "npm run prettier -- README.md \"src/**/*.{js,ts}\"",
"format": "npm run prettier -- \"*.{md,yml,yaml}\" \"src/**/*.{js,jsx,ts,tsx}\"",
"build": "rimraf dist && tsc",
"specs": "jest --coverage",
"test": "npm run lint && npm run build && npm run specs && npm run size",
"size": "size-limit",
"prepare": "npm run build"
"test": "npm run -s lint && npm run -s build && npm run -s specs && npm run -s size",
"prepare": "npm run build",
"size": "size-limit"
},

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

"lint-staged": {
"*.{js,json,css,md}": [
"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}": [
"npm run prettier",

@@ -84,10 +84,10 @@ "git add"

"devDependencies": {
"@size-limit/preset-small-lib": "^2.1.6",
"@types/jest": "^24.0.13",
"@types/node": "^12.0.7",
"husky": "^2.4.0",
"husky": "^3.0.9",
"jest": "^24.8.0",
"lint-staged": "^8.2.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"servie": "^4.2.1",
"size-limit": "^1.3.6",
"ts-jest": "^24.0.2",

@@ -94,0 +94,0 @@ "tslint": "^5.17.0",

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