mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 03:30:14 +08:00
Bump tough-cookie and @azure/ms-rest-js (#1763)
* Bump tough-cookie and @azure/ms-rest-js Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) and [@azure/ms-rest-js](https://github.com/Azure/ms-rest-js). These dependencies needed to be updated together. Updates `tough-cookie` from 4.0.0 to 4.1.3 - [Release notes](https://github.com/salesforce/tough-cookie/releases) - [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md) - [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3) Updates `@azure/ms-rest-js` from 2.6.2 to 2.7.0 - [Changelog](https://github.com/Azure/ms-rest-js/blob/master/Changelog.md) - [Commits](https://github.com/Azure/ms-rest-js/commits) --- updated-dependencies: - dependency-name: tough-cookie dependency-type: indirect - dependency-name: "@azure/ms-rest-js" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Update checked-in dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
61
node_modules/querystringify/README.md
generated
vendored
Normal file
61
node_modules/querystringify/README.md
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
# querystringify
|
||||
|
||||
[](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
|
||||
query strings. If you want to parse complex, multi level and deeply nested
|
||||
query strings then you should ask your self. WTF am I doing?
|
||||
|
||||
## Installation
|
||||
|
||||
This module is released in npm as `querystringify`. It's also compatible with
|
||||
`browserify` so it can be used on the server as well as on the client. To
|
||||
install it simply run the following command from your CLI:
|
||||
|
||||
```
|
||||
npm install --save querystringify
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
In the following examples we assume that you've already required the library as:
|
||||
|
||||
```js
|
||||
'use strict';
|
||||
|
||||
var qs = require('querystringify');
|
||||
```
|
||||
|
||||
### qs.parse()
|
||||
|
||||
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 `?`, 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' }
|
||||
```
|
||||
|
||||
### qs.stringify()
|
||||
|
||||
This transforms a given object in to a query string. By default we return the
|
||||
query string without a `?` prefix. If you want to prefix it by default simply
|
||||
supply `true` as second argument. If it should be prefixed by something else
|
||||
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: '' }, '&'); // &foo=
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user