Comparing version 1.1.0 to 1.1.1
@@ -62,3 +62,3 @@ class ResponseError extends Error { | ||
status: ResponseErrors[`I'm a teapot`], | ||
statusText: '`fetch` missing in `window`' | ||
statusText: (typeof fetch !== 'undefined') ? 'why do you use mee?..' : '`fetch` missing in `window`' | ||
}; | ||
@@ -65,0 +65,0 @@ |
@@ -105,3 +105,3 @@ 'use strict'; | ||
status: exports.ResponseErrors["I'm a teapot"], | ||
statusText: '`fetch` missing in `window`' | ||
statusText: (typeof fetch !== 'undefined') ? 'why do you use mee?..' : '`fetch` missing in `window`' | ||
}; | ||
@@ -108,0 +108,0 @@ |
@@ -104,3 +104,3 @@ var kefetchup = (function (exports) { | ||
status: exports.ResponseErrors["I'm a teapot"], | ||
statusText: '`fetch` missing in `window`' | ||
statusText: (typeof fetch !== 'undefined') ? 'why do you use mee?..' : '`fetch` missing in `window`' | ||
}; | ||
@@ -107,0 +107,0 @@ |
@@ -107,3 +107,3 @@ (function (global, factory) { | ||
status: exports.ResponseErrors["I'm a teapot"], | ||
statusText: '`fetch` missing in `window`' | ||
statusText: (typeof fetch !== 'undefined') ? 'why do you use mee?..' : '`fetch` missing in `window`' | ||
}; | ||
@@ -110,0 +110,0 @@ |
{ | ||
"name": "kefetchup", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Simple fetch client API to spice up your application", | ||
@@ -9,6 +9,7 @@ "keywords": [], | ||
"unpkg": "dist/kefetchup.iife.js", | ||
"typings": "dist/types/kefetchup.d.ts", | ||
"typings": "dist/types/index.d.ts", | ||
"files": [ | ||
"src", | ||
"dist" | ||
"dist", | ||
"index.ts" | ||
], | ||
@@ -26,3 +27,5 @@ "author": "Karen <dev.kaskar2008@gmail.com>", | ||
"prebuild": "rimraf dist", | ||
"build": "tsc --module commonjs && rollup -c rollup.config.ts", | ||
"build:es": "tsc --module es6 --target es6 --outDir ./dist/es", | ||
"build:cjs": "tsc --module commonjs --target es5 --outDir ./dist/cjs", | ||
"build": "npm run build:cjs && npm run build:es && rollup -c rollup.config.ts", | ||
"start": "rollup -c rollup.config.ts -w", | ||
@@ -29,0 +32,0 @@ "test": "jest", |
@@ -28,3 +28,3 @@ import { ResponseErrors } from './errors'; | ||
status: ResponseErrors[`I'm a teapot`], | ||
statusText: '`fetch` missing in `window`' | ||
statusText: (typeof fetch !== 'undefined') ? 'why do you use mee?..' : '`fetch` missing in `window`' | ||
}; |
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 not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
160019
42
2037
6