@zowe/db2-for-zowe-cli 6.1.18 → 6.1.19

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.
Files changed (76) hide show
  1. package/node_modules/adm-zip/adm-zip.js +32 -6
  2. package/node_modules/adm-zip/headers/entryHeader.js +13 -1
  3. package/node_modules/adm-zip/methods/inflater.js +33 -3
  4. package/node_modules/adm-zip/package.json +2 -2
  5. package/node_modules/adm-zip/util/errors.js +3 -0
  6. package/node_modules/adm-zip/util/utils.js +102 -14
  7. package/node_modules/adm-zip/zipEntry.js +43 -18
  8. package/node_modules/adm-zip/zipFile.js +10 -0
  9. package/node_modules/axios/README.md +41 -106
  10. package/node_modules/axios/dist/axios.js +931 -278
  11. package/node_modules/axios/dist/axios.min.js +2 -2
  12. package/node_modules/axios/dist/axios.min.js.map +1 -1
  13. package/node_modules/axios/dist/browser/axios.cjs +948 -268
  14. package/node_modules/axios/dist/esm/axios.js +948 -268
  15. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  16. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  17. package/node_modules/axios/dist/node/axios.cjs +925 -242
  18. package/node_modules/axios/index.d.cts +20 -1
  19. package/node_modules/axios/index.d.ts +18 -1
  20. package/node_modules/axios/lib/adapters/fetch.js +73 -20
  21. package/node_modules/axios/lib/adapters/http.js +145 -26
  22. package/node_modules/axios/lib/adapters/xhr.js +120 -13
  23. package/node_modules/axios/lib/core/Axios.js +67 -12
  24. package/node_modules/axios/lib/core/AxiosError.js +59 -0
  25. package/node_modules/axios/lib/core/AxiosHeaders.js +17 -4
  26. package/node_modules/axios/lib/core/InterceptorManager.js +13 -2
  27. package/node_modules/axios/lib/core/assertParamsAcyclic.js +49 -0
  28. package/node_modules/axios/lib/core/createMultipartBody.js +37 -0
  29. package/node_modules/axios/lib/core/dispatchRequest.js +20 -0
  30. package/node_modules/axios/lib/core/mergeConfig.js +183 -120
  31. package/node_modules/axios/lib/defaults/transitional.js +1 -0
  32. package/node_modules/axios/lib/env/data.js +1 -1
  33. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +11 -2
  34. package/node_modules/axios/lib/helpers/Http2Sessions.js +2 -1
  35. package/node_modules/axios/lib/helpers/composeSignals.js +6 -3
  36. package/node_modules/axios/lib/helpers/cookies.js +30 -6
  37. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +34 -7
  38. package/node_modules/axios/lib/helpers/formDataToBlob.js +113 -0
  39. package/node_modules/axios/lib/helpers/formDataToJSON.js +25 -1
  40. package/node_modules/axios/lib/helpers/fromDataURI.js +8 -2
  41. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +4 -9
  42. package/node_modules/axios/lib/helpers/parseHeaders.js +2 -1
  43. package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
  44. package/node_modules/axios/lib/helpers/resolveConfig.js +16 -3
  45. package/node_modules/axios/lib/helpers/shouldBypassProxy.js +16 -1
  46. package/node_modules/axios/lib/utils.js +61 -10
  47. package/node_modules/axios/package.json +1 -2
  48. package/node_modules/follow-redirects/README.md +27 -1
  49. package/node_modules/follow-redirects/index.js +11 -6
  50. package/node_modules/follow-redirects/package.json +1 -1
  51. package/node_modules/fs-extra/README.md +0 -1
  52. package/node_modules/fs-extra/lib/empty/index.js +4 -2
  53. package/node_modules/fs-extra/lib/util/stat.js +12 -2
  54. package/node_modules/fs-extra/package.json +1 -1
  55. package/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  56. package/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  57. package/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  58. package/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  59. package/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  60. package/node_modules/which-typed-array/CHANGELOG.md +14 -0
  61. package/node_modules/which-typed-array/README.md +0 -2
  62. package/node_modules/which-typed-array/index.d.ts +288 -11
  63. package/node_modules/which-typed-array/index.js +6 -7
  64. package/node_modules/which-typed-array/package.json +12 -11
  65. package/package.json +1 -6
  66. package/node_modules/which-typed-array/eslint.config.mjs +0 -12
  67. package/node_modules/which-typed-array/test/index.js +0 -105
  68. /package/node_modules/{tar-fs/node_modules/chownr → chownr}/LICENSE +0 -0
  69. /package/node_modules/{tar-fs/node_modules/chownr → chownr}/README.md +0 -0
  70. /package/node_modules/{tar-fs/node_modules/chownr → chownr}/chownr.js +0 -0
  71. /package/node_modules/{tar-fs/node_modules/chownr → chownr}/package.json +0 -0
  72. /package/node_modules/{tar-stream/node_modules/string_decoder → string_decoder}/.travis.yml +0 -0
  73. /package/node_modules/{tar-stream/node_modules/string_decoder → string_decoder}/LICENSE +0 -0
  74. /package/node_modules/{tar-stream/node_modules/string_decoder → string_decoder}/README.md +0 -0
  75. /package/node_modules/{tar-stream/node_modules/string_decoder → string_decoder}/lib/string_decoder.js +0 -0
  76. /package/node_modules/{tar-stream/node_modules/string_decoder → string_decoder}/package.json +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "which-typed-array",
3
- "version": "1.1.22",
3
+ "version": "1.1.24",
4
4
  "author": {
5
5
  "name": "Jordan Harband",
6
6
  "email": "ljharb@gmail.com",
@@ -31,9 +31,10 @@
31
31
  "test:harmony": "nyc node --harmony --es-staging test",
32
32
  "posttest": "npx npm@'>=10.2' audit --production",
33
33
  "lint": "eslint .",
34
- "postlint": "tsc -p . && attw -P",
34
+ "postlint": "tsc -p . && tsc -p test/es2020 && attw -P",
35
35
  "version": "auto-changelog && git add CHANGELOG.md",
36
- "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
36
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
37
+ "dependencies": "node -p \"process.env.npm_command\" | npx \"dt-clean@^1.2.2\" --auto"
37
38
  },
38
39
  "repository": {
39
40
  "type": "git",
@@ -69,18 +70,16 @@
69
70
  "has-tostringtag": "^1.0.2"
70
71
  },
71
72
  "devDependencies": {
72
- "@arethetypeswrong/cli": "^0.18.3",
73
- "@ljharb/eslint-config": "^22.2.3",
73
+ "@arethetypeswrong/cli": "^0.18.5",
74
+ "@ljharb/eslint-config": "^22.2.4",
74
75
  "@ljharb/tsconfig": "^0.3.2",
75
76
  "@types/call-bind": "^1.0.5",
76
- "@types/for-each": "^0.3.3",
77
- "@types/gopd": "^1.0.3",
78
77
  "@types/is-callable": "^1.1.2",
79
78
  "@types/make-arrow-function": "^1.2.2",
80
79
  "@types/make-generator-function": "^2.0.3",
81
- "@types/tape": "^5.8.1",
82
- "auto-changelog": "^2.6.0",
83
- "eslint": "^10.4.1",
80
+ "@types/node": "^22.20.3",
81
+ "auto-changelog": "^2.6.1",
82
+ "eslint": "^10.10.0",
84
83
  "in-publish": "^2.0.1",
85
84
  "is-callable": "^1.2.7",
86
85
  "jiti": "^0.0.0",
@@ -89,7 +88,7 @@
89
88
  "npmignore": "^0.3.5",
90
89
  "nyc": "^10.3.2",
91
90
  "safe-publish-latest": "^2.0.0",
92
- "tape": "^5.9.0",
91
+ "tape": "^5.10.2",
93
92
  "typescript": "next"
94
93
  },
95
94
  "testling": {
@@ -124,6 +123,8 @@
124
123
  "publishConfig": {
125
124
  "ignore": [
126
125
  ".github/workflows",
126
+ "eslint.config.mjs",
127
+ "test",
127
128
  "types.d.ts"
128
129
  ]
129
130
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zowe/db2-for-zowe-cli",
3
- "version": "6.1.18",
3
+ "version": "6.1.19",
4
4
  "description": "IBM® Db2® Plug-in for Zowe CLI",
5
5
  "author": "Zowe",
6
6
  "license": "EPL-2.0",
@@ -41,11 +41,6 @@
41
41
  "bundleDependencies": [
42
42
  "ibm_db"
43
43
  ],
44
- "overrides": {
45
- "ibm_db": {
46
- "adm-zip": "0.6.0"
47
- }
48
- },
49
44
  "peerDependencies": {
50
45
  "@zowe/imperative": "^8.0.0"
51
46
  },
@@ -1,12 +0,0 @@
1
- import ljharbConfig from '@ljharb/eslint-config/flat';
2
-
3
- export default [
4
- ...ljharbConfig,
5
- {
6
- rules: {
7
- 'func-style': ['error', 'declaration'],
8
- 'max-statements-per-line': ['error', { max: 2 }],
9
- 'no-extra-parens': 'off',
10
- },
11
- },
12
- ];
@@ -1,105 +0,0 @@
1
- 'use strict';
2
-
3
- var test = require('tape');
4
- var whichTypedArray = require('../');
5
- var isCallable = require('is-callable');
6
- var hasToStringTag = require('has-tostringtag/shams')();
7
- var generators = require('make-generator-function')();
8
- var arrows = require('make-arrow-function').list();
9
- var forEach = require('for-each');
10
-
11
- var typedArrayNames = [
12
- 'Int8Array',
13
- 'Uint8Array',
14
- 'Uint8ClampedArray',
15
- 'Int16Array',
16
- 'Uint16Array',
17
- 'Int32Array',
18
- 'Uint32Array',
19
- 'Float32Array',
20
- 'Float64Array',
21
- 'BigInt64Array',
22
- 'BigUint64Array'
23
- ];
24
-
25
- test('not arrays', function (t) {
26
- t.test('non-number/string primitives', function (st) {
27
- // @ts-expect-error
28
- st.equal(false, whichTypedArray(), 'undefined is not typed array');
29
- st.equal(false, whichTypedArray(null), 'null is not typed array');
30
- st.equal(false, whichTypedArray(false), 'false is not typed array');
31
- st.equal(false, whichTypedArray(true), 'true is not typed array');
32
- st.end();
33
- });
34
-
35
- t.equal(false, whichTypedArray({}), 'object is not typed array');
36
- t.equal(false, whichTypedArray(/a/g), 'regex literal is not typed array');
37
- t.equal(false, whichTypedArray(new RegExp('a', 'g')), 'regex object is not typed array');
38
- t.equal(false, whichTypedArray(new Date()), 'new Date() is not typed array');
39
-
40
- t.test('numbers', function (st) {
41
- st.equal(false, whichTypedArray(42), 'number is not typed array');
42
- st.equal(false, whichTypedArray(Object(42)), 'number object is not typed array');
43
- st.equal(false, whichTypedArray(NaN), 'NaN is not typed array');
44
- st.equal(false, whichTypedArray(Infinity), 'Infinity is not typed array');
45
- st.end();
46
- });
47
-
48
- t.test('strings', function (st) {
49
- st.equal(false, whichTypedArray('foo'), 'string primitive is not typed array');
50
- st.equal(false, whichTypedArray(Object('foo')), 'string object is not typed array');
51
- st.end();
52
- });
53
-
54
- t.end();
55
- });
56
-
57
- test('Functions', function (t) {
58
- t.equal(false, whichTypedArray(function () {}), 'function is not typed array');
59
- t.end();
60
- });
61
-
62
- test('Generators', { skip: generators.length === 0 }, function (t) {
63
- forEach(generators, function (genFn) {
64
- t.equal(false, whichTypedArray(genFn), 'generator function ' + genFn + ' is not typed array');
65
- });
66
- t.end();
67
- });
68
-
69
- test('Arrow functions', { skip: arrows.length === 0 }, function (t) {
70
- forEach(arrows, function (arrowFn) {
71
- t.equal(false, whichTypedArray(arrowFn), 'arrow function ' + arrowFn + ' is not typed array');
72
- });
73
- t.end();
74
- });
75
-
76
- test('@@toStringTag', { skip: !hasToStringTag }, function (t) {
77
- forEach(typedArrayNames, function (typedArray) {
78
- // @ts-expect-error TODO: fix
79
- if (typeof global[typedArray] === 'function') {
80
- // @ts-expect-error TODO: fix
81
- var fakeTypedArray = [];
82
- // @ts-expect-error TODO: fix
83
- fakeTypedArray[Symbol.toStringTag] = typedArray;
84
- // @ts-expect-error TODO: fix
85
- t.equal(false, whichTypedArray(fakeTypedArray), 'faked ' + typedArray + ' is not typed array');
86
- } else {
87
- t.comment('# SKIP ' + typedArray + ' is not supported');
88
- }
89
- });
90
- t.end();
91
- });
92
-
93
- test('Typed Arrays', function (t) {
94
- forEach(typedArrayNames, function (typedArray) {
95
- // @ts-expect-error TODO: fix
96
- /** @type {import('../').TypedArrayConstructor} */ var TypedArray = global[typedArray];
97
- if (isCallable(TypedArray)) {
98
- var arr = new TypedArray(10);
99
- t.equal(whichTypedArray(arr), typedArray, 'new ' + typedArray + '(10) is typed array of type ' + typedArray);
100
- } else {
101
- t.comment('# SKIP ' + typedArray + ' is not supported');
102
- }
103
- });
104
- t.end();
105
- });