mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 23:03:36 +01:00
composer and npm
This commit is contained in:
9
conf/site/node_modules/querystringify/README.md
generated
vendored
9
conf/site/node_modules/querystringify/README.md
generated
vendored
@@ -1,6 +1,6 @@
|
||||
# querystringify
|
||||
|
||||
[](http://unshift.io)[](http://browsenpm.org/package/querystringify)[](https://travis-ci.org/unshiftio/querystringify)[](https://david-dm.org/unshiftio/querystringify)[](https://coveralls.io/r/unshiftio/querystringify?branch=master)[](http://webchat.freenode.net/?channels=unshift)
|
||||
[](https://www.npmjs.com/package/querystringify)[](https://travis-ci.org/unshiftio/querystringify)[](https://david-dm.org/unshiftio/querystringify)[](https://coveralls.io/r/unshiftio/querystringify?branch=master)
|
||||
|
||||
A somewhat JSON compatible interface for query string parsing. This query string
|
||||
parser is dumb, don't expect to much from it as it only wants to parse simple
|
||||
@@ -31,11 +31,12 @@ var qs = require('querystringify');
|
||||
|
||||
The parse method transforms a given query string in to an object. Parameters
|
||||
without values are set to empty strings. It does not care if your query string
|
||||
is prefixed with a `?` or not. It just extracts the parts between the `=` and
|
||||
`&`:
|
||||
is prefixed with a `?`, a `#`, or not prefixed. It just extracts the parts
|
||||
between the `=` and `&`:
|
||||
|
||||
```js
|
||||
qs.parse('?foo=bar'); // { foo: 'bar' }
|
||||
qs.parse('#foo=bar'); // { foo: 'bar' }
|
||||
qs.parse('foo=bar'); // { foo: 'bar' }
|
||||
qs.parse('foo=bar&bar=foo'); // { foo: 'bar', bar: 'foo' }
|
||||
qs.parse('foo&bar=foo'); // { foo: '', bar: 'foo' }
|
||||
@@ -51,7 +52,7 @@ simply supply a string with the prefix value as second argument:
|
||||
```js
|
||||
qs.stringify({ foo: bar }); // foo=bar
|
||||
qs.stringify({ foo: bar }, true); // ?foo=bar
|
||||
qs.stringify({ foo: bar }, '&'); // &foo=bar
|
||||
qs.stringify({ foo: bar }, '#'); // #foo=bar
|
||||
qs.stringify({ foo: '' }, '&'); // &foo=
|
||||
```
|
||||
|
||||
|
||||
6
conf/site/node_modules/querystringify/index.js
generated
vendored
6
conf/site/node_modules/querystringify/index.js
generated
vendored
@@ -41,7 +41,7 @@ function encode(input) {
|
||||
* @api public
|
||||
*/
|
||||
function querystring(query) {
|
||||
var parser = /([^=?&]+)=?([^&]*)/g
|
||||
var parser = /([^=?#&]+)=?([^&]*)/g
|
||||
, result = {}
|
||||
, part;
|
||||
|
||||
@@ -96,8 +96,8 @@ function querystringify(obj, prefix) {
|
||||
value = '';
|
||||
}
|
||||
|
||||
key = encodeURIComponent(key);
|
||||
value = encodeURIComponent(value);
|
||||
key = encode(key);
|
||||
value = encode(value);
|
||||
|
||||
//
|
||||
// If we failed to encode the strings, we should bail out as we don't
|
||||
|
||||
29
conf/site/node_modules/querystringify/package.json
generated
vendored
29
conf/site/node_modules/querystringify/package.json
generated
vendored
@@ -1,32 +1,32 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"querystringify@2.1.1",
|
||||
"querystringify@2.2.0",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "querystringify@2.1.1",
|
||||
"_id": "querystringify@2.1.1",
|
||||
"_from": "querystringify@2.2.0",
|
||||
"_id": "querystringify@2.2.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA==",
|
||||
"_integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
|
||||
"_location": "/querystringify",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "querystringify@2.1.1",
|
||||
"raw": "querystringify@2.2.0",
|
||||
"name": "querystringify",
|
||||
"escapedName": "querystringify",
|
||||
"rawSpec": "2.1.1",
|
||||
"rawSpec": "2.2.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.1.1"
|
||||
"fetchSpec": "2.2.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/url-parse"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.1.tgz",
|
||||
"_spec": "2.1.1",
|
||||
"_resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
|
||||
"_spec": "2.2.0",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Arnout Kazemier"
|
||||
@@ -37,8 +37,9 @@
|
||||
"description": "Querystringify - Small, simple but powerful query string parser.",
|
||||
"devDependencies": {
|
||||
"assume": "^2.1.0",
|
||||
"istanbul": "^0.4.5",
|
||||
"mocha": "^5.2.0",
|
||||
"coveralls": "^3.1.0",
|
||||
"mocha": "^8.1.1",
|
||||
"nyc": "^15.1.0",
|
||||
"pre-commit": "^1.2.2"
|
||||
},
|
||||
"homepage": "https://github.com/unshiftio/querystringify",
|
||||
@@ -61,10 +62,8 @@
|
||||
"url": "git+https://github.com/unshiftio/querystringify.git"
|
||||
},
|
||||
"scripts": {
|
||||
"coverage": "istanbul cover _mocha -- test.js",
|
||||
"test": "mocha test.js",
|
||||
"test-travis": "istanbul cover _mocha --report lcovonly -- test.js",
|
||||
"test": "nyc --reporter=html --reporter=text mocha test.js",
|
||||
"watch": "mocha --watch test.js"
|
||||
},
|
||||
"version": "2.1.1"
|
||||
"version": "2.2.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user