From 8b357e5581a4fd4c95fcb889c4d89e1634c7c862 Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Wed, 21 Dec 2022 11:21:56 -0500 Subject: [PATCH] decode-uri-component@0.2.2 --- node_modules/decode-uri-component/index.js | 8 ++++---- node_modules/decode-uri-component/license | 20 ++++--------------- .../decode-uri-component/package.json | 12 +++++------ node_modules/decode-uri-component/readme.md | 15 +++++++++++++- node_modules/query-string/package.json | 14 ++++++------- package-lock.json | 6 +++--- 6 files changed, 38 insertions(+), 37 deletions(-) diff --git a/node_modules/decode-uri-component/index.js b/node_modules/decode-uri-component/index.js index 691499b0e8c4a..24e7db0cc55aa 100644 --- a/node_modules/decode-uri-component/index.js +++ b/node_modules/decode-uri-component/index.js @@ -1,12 +1,12 @@ 'use strict'; var token = '%[a-f0-9]{2}'; -var singleMatcher = new RegExp(token, 'gi'); +var singleMatcher = new RegExp('(' + token + ')|([^%]+?)', 'gi'); var multiMatcher = new RegExp('(' + token + ')+', 'gi'); function decodeComponents(components, split) { try { // Try to decode the entire string first - return decodeURIComponent(components.join('')); + return [decodeURIComponent(components.join(''))]; } catch (err) { // Do nothing } @@ -28,12 +28,12 @@ function decode(input) { try { return decodeURIComponent(input); } catch (err) { - var tokens = input.match(singleMatcher); + var tokens = input.match(singleMatcher) || []; for (var i = 1; i < tokens.length; i++) { input = decodeComponents(tokens, i).join(''); - tokens = input.match(singleMatcher); + tokens = input.match(singleMatcher) || []; } return input; diff --git a/node_modules/decode-uri-component/license b/node_modules/decode-uri-component/license index 78b08554a3dce..8dbcd5316fa58 100644 --- a/node_modules/decode-uri-component/license +++ b/node_modules/decode-uri-component/license @@ -1,21 +1,9 @@ The MIT License (MIT) -Copyright (c) Sam Verschueren (github.com/SamVerschueren) +Copyright (c) 2017, Sam Verschueren (github.com/SamVerschueren) -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/decode-uri-component/package.json b/node_modules/decode-uri-component/package.json index 1b89b88103ff5..44ddaa7136b99 100644 --- a/node_modules/decode-uri-component/package.json +++ b/node_modules/decode-uri-component/package.json @@ -1,8 +1,8 @@ { "_from": "decode-uri-component@^0.2.0", - "_id": "decode-uri-component@0.2.0", + "_id": "decode-uri-component@0.2.2", "_inBundle": false, - "_integrity": "sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og==", + "_integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", "_location": "/decode-uri-component", "_phantomChildren": {}, "_requested": { @@ -18,10 +18,10 @@ "_requiredBy": [ "/query-string" ], - "_resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "_shasum": "eb3913333458775cb84cd1a1fae062106bb87545", + "_resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "_shasum": "e69dbe25d37941171dd540e024c444cd5188e1e9", "_spec": "decode-uri-component@^0.2.0", - "_where": "/Users/darcyclarke/Documents/Repos/npm/v6/node_modules/query-string", + "_where": "/Users/ruyadorno/Documents/ruyadorno/npm6/node_modules/query-string", "author": { "name": "Sam Verschueren", "email": "sam.verschueren@gmail.com", @@ -65,5 +65,5 @@ "coveralls": "nyc report --reporter=text-lcov | coveralls", "test": "xo && nyc ava" }, - "version": "0.2.0" + "version": "0.2.2" } diff --git a/node_modules/decode-uri-component/readme.md b/node_modules/decode-uri-component/readme.md index 795c87ff7751d..3ed99b01c517d 100644 --- a/node_modules/decode-uri-component/readme.md +++ b/node_modules/decode-uri-component/readme.md @@ -1,6 +1,6 @@ # decode-uri-component -[![Build Status](https://travis-ci.org/SamVerschueren/decode-uri-component.svg?branch=master)](https://travis-ci.org/SamVerschueren/decode-uri-component) [![Coverage Status](https://coveralls.io/repos/SamVerschueren/decode-uri-component/badge.svg?branch=master&service=github)](https://coveralls.io/github/SamVerschueren/decode-uri-component?branch=master) +![CI](https://github.com/SamVerschueren/decode-uri-component/workflows/CI/badge.svg) [![Coverage Status](https://coveralls.io/repos/SamVerschueren/decode-uri-component/badge.svg?branch=master&service=github)](https://coveralls.io/github/SamVerschueren/decode-uri-component?branch=master) > A better [decodeURIComponent](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent) @@ -68,3 +68,16 @@ An encoded component of a Uniform Resource Identifier. ## License MIT © [Sam Verschueren](https://github.com/SamVerschueren) + + +--- + +
+ + Get professional support for this package with a Tidelift subscription + +
+ + Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. +
+
diff --git a/node_modules/query-string/package.json b/node_modules/query-string/package.json index 731c2ceb0b9d8..24d59d1b36138 100644 --- a/node_modules/query-string/package.json +++ b/node_modules/query-string/package.json @@ -1,19 +1,19 @@ { - "_from": "query-string@6.14.1", + "_from": "query-string@6", "_id": "query-string@6.14.1", "_inBundle": false, "_integrity": "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==", "_location": "/query-string", "_phantomChildren": {}, "_requested": { - "type": "version", + "type": "range", "registry": true, - "raw": "query-string@6.14.1", + "raw": "query-string@6", "name": "query-string", "escapedName": "query-string", - "rawSpec": "6.14.1", + "rawSpec": "6", "saveSpec": null, - "fetchSpec": "6.14.1" + "fetchSpec": "6" }, "_requiredBy": [ "#USER", @@ -21,8 +21,8 @@ ], "_resolved": "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz", "_shasum": "7ac2dca46da7f309449ba0f86b1fd28255b0c86a", - "_spec": "query-string@6.14.1", - "_where": "/Users/darcyclarke/Documents/Repos/npm/v6", + "_spec": "query-string@6", + "_where": "/Users/ruyadorno/Documents/ruyadorno/npm6", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", diff --git a/package-lock.json b/package-lock.json index 10743c4f98370..a24ccd948196b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2050,9 +2050,9 @@ "dev": true }, "decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og==" + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==" }, "decompress-response": { "version": "4.2.1",