cdk8s-plus-33 2.4.25 → 2.4.26

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 (87) hide show
  1. package/.jsii +4 -4
  2. package/lib/api-resource.js +2 -2
  3. package/lib/base.js +2 -2
  4. package/lib/config-map.js +1 -1
  5. package/lib/container.js +6 -6
  6. package/lib/cron-job.js +1 -1
  7. package/lib/daemon-set.js +1 -1
  8. package/lib/deployment.js +3 -3
  9. package/lib/handler.js +1 -1
  10. package/lib/horizontal-pod-autoscaler.js +4 -4
  11. package/lib/imports/k8s.js +173 -173
  12. package/lib/ingress.js +2 -2
  13. package/lib/job.js +1 -1
  14. package/lib/namespace.js +2 -2
  15. package/lib/network-policy.js +3 -3
  16. package/lib/pod.js +16 -16
  17. package/lib/probe.js +1 -1
  18. package/lib/pv.js +4 -4
  19. package/lib/pvc.js +1 -1
  20. package/lib/role-binding.js +4 -4
  21. package/lib/role.js +2 -2
  22. package/lib/secret.js +6 -6
  23. package/lib/service-account.js +1 -1
  24. package/lib/service.js +1 -1
  25. package/lib/stateful-set.js +2 -2
  26. package/lib/volume.js +1 -1
  27. package/lib/workload.js +2 -2
  28. package/node_modules/brace-expansion/LICENSE +3 -1
  29. package/node_modules/brace-expansion/README.md +21 -62
  30. package/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
  31. package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
  32. package/node_modules/brace-expansion/dist/commonjs/index.js +199 -0
  33. package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
  34. package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
  35. package/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
  36. package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
  37. package/node_modules/brace-expansion/dist/esm/index.js +195 -0
  38. package/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
  39. package/node_modules/brace-expansion/dist/esm/package.json +3 -0
  40. package/node_modules/{balanced-match → brace-expansion/node_modules/balanced-match}/LICENSE.md +3 -1
  41. package/node_modules/brace-expansion/node_modules/balanced-match/README.md +57 -0
  42. package/node_modules/brace-expansion/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
  43. package/node_modules/brace-expansion/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
  44. package/node_modules/brace-expansion/node_modules/balanced-match/dist/commonjs/index.js +59 -0
  45. package/node_modules/brace-expansion/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
  46. package/node_modules/brace-expansion/node_modules/balanced-match/dist/commonjs/package.json +3 -0
  47. package/node_modules/brace-expansion/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
  48. package/node_modules/brace-expansion/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
  49. package/node_modules/brace-expansion/node_modules/balanced-match/dist/esm/index.js +54 -0
  50. package/node_modules/brace-expansion/node_modules/balanced-match/dist/esm/index.js.map +1 -0
  51. package/node_modules/brace-expansion/node_modules/balanced-match/dist/esm/package.json +3 -0
  52. package/node_modules/brace-expansion/node_modules/balanced-match/package.json +68 -0
  53. package/node_modules/brace-expansion/package.json +51 -36
  54. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
  55. package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
  56. package/node_modules/minimatch/dist/commonjs/ast.js +11 -4
  57. package/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
  58. package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
  59. package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
  60. package/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
  61. package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
  62. package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  63. package/node_modules/minimatch/dist/commonjs/index.js +2 -5
  64. package/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  65. package/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
  66. package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
  67. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
  68. package/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
  69. package/node_modules/minimatch/dist/esm/ast.js +11 -4
  70. package/node_modules/minimatch/dist/esm/ast.js.map +1 -1
  71. package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
  72. package/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
  73. package/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
  74. package/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
  75. package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  76. package/node_modules/minimatch/dist/esm/index.js +1 -1
  77. package/node_modules/minimatch/dist/esm/index.js.map +1 -1
  78. package/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
  79. package/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
  80. package/node_modules/minimatch/package.json +13 -14
  81. package/package.json +7 -7
  82. package/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  83. package/node_modules/balanced-match/README.md +0 -97
  84. package/node_modules/balanced-match/index.js +0 -62
  85. package/node_modules/balanced-match/package.json +0 -48
  86. package/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
  87. package/node_modules/brace-expansion/index.js +0 -203
@@ -1,62 +0,0 @@
1
- 'use strict';
2
- module.exports = balanced;
3
- function balanced(a, b, str) {
4
- if (a instanceof RegExp) a = maybeMatch(a, str);
5
- if (b instanceof RegExp) b = maybeMatch(b, str);
6
-
7
- var r = range(a, b, str);
8
-
9
- return r && {
10
- start: r[0],
11
- end: r[1],
12
- pre: str.slice(0, r[0]),
13
- body: str.slice(r[0] + a.length, r[1]),
14
- post: str.slice(r[1] + b.length)
15
- };
16
- }
17
-
18
- function maybeMatch(reg, str) {
19
- var m = str.match(reg);
20
- return m ? m[0] : null;
21
- }
22
-
23
- balanced.range = range;
24
- function range(a, b, str) {
25
- var begs, beg, left, right, result;
26
- var ai = str.indexOf(a);
27
- var bi = str.indexOf(b, ai + 1);
28
- var i = ai;
29
-
30
- if (ai >= 0 && bi > 0) {
31
- if(a===b) {
32
- return [ai, bi];
33
- }
34
- begs = [];
35
- left = str.length;
36
-
37
- while (i >= 0 && !result) {
38
- if (i == ai) {
39
- begs.push(i);
40
- ai = str.indexOf(a, i + 1);
41
- } else if (begs.length == 1) {
42
- result = [ begs.pop(), bi ];
43
- } else {
44
- beg = begs.pop();
45
- if (beg < left) {
46
- left = beg;
47
- right = bi;
48
- }
49
-
50
- bi = str.indexOf(b, i + 1);
51
- }
52
-
53
- i = ai < bi && ai >= 0 ? ai : bi;
54
- }
55
-
56
- if (begs.length) {
57
- result = [ left, right ];
58
- }
59
- }
60
-
61
- return result;
62
- }
@@ -1,48 +0,0 @@
1
- {
2
- "name": "balanced-match",
3
- "description": "Match balanced character pairs, like \"{\" and \"}\"",
4
- "version": "1.0.2",
5
- "repository": {
6
- "type": "git",
7
- "url": "git://github.com/juliangruber/balanced-match.git"
8
- },
9
- "homepage": "https://github.com/juliangruber/balanced-match",
10
- "main": "index.js",
11
- "scripts": {
12
- "test": "tape test/test.js",
13
- "bench": "matcha test/bench.js"
14
- },
15
- "devDependencies": {
16
- "matcha": "^0.7.0",
17
- "tape": "^4.6.0"
18
- },
19
- "keywords": [
20
- "match",
21
- "regexp",
22
- "test",
23
- "balanced",
24
- "parse"
25
- ],
26
- "author": {
27
- "name": "Julian Gruber",
28
- "email": "mail@juliangruber.com",
29
- "url": "http://juliangruber.com"
30
- },
31
- "license": "MIT",
32
- "testling": {
33
- "files": "test/*.js",
34
- "browsers": [
35
- "ie/8..latest",
36
- "firefox/20..latest",
37
- "firefox/nightly",
38
- "chrome/25..latest",
39
- "chrome/canary",
40
- "opera/12..latest",
41
- "opera/next",
42
- "safari/5.1..latest",
43
- "ipad/6.0..latest",
44
- "iphone/6.0..latest",
45
- "android-browser/4.2..latest"
46
- ]
47
- }
48
- }
@@ -1,2 +0,0 @@
1
- tidelift: "npm/brace-expansion"
2
- patreon: juliangruber
@@ -1,203 +0,0 @@
1
- var balanced = require('balanced-match');
2
-
3
- module.exports = expandTop;
4
-
5
- var escSlash = '\0SLASH'+Math.random()+'\0';
6
- var escOpen = '\0OPEN'+Math.random()+'\0';
7
- var escClose = '\0CLOSE'+Math.random()+'\0';
8
- var escComma = '\0COMMA'+Math.random()+'\0';
9
- var escPeriod = '\0PERIOD'+Math.random()+'\0';
10
-
11
- function numeric(str) {
12
- return parseInt(str, 10) == str
13
- ? parseInt(str, 10)
14
- : str.charCodeAt(0);
15
- }
16
-
17
- function escapeBraces(str) {
18
- return str.split('\\\\').join(escSlash)
19
- .split('\\{').join(escOpen)
20
- .split('\\}').join(escClose)
21
- .split('\\,').join(escComma)
22
- .split('\\.').join(escPeriod);
23
- }
24
-
25
- function unescapeBraces(str) {
26
- return str.split(escSlash).join('\\')
27
- .split(escOpen).join('{')
28
- .split(escClose).join('}')
29
- .split(escComma).join(',')
30
- .split(escPeriod).join('.');
31
- }
32
-
33
-
34
- // Basically just str.split(","), but handling cases
35
- // where we have nested braced sections, which should be
36
- // treated as individual members, like {a,{b,c},d}
37
- function parseCommaParts(str) {
38
- if (!str)
39
- return [''];
40
-
41
- var parts = [];
42
- var m = balanced('{', '}', str);
43
-
44
- if (!m)
45
- return str.split(',');
46
-
47
- var pre = m.pre;
48
- var body = m.body;
49
- var post = m.post;
50
- var p = pre.split(',');
51
-
52
- p[p.length-1] += '{' + body + '}';
53
- var postParts = parseCommaParts(post);
54
- if (post.length) {
55
- p[p.length-1] += postParts.shift();
56
- p.push.apply(p, postParts);
57
- }
58
-
59
- parts.push.apply(parts, p);
60
-
61
- return parts;
62
- }
63
-
64
- function expandTop(str) {
65
- if (!str)
66
- return [];
67
-
68
- // I don't know why Bash 4.3 does this, but it does.
69
- // Anything starting with {} will have the first two bytes preserved
70
- // but *only* at the top level, so {},a}b will not expand to anything,
71
- // but a{},b}c will be expanded to [a}c,abc].
72
- // One could argue that this is a bug in Bash, but since the goal of
73
- // this module is to match Bash's rules, we escape a leading {}
74
- if (str.substr(0, 2) === '{}') {
75
- str = '\\{\\}' + str.substr(2);
76
- }
77
-
78
- return expand(escapeBraces(str), true).map(unescapeBraces);
79
- }
80
-
81
- function embrace(str) {
82
- return '{' + str + '}';
83
- }
84
- function isPadded(el) {
85
- return /^-?0\d/.test(el);
86
- }
87
-
88
- function lte(i, y) {
89
- return i <= y;
90
- }
91
- function gte(i, y) {
92
- return i >= y;
93
- }
94
-
95
- function expand(str, isTop) {
96
- var expansions = [];
97
-
98
- var m = balanced('{', '}', str);
99
- if (!m) return [str];
100
-
101
- // no need to expand pre, since it is guaranteed to be free of brace-sets
102
- var pre = m.pre;
103
- var post = m.post.length
104
- ? expand(m.post, false)
105
- : [''];
106
-
107
- if (/\$$/.test(m.pre)) {
108
- for (var k = 0; k < post.length; k++) {
109
- var expansion = pre+ '{' + m.body + '}' + post[k];
110
- expansions.push(expansion);
111
- }
112
- } else {
113
- var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
114
- var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
115
- var isSequence = isNumericSequence || isAlphaSequence;
116
- var isOptions = m.body.indexOf(',') >= 0;
117
- if (!isSequence && !isOptions) {
118
- // {a},b}
119
- if (m.post.match(/,(?!,).*\}/)) {
120
- str = m.pre + '{' + m.body + escClose + m.post;
121
- return expand(str);
122
- }
123
- return [str];
124
- }
125
-
126
- var n;
127
- if (isSequence) {
128
- n = m.body.split(/\.\./);
129
- } else {
130
- n = parseCommaParts(m.body);
131
- if (n.length === 1) {
132
- // x{{a,b}}y ==> x{a}y x{b}y
133
- n = expand(n[0], false).map(embrace);
134
- if (n.length === 1) {
135
- return post.map(function(p) {
136
- return m.pre + n[0] + p;
137
- });
138
- }
139
- }
140
- }
141
-
142
- // at this point, n is the parts, and we know it's not a comma set
143
- // with a single entry.
144
- var N;
145
-
146
- if (isSequence) {
147
- var x = numeric(n[0]);
148
- var y = numeric(n[1]);
149
- var width = Math.max(n[0].length, n[1].length)
150
- var incr = n.length == 3
151
- ? Math.abs(numeric(n[2]))
152
- : 1;
153
- var test = lte;
154
- var reverse = y < x;
155
- if (reverse) {
156
- incr *= -1;
157
- test = gte;
158
- }
159
- var pad = n.some(isPadded);
160
-
161
- N = [];
162
-
163
- for (var i = x; test(i, y); i += incr) {
164
- var c;
165
- if (isAlphaSequence) {
166
- c = String.fromCharCode(i);
167
- if (c === '\\')
168
- c = '';
169
- } else {
170
- c = String(i);
171
- if (pad) {
172
- var need = width - c.length;
173
- if (need > 0) {
174
- var z = new Array(need + 1).join('0');
175
- if (i < 0)
176
- c = '-' + z + c.slice(1);
177
- else
178
- c = z + c;
179
- }
180
- }
181
- }
182
- N.push(c);
183
- }
184
- } else {
185
- N = [];
186
-
187
- for (var j = 0; j < n.length; j++) {
188
- N.push.apply(N, expand(n[j], false));
189
- }
190
- }
191
-
192
- for (var j = 0; j < N.length; j++) {
193
- for (var k = 0; k < post.length; k++) {
194
- var expansion = pre + N[j] + post[k];
195
- if (!isTop || isSequence || expansion)
196
- expansions.push(expansion);
197
- }
198
- }
199
- }
200
-
201
- return expansions;
202
- }
203
-