algoliasearch
Advanced tools
Comparing version 3.2.2 to 3.2.3
{ | ||
"name": "algoliasearch", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"homepage": "https://github.com/algolia/algoliasearch-client-js", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -1,2 +0,2 @@ | ||
/*! algoliasearch 3.2.2 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ | ||
/*! algoliasearch 3.2.3 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ | ||
(function(g){var f;"undefined"!==typeof window?f=window:"undefined"!==typeof self&&(f=self);f.ALGOLIA_MIGRATION_LAYER=g()})(function(){return function f(b,k,c){function a(d,m){if(!k[d]){if(!b[d]){var p="function"==typeof require&&require;if(!m&&p)return p(d,!0);if(h)return h(d,!0);p=Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p;}p=k[d]={exports:{}};b[d][0].call(p.exports,function(c){var e=b[d][1][c];return a(e?e:c)},p,p.exports,f,b,k,c)}return k[d].exports}for(var h="function"== | ||
@@ -61,2 +61,2 @@ typeof require&&require,d=0;d<c.length;d++)a(c[d]);return a}({1:[function(f,b,k){function c(d,a){for(var c in a)d.setAttribute(c,a[c])}function a(d,a){d.onload=function(){this.onerror=this.onload=null;a(null,d)};d.onerror=function(){this.onerror=this.onload=null;a(Error("Failed to load "+this.src),d)}}function h(d,a){d.onreadystatechange=function(){if("complete"==this.readyState||"loaded"==this.readyState)this.onreadystatechange=null,a(null,d)}}b.exports=function(d,b,m){var k=document.head||document.getElementsByTagName("head")[0], | ||
b,c)},ua:q.ua,version:q.version}}])}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{11:11,13:13,14:14,16:16,17:17,18:18,8:8}],16:[function(g,f,b){(function(b){f.exports=function(){var c=b.document.location.protocol;"http:"!==c&&"https:"!==c&&(c="http:");return c}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],17:[function(g,f,b){f.exports=function(b,a){b= | ||
/\?/.test(b)?b+"&":b+"?";return b+k.encode(a)};var k=g(4)},{4:4}],18:[function(g,f,b){f.exports="3.2.2"},{}]},{},[15]); | ||
/\?/.test(b)?b+"&":b+"?";return b+k.encode(a)};var k=g(4)},{4:4}],18:[function(g,f,b){f.exports="3.2.3"},{}]},{},[15]); |
@@ -1,2 +0,2 @@ | ||
/*! algoliasearch 3.2.2 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ | ||
/*! algoliasearch 3.2.3 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ | ||
(function(g){var k;"undefined"!==typeof window?k=window:"undefined"!==typeof self&&(k=self);k.ALGOLIA_MIGRATION_LAYER=g()})(function(){return function k(c,f,b){function a(d,m){if(!f[d]){if(!c[d]){var l="function"==typeof require&&require;if(!m&&l)return l(d,!0);if(h)return h(d,!0);l=Error("Cannot find module '"+d+"'");throw l.code="MODULE_NOT_FOUND",l;}l=f[d]={exports:{}};c[d][0].call(l.exports,function(b){var e=c[d][1][b];return a(e?e:b)},l,l.exports,k,c,f,b)}return f[d].exports}for(var h="function"== | ||
@@ -61,2 +61,2 @@ typeof require&&require,d=0;d<b.length;d++)a(b[d]);return a}({1:[function(k,c,f){function b(d,a){for(var b in a)d.setAttribute(b,a[b])}function a(d,a){d.onload=function(){this.onerror=this.onload=null;a(null,d)};d.onerror=function(){this.onerror=this.onload=null;a(Error("Failed to load "+this.src),d)}}function h(d,a){d.onreadystatechange=function(){if("complete"==this.readyState||"loaded"==this.readyState)this.onreadystatechange=null,a(null,d)}}c.exports=function(d,c,m){var l=document.head||document.getElementsByTagName("head")[0], | ||
a)}).promise()}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{11:11,13:13,14:14,16:16,17:17,18:18,8:8}],16:[function(g,k,c){(function(c){k.exports=function(){var b=c.document.location.protocol;"http:"!==b&&"https:"!==b&&(b="http:");return b}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],17:[function(g,k,c){k.exports=function(b,a){b=/\?/.test(b)?b+"&": | ||
b+"?";return b+f.encode(a)};var f=g(4)},{4:4}],18:[function(g,k,c){k.exports="3.2.2"},{}]},{},[15]); | ||
b+"?";return b+f.encode(a)};var f=g(4)},{4:4}],18:[function(g,k,c){k.exports="3.2.3"},{}]},{},[15]); |
@@ -1,2 +0,2 @@ | ||
/*! algoliasearch 3.2.2 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ | ||
/*! algoliasearch 3.2.3 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ | ||
(function(F){var g;"undefined"!==typeof window?g=window:"undefined"!==typeof self&&(g=self);g.ALGOLIA_MIGRATION_LAYER=F()})(function(){return function g(h,c,n){function e(d,f){if(!c[d]){if(!h[d]){var l="function"==typeof require&&require;if(!f&&l)return l(d,!0);if(a)return a(d,!0);l=Error("Cannot find module '"+d+"'");throw l.code="MODULE_NOT_FOUND",l;}l=c[d]={exports:{}};h[d][0].call(l.exports,function(a){var f=h[d][1][a];return e(f?f:a)},l,l.exports,g,h,c,n)}return c[d].exports}for(var a="function"== | ||
@@ -73,2 +73,2 @@ typeof require&&require,f=0;f<n.length;f++)e(n[f]);return e}({1:[function(g,h,c){function n(a,d){for(var e in d)a.setAttribute(e,d[e])}function e(a,d){a.onload=function(){this.onerror=this.onload=null;d(null,a)};a.onerror=function(){this.onerror=this.onload=null;d(Error("Failed to load "+this.src),a)}}function a(a,d){a.onreadystatechange=function(){if("complete"==this.readyState||"loaded"==this.readyState)this.onreadystatechange=null,d(null,a)}}h.exports=function(f,d,g){var l=document.head||document.getElementsByTagName("head")[0], | ||
"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{12:12,14:14,15:15,17:17,18:18,19:19,8:8,9:9}],17:[function(g,h,c){(function(c){h.exports=function(){var e=c.document.location.protocol;"http:"!==e&&"https:"!==e&&(e="http:");return e}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],18:[function(g,h,c){h.exports=function(c,a){c=/\?/.test(c)?c+"&":c+"?";return c+n.encode(a)}; | ||
var n=g(4)},{4:4}],19:[function(g,h,c){h.exports="3.2.2"},{}]},{},[16])(16)}); | ||
var n=g(4)},{4:4}],19:[function(g,h,c){h.exports="3.2.3"},{}]},{},[16])(16)}); |
{ | ||
"name": "algoliasearch", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "AlgoliaSearch API JavaScript client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -60,3 +60,4 @@ // This is the Parse entry point | ||
if (opts.body !== undefined) { | ||
parseReqOpts.headers['content-type'] = 'application/json'; | ||
// parse is proxing our requests and requires us to set a charset. while json is always utf-8 | ||
parseReqOpts.headers['content-type'] = 'application/json;charset=utf-8'; | ||
parseReqOpts.body = opts.body; | ||
@@ -63,0 +64,0 @@ } |
@@ -1,1 +0,1 @@ | ||
"3.2.2" | ||
"3.2.3" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
818928
17789
8