Socket
Socket
Sign inDemoInstall

url-search-params-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

url-search-params-polyfill - npm Package Compare versions

Comparing version 8.2.3 to 8.2.4

11

index.js

@@ -136,5 +136,4 @@ /**!

// There is a bug in Safari 10.1 and `Proxy`ing it is not enough.
var forSureUsePolyfill = !decodesPlusesCorrectly;
var useProxy = (!forSureUsePolyfill && nativeURLSearchParams && !isSupportObjectConstructor && self.Proxy);
var propValue;
var useProxy = self.Proxy && nativeURLSearchParams && (!decodesPlusesCorrectly || !encodesAmpersandsCorrectly || !isSupportObjectConstructor || !isSupportSize);
var propValue;
if (useProxy) {

@@ -152,2 +151,3 @@ // Safari 10.0 doesn't support Proxy, so it won't extend URLSearchParams on safari 10.0

}
/*

@@ -164,2 +164,7 @@ * Apply polyfill to global object and append other prototype into it

// Fix #54, `toString.call(new URLSearchParams)` will return correct value when Proxy not used
if (!useProxy && self.Symbol) {
USPProto[self.Symbol.toStringTag] = 'URLSearchParams';
}
/**

@@ -166,0 +171,0 @@ *

{
"name": "url-search-params-polyfill",
"version": "8.2.3",
"version": "8.2.4",
"description": "a simple polyfill for javascript URLSearchParams",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/jerrybendy/url-search-params-polyfill",

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