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

json-fetcher

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-fetcher - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

index.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.JsonFetcher=t():e.JsonFetcher=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},c=r(4),a=r(2),u=r(3),f={credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json"}},l=function(e){return"string"===!("undefined"==typeof e?"undefined":i(e))?e:JSON.stringify(e)},s=function(e){return"string"==typeof e?e:c.stringify(options.query)},p=function(){function e(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];n(this,e),this.defaults=Object.assign(t,f)}return o(e,[{key:"config",value:function(e){u(this.defaults,e)}},{key:"request",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(t=Object.assign(a(this.defaults),t),t.body)try{t.body=l(t.body)}catch(r){return Promise.reject(r)}return t.query&&(t.query=s(t.query),e+="?"+t.query),fetch(e,t).then(function(e){return e.json()}).then(function(e){return"string"==typeof e?JSON.parse(e):e})}}]),e}();["head","options","connect","get","post","put","delete"].reduce(function(e,t){return e[t]=function(e){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return r.method=t.toUpperCase(),this.request(e,r)},e},p.prototype),t.JsonFetcher=p},function(e,t){"use strict";var r=function(){for(var e=new Array(256),t=0;256>t;++t)e[t]="%"+((16>t?"0":"")+t.toString(16)).toUpperCase();return e}();t.arrayToObject=function(e,t){for(var r=t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!=typeof e[n]&&(r[n]=e[n]);return r},t.merge=function(e,r,n){if(!r)return e;if("object"!=typeof r){if(Array.isArray(e))e.push(r);else{if("object"!=typeof e)return[e,r];e[r]=!0}return e}if("object"!=typeof e)return[e].concat(r);var o=e;return Array.isArray(e)&&!Array.isArray(r)&&(o=t.arrayToObject(e,n)),Object.keys(r).reduce(function(e,o){var i=r[o];return Object.prototype.hasOwnProperty.call(e,o)?e[o]=t.merge(e[o],i,n):e[o]=i,e},o)},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.encode=function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),n="",o=0;o<t.length;++o){var i=t.charCodeAt(o);45===i||46===i||95===i||126===i||i>=48&&57>=i||i>=65&&90>=i||i>=97&&122>=i?n+=t.charAt(o):128>i?n+=r[i]:2048>i?n+=r[192|i>>6]+r[128|63&i]:55296>i||i>=57344?n+=r[224|i>>12]+r[128|i>>6&63]+r[128|63&i]:(o+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(o)),n+=r[240|i>>18]+r[128|i>>12&63]+r[128|i>>6&63]+r[128|63&i])}return n},t.compact=function(e,r){if("object"!=typeof e||null===e)return e;var n=r||[],o=n.indexOf(e);if(-1!==o)return n[o];if(n.push(e),Array.isArray(e)){for(var i=[],c=0;c<e.length;++c)e[c]&&"object"==typeof e[c]?i.push(t.compact(e[c],n)):"undefined"!=typeof e[c]&&i.push(e[c]);return i}for(var a=Object.keys(e),u=0;u<a.length;++u){var f=a[u];e[f]=t.compact(e[f],n)}return e},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null===e||"undefined"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},function(e,t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},n=e.exports=function(e){if(null==e||"object"!=("undefined"==typeof e?"undefined":r(e)))return e;var t=e.constructor();return Object.keys(e).forEach(function(r){e instanceof Object?t[r]=n(e[r]):t[r]=e[r]}),t}},function(e,t){"use strict";function r(e){return e&&"object"===("undefined"==typeof e?"undefined":n(e))&&!Array.isArray(e)&&null!==e}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=e.exports=function(e,t){return r(e)&&r(t)?(Object.keys(t).forEach(function(n){r(t[n])?(e[n]||(e[n]={}),o(e[n],t[n])):e[n]=t[n]}),e):e}},function(e,t,r){"use strict";var n=r(6),o=r(5);e.exports={stringify:n,parse:o}},function(e,t,r){"use strict";var n=r(1),o={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1,decoder:n.decode},i=function(e,t){for(var r={},n=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0;o<n.length;++o){var i=n[o],c=-1===i.indexOf("]=")?i.indexOf("="):i.indexOf("]=")+1;if(-1===c)r[t.decoder(i)]="",t.strictNullHandling&&(r[t.decoder(i)]=null);else{var a=t.decoder(i.slice(0,c)),u=t.decoder(i.slice(c+1));Object.prototype.hasOwnProperty.call(r,a)?r[a]=[].concat(r[a]).concat(u):r[a]=u}}return r},c=function u(e,t,r){if(!e.length)return t;var n,o=e.shift();if("[]"===o)n=[],n=n.concat(u(e,t,r));else{n=r.plainObjects?Object.create(null):{};var i="["===o[0]&&"]"===o[o.length-1]?o.slice(1,o.length-1):o,c=parseInt(i,10);!isNaN(c)&&o!==i&&String(c)===i&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(n=[],n[c]=u(e,t,r)):n[i]=u(e,t,r)}return n},a=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^\.\[]+)/g,"[$1]"):e,o=/^([^\[\]]*)/,i=/(\[[^\[\]]*\])/g,a=o.exec(n),u=[];if(a[1]){if(!r.plainObjects&&Object.prototype.hasOwnProperty(a[1])&&!r.allowPrototypes)return;u.push(a[1])}for(var f=0;null!==(a=i.exec(n))&&f<r.depth;)f+=1,(r.plainObjects||!Object.prototype.hasOwnProperty(a[1].replace(/\[|\]/g,""))||r.allowPrototypes)&&u.push(a[1]);return a&&u.push("["+n.slice(a.index)+"]"),c(u,t,r)}};e.exports=function(e,t){var r=t||{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:o.delimiter,r.depth="number"==typeof r.depth?r.depth:o.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:o.arrayLimit,r.parseArrays=r.parseArrays!==!1,r.decoder="function"==typeof r.decoder?r.decoder:o.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:o.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:o.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:o.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:o.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:o.strictNullHandling,""===e||null===e||"undefined"==typeof e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?i(e,r):e,u=r.plainObjects?Object.create(null):{},f=Object.keys(c),l=0;l<f.length;++l){var s=f[l],p=a(s,c[s],r);u=n.merge(u,p,r)}return n.compact(u)}},function(e,t,r){"use strict";var n=r(1),o={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},i={delimiter:"&",strictNullHandling:!1,skipNulls:!1,encode:!0,encoder:n.encode},c=function a(e,t,r,o,i,c,u,f,l){var s=e;if("function"==typeof u)s=u(t,s);else if(s instanceof Date)s=s.toISOString();else if(null===s){if(o)return c?c(t):t;s=""}if("string"==typeof s||"number"==typeof s||"boolean"==typeof s||n.isBuffer(s))return c?[c(t)+"="+c(s)]:[t+"="+String(s)];var p=[];if("undefined"==typeof s)return p;var y;if(Array.isArray(u))y=u;else{var d=Object.keys(s);y=f?d.sort(f):d}for(var b=0;b<y.length;++b){var m=y[b];i&&null===s[m]||(p=Array.isArray(s)?p.concat(a(s[m],r(t,m),r,o,i,c,u,f,l)):p.concat(a(s[m],t+(l?"."+m:"["+m+"]"),r,o,i,c,u,f,l)))}return p};e.exports=function(e,t){var r,n,a=e,u=t||{},f="undefined"==typeof u.delimiter?i.delimiter:u.delimiter,l="boolean"==typeof u.strictNullHandling?u.strictNullHandling:i.strictNullHandling,s="boolean"==typeof u.skipNulls?u.skipNulls:i.skipNulls,p="boolean"==typeof u.encode?u.encode:i.encode,y=p?"function"==typeof u.encoder?u.encoder:i.encoder:null,d="function"==typeof u.sort?u.sort:null,b="undefined"==typeof u.allowDots?!1:u.allowDots;if(null!==u.encoder&&void 0!==u.encoder&&"function"!=typeof u.encoder)throw new TypeError("Encoder has to be a function.");"function"==typeof u.filter?(n=u.filter,a=n("",a)):Array.isArray(u.filter)&&(r=n=u.filter);var m=[];if("object"!=typeof a||null===a)return"";var h;h=u.arrayFormat in o?u.arrayFormat:"indices"in u?u.indices?"indices":"repeat":"indices";var g=o[h];r||(r=Object.keys(a)),d&&r.sort(d);for(var v=0;v<r.length;++v){var j=r[v];s&&null===a[j]||(m=m.concat(c(a[j],j,g,l,s,y,n,d,b)))}return m.join(f)}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.JsonFetcher=t():e.JsonFetcher=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},c=r(4),a=r(2),u=r(3),f={credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json"}},l=function(e){return"string"===!("undefined"==typeof e?"undefined":i(e))?e:JSON.stringify(e)},s=function(e){return"string"==typeof e?e:c.stringify(options.query)},p=function(){function e(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];n(this,e),this.defaults=Object.assign(t,f)}return o(e,[{key:"config",value:function(e){u(this.defaults,e)}},{key:"request",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(t=Object.assign(a(this.defaults),t),t.body)try{t.body=l(t.body)}catch(r){return Promise.reject(r)}return t.query&&(t.query=s(t.query),e+="?"+t.query),fetch(e,t).then(function(e){return e.json()})}}]),e}();["head","options","connect","get","post","put","delete"].reduce(function(e,t){return e[t]=function(e){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return r.method=t.toUpperCase(),this.request(e,r)},e},p.prototype),t.JsonFetcher=p},function(e,t){"use strict";var r=function(){for(var e=new Array(256),t=0;256>t;++t)e[t]="%"+((16>t?"0":"")+t.toString(16)).toUpperCase();return e}();t.arrayToObject=function(e,t){for(var r=t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!=typeof e[n]&&(r[n]=e[n]);return r},t.merge=function(e,r,n){if(!r)return e;if("object"!=typeof r){if(Array.isArray(e))e.push(r);else{if("object"!=typeof e)return[e,r];e[r]=!0}return e}if("object"!=typeof e)return[e].concat(r);var o=e;return Array.isArray(e)&&!Array.isArray(r)&&(o=t.arrayToObject(e,n)),Object.keys(r).reduce(function(e,o){var i=r[o];return Object.prototype.hasOwnProperty.call(e,o)?e[o]=t.merge(e[o],i,n):e[o]=i,e},o)},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.encode=function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),n="",o=0;o<t.length;++o){var i=t.charCodeAt(o);45===i||46===i||95===i||126===i||i>=48&&57>=i||i>=65&&90>=i||i>=97&&122>=i?n+=t.charAt(o):128>i?n+=r[i]:2048>i?n+=r[192|i>>6]+r[128|63&i]:55296>i||i>=57344?n+=r[224|i>>12]+r[128|i>>6&63]+r[128|63&i]:(o+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(o)),n+=r[240|i>>18]+r[128|i>>12&63]+r[128|i>>6&63]+r[128|63&i])}return n},t.compact=function(e,r){if("object"!=typeof e||null===e)return e;var n=r||[],o=n.indexOf(e);if(-1!==o)return n[o];if(n.push(e),Array.isArray(e)){for(var i=[],c=0;c<e.length;++c)e[c]&&"object"==typeof e[c]?i.push(t.compact(e[c],n)):"undefined"!=typeof e[c]&&i.push(e[c]);return i}for(var a=Object.keys(e),u=0;u<a.length;++u){var f=a[u];e[f]=t.compact(e[f],n)}return e},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null===e||"undefined"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},function(e,t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},n=e.exports=function(e){if(null==e||"object"!=("undefined"==typeof e?"undefined":r(e)))return e;var t=e.constructor();return Object.keys(e).forEach(function(r){e instanceof Object?t[r]=n(e[r]):t[r]=e[r]}),t}},function(e,t){"use strict";function r(e){return e&&"object"===("undefined"==typeof e?"undefined":n(e))&&!Array.isArray(e)&&null!==e}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=e.exports=function(e,t){return r(e)&&r(t)?(Object.keys(t).forEach(function(n){r(t[n])?(e[n]||(e[n]={}),o(e[n],t[n])):e[n]=t[n]}),e):e}},function(e,t,r){"use strict";var n=r(6),o=r(5);e.exports={stringify:n,parse:o}},function(e,t,r){"use strict";var n=r(1),o={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1,decoder:n.decode},i=function(e,t){for(var r={},n=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0;o<n.length;++o){var i=n[o],c=-1===i.indexOf("]=")?i.indexOf("="):i.indexOf("]=")+1;if(-1===c)r[t.decoder(i)]="",t.strictNullHandling&&(r[t.decoder(i)]=null);else{var a=t.decoder(i.slice(0,c)),u=t.decoder(i.slice(c+1));Object.prototype.hasOwnProperty.call(r,a)?r[a]=[].concat(r[a]).concat(u):r[a]=u}}return r},c=function u(e,t,r){if(!e.length)return t;var n,o=e.shift();if("[]"===o)n=[],n=n.concat(u(e,t,r));else{n=r.plainObjects?Object.create(null):{};var i="["===o[0]&&"]"===o[o.length-1]?o.slice(1,o.length-1):o,c=parseInt(i,10);!isNaN(c)&&o!==i&&String(c)===i&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(n=[],n[c]=u(e,t,r)):n[i]=u(e,t,r)}return n},a=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^\.\[]+)/g,"[$1]"):e,o=/^([^\[\]]*)/,i=/(\[[^\[\]]*\])/g,a=o.exec(n),u=[];if(a[1]){if(!r.plainObjects&&Object.prototype.hasOwnProperty(a[1])&&!r.allowPrototypes)return;u.push(a[1])}for(var f=0;null!==(a=i.exec(n))&&f<r.depth;)f+=1,(r.plainObjects||!Object.prototype.hasOwnProperty(a[1].replace(/\[|\]/g,""))||r.allowPrototypes)&&u.push(a[1]);return a&&u.push("["+n.slice(a.index)+"]"),c(u,t,r)}};e.exports=function(e,t){var r=t||{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:o.delimiter,r.depth="number"==typeof r.depth?r.depth:o.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:o.arrayLimit,r.parseArrays=r.parseArrays!==!1,r.decoder="function"==typeof r.decoder?r.decoder:o.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:o.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:o.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:o.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:o.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:o.strictNullHandling,""===e||null===e||"undefined"==typeof e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?i(e,r):e,u=r.plainObjects?Object.create(null):{},f=Object.keys(c),l=0;l<f.length;++l){var s=f[l],p=a(s,c[s],r);u=n.merge(u,p,r)}return n.compact(u)}},function(e,t,r){"use strict";var n=r(1),o={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},i={delimiter:"&",strictNullHandling:!1,skipNulls:!1,encode:!0,encoder:n.encode},c=function a(e,t,r,o,i,c,u,f,l){var s=e;if("function"==typeof u)s=u(t,s);else if(s instanceof Date)s=s.toISOString();else if(null===s){if(o)return c?c(t):t;s=""}if("string"==typeof s||"number"==typeof s||"boolean"==typeof s||n.isBuffer(s))return c?[c(t)+"="+c(s)]:[t+"="+String(s)];var p=[];if("undefined"==typeof s)return p;var y;if(Array.isArray(u))y=u;else{var d=Object.keys(s);y=f?d.sort(f):d}for(var b=0;b<y.length;++b){var m=y[b];i&&null===s[m]||(p=Array.isArray(s)?p.concat(a(s[m],r(t,m),r,o,i,c,u,f,l)):p.concat(a(s[m],t+(l?"."+m:"["+m+"]"),r,o,i,c,u,f,l)))}return p};e.exports=function(e,t){var r,n,a=e,u=t||{},f="undefined"==typeof u.delimiter?i.delimiter:u.delimiter,l="boolean"==typeof u.strictNullHandling?u.strictNullHandling:i.strictNullHandling,s="boolean"==typeof u.skipNulls?u.skipNulls:i.skipNulls,p="boolean"==typeof u.encode?u.encode:i.encode,y=p?"function"==typeof u.encoder?u.encoder:i.encoder:null,d="function"==typeof u.sort?u.sort:null,b="undefined"==typeof u.allowDots?!1:u.allowDots;if(null!==u.encoder&&void 0!==u.encoder&&"function"!=typeof u.encoder)throw new TypeError("Encoder has to be a function.");"function"==typeof u.filter?(n=u.filter,a=n("",a)):Array.isArray(u.filter)&&(r=n=u.filter);var m=[];if("object"!=typeof a||null===a)return"";var h;h=u.arrayFormat in o?u.arrayFormat:"indices"in u?u.indices?"indices":"repeat":"indices";var g=o[h];r||(r=Object.keys(a)),d&&r.sort(d);for(var v=0;v<r.length;++v){var j=r[v];s&&null===a[j]||(m=m.concat(c(a[j],j,g,l,s,y,n,d,b)))}return m.join(f)}}])});
//# sourceMappingURL=index.js.map

@@ -56,9 +56,3 @@ // import { qs } from 'qs';

return fetch(url,options)
.then(res => res.json())
.then(res => {
if(typeof res === 'string') {
return JSON.parse(res);
}
return res;
});
.then(res => res.json());
}

@@ -65,0 +59,0 @@ }

{
"name": "json-fetcher",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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