angular-slickgrid 5.2.2 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/app/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +5 -5
- package/app/modules/angular-slickgrid/services/utilities.d.ts +3 -2
- package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +14 -16
- package/esm2020/app/modules/angular-slickgrid/global-grid-options.mjs +6 -2
- package/esm2020/app/modules/angular-slickgrid/services/utilities.mjs +7 -5
- package/fesm2015/angular-slickgrid.mjs +25 -21
- package/fesm2015/angular-slickgrid.mjs.map +1 -1
- package/fesm2020/angular-slickgrid.mjs +24 -20
- package/fesm2020/angular-slickgrid.mjs.map +1 -1
- package/package.json +12 -12
- package/test/cypress/node_modules/qs/README.md +54 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-slickgrid",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Slickgrid components made available in Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"main": "src/app/modules/angular-slickgrid/index",
|
|
23
23
|
"private": false,
|
|
24
24
|
"comments": {
|
|
25
|
-
"new-release": "
|
|
25
|
+
"new-release": "npm run release, note that yarn is not supported with release-it and will throw an error"
|
|
26
26
|
},
|
|
27
27
|
"funding": {
|
|
28
28
|
"type": "ko_fi",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ngx-translate/core": ">=14.0.0",
|
|
33
|
-
"@slickgrid-universal/common": "~2.
|
|
34
|
-
"@slickgrid-universal/custom-footer-component": "~2.
|
|
35
|
-
"@slickgrid-universal/empty-warning-component": "~2.
|
|
36
|
-
"@slickgrid-universal/event-pub-sub": "~2.
|
|
37
|
-
"@slickgrid-universal/pagination-component": "~2.
|
|
38
|
-
"@slickgrid-universal/row-detail-view-plugin": "~2.
|
|
39
|
-
"@slickgrid-universal/rxjs-observable": "~2.
|
|
40
|
-
"@types/jquery": "^3.5.
|
|
33
|
+
"@slickgrid-universal/common": "~2.4.0",
|
|
34
|
+
"@slickgrid-universal/custom-footer-component": "~2.4.0",
|
|
35
|
+
"@slickgrid-universal/empty-warning-component": "~2.4.0",
|
|
36
|
+
"@slickgrid-universal/event-pub-sub": "~2.4.0",
|
|
37
|
+
"@slickgrid-universal/pagination-component": "~2.4.0",
|
|
38
|
+
"@slickgrid-universal/row-detail-view-plugin": "~2.4.0",
|
|
39
|
+
"@slickgrid-universal/rxjs-observable": "~2.4.0",
|
|
40
|
+
"@types/jquery": "^3.5.16",
|
|
41
41
|
"dequal": "^2.0.3",
|
|
42
|
-
"dompurify": "^2.4.
|
|
42
|
+
"dompurify": "^2.4.3",
|
|
43
43
|
"jquery": "^3.6.3",
|
|
44
44
|
"rxjs": ">=7.5.0",
|
|
45
45
|
"sortablejs": "^1.15.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"npm": ">=6.14.13"
|
|
51
51
|
},
|
|
52
52
|
"resolutions": {
|
|
53
|
-
"caniuse-lite": "1.0.
|
|
53
|
+
"caniuse-lite": "1.0.30001450"
|
|
54
54
|
},
|
|
55
55
|
"module": "fesm2015/angular-slickgrid.mjs",
|
|
56
56
|
"es2020": "fesm2020/angular-slickgrid.mjs",
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# qs <sup>[![Version Badge][2]][1]</sup>
|
|
2
2
|
|
|
3
|
-
[![
|
|
4
|
-
[![
|
|
5
|
-
[![
|
|
3
|
+
[![github actions][actions-image]][actions-url]
|
|
4
|
+
[![coverage][codecov-image]][codecov-url]
|
|
5
|
+
[![dependency status][deps-svg]][deps-url]
|
|
6
|
+
[![dev dependency status][dev-deps-svg]][dev-deps-url]
|
|
6
7
|
[![License][license-image]][license-url]
|
|
7
8
|
[![Downloads][downloads-image]][downloads-url]
|
|
8
9
|
|
|
9
|
-
[![npm badge][
|
|
10
|
+
[![npm badge][npm-badge-png]][package-url]
|
|
10
11
|
|
|
11
12
|
A querystring parsing and stringifying library with some added security.
|
|
12
13
|
|
|
@@ -182,7 +183,7 @@ assert.deepEqual(withIndexedEmptyString, { a: ['b', '', 'c'] });
|
|
|
182
183
|
```
|
|
183
184
|
|
|
184
185
|
**qs** will also limit specifying indices in an array to a maximum index of `20`. Any array members with an index of greater than `20` will
|
|
185
|
-
instead be converted to an object with the index as the key
|
|
186
|
+
instead be converted to an object with the index as the key. This is needed to handle cases when someone sent, for example, `a[999999999]` and it will take significant time to iterate over this huge array.
|
|
186
187
|
|
|
187
188
|
```javascript
|
|
188
189
|
var withMaxIndex = qs.parse('a[100]=b');
|
|
@@ -267,6 +268,30 @@ var decoded = qs.parse('x=z', { decoder: function (str) {
|
|
|
267
268
|
}})
|
|
268
269
|
```
|
|
269
270
|
|
|
271
|
+
You can encode keys and values using different logic by using the type argument provided to the encoder:
|
|
272
|
+
|
|
273
|
+
```javascript
|
|
274
|
+
var encoded = qs.stringify({ a: { b: 'c' } }, { encoder: function (str, defaultEncoder, charset, type) {
|
|
275
|
+
if (type === 'key') {
|
|
276
|
+
return // Encoded key
|
|
277
|
+
} else if (type === 'value') {
|
|
278
|
+
return // Encoded value
|
|
279
|
+
}
|
|
280
|
+
}})
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
The type argument is also provided to the decoder:
|
|
284
|
+
|
|
285
|
+
```javascript
|
|
286
|
+
var decoded = qs.parse('x=z', { decoder: function (str, defaultDecoder, charset, type) {
|
|
287
|
+
if (type === 'key') {
|
|
288
|
+
return // Decoded key
|
|
289
|
+
} else if (type === 'value') {
|
|
290
|
+
return // Decoded value
|
|
291
|
+
}
|
|
292
|
+
}})
|
|
293
|
+
```
|
|
294
|
+
|
|
270
295
|
Examples beyond this point will be shown as though the output is not URI encoded for clarity. Please note that the return values in these cases *will* be URI encoded during real usage.
|
|
271
296
|
|
|
272
297
|
When arrays are stringified, by default they are given explicit indices:
|
|
@@ -458,18 +483,28 @@ assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC3986' }), 'a=b%20c');
|
|
|
458
483
|
assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC1738' }), 'a=b+c');
|
|
459
484
|
```
|
|
460
485
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
[
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
[
|
|
470
|
-
|
|
471
|
-
[
|
|
472
|
-
[
|
|
486
|
+
## Security
|
|
487
|
+
|
|
488
|
+
Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
|
|
489
|
+
|
|
490
|
+
## qs for enterprise
|
|
491
|
+
|
|
492
|
+
Available as part of the Tidelift Subscription
|
|
493
|
+
|
|
494
|
+
The maintainers of qs and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-qs?utm_source=npm-qs&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
|
495
|
+
|
|
496
|
+
[package-url]: https://npmjs.org/package/qs
|
|
497
|
+
[npm-version-svg]: https://versionbadg.es/ljharb/qs.svg
|
|
498
|
+
[deps-svg]: https://david-dm.org/ljharb/qs.svg
|
|
499
|
+
[deps-url]: https://david-dm.org/ljharb/qs
|
|
500
|
+
[dev-deps-svg]: https://david-dm.org/ljharb/qs/dev-status.svg
|
|
501
|
+
[dev-deps-url]: https://david-dm.org/ljharb/qs#info=devDependencies
|
|
502
|
+
[npm-badge-png]: https://nodei.co/npm/qs.png?downloads=true&stars=true
|
|
503
|
+
[license-image]: https://img.shields.io/npm/l/qs.svg
|
|
473
504
|
[license-url]: LICENSE
|
|
474
|
-
[downloads-image]:
|
|
475
|
-
[downloads-url]:
|
|
505
|
+
[downloads-image]: https://img.shields.io/npm/dm/qs.svg
|
|
506
|
+
[downloads-url]: https://npm-stat.com/charts.html?package=qs
|
|
507
|
+
[codecov-image]: https://codecov.io/gh/ljharb/qs/branch/main/graphs/badge.svg
|
|
508
|
+
[codecov-url]: https://app.codecov.io/gh/ljharb/qs/
|
|
509
|
+
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/qs
|
|
510
|
+
[actions-url]: https://github.com/ljharb/qs/actions
|