Skip to content

Commit

Permalink
build(deps-dev): bump @linzjs/style from 5.1.0 to 5.2.0 (#384)
Browse files Browse the repository at this point in the history
Bumps [@linzjs/style](https://github.com/linz/style-js) from 5.1.0 to
5.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/linz/style-js/releases"><code>@​linzjs/style</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v5.2.0</h2>
<h2><a
href="https://github.com/linz/style-js/compare/v5.1.0...v5.2.0">5.2.0</a>
(2024-01-09)</h2>
<h3>Features</h3>
<ul>
<li>add <code>@​typescript-eslint/recommended-type-checked</code> (<a
href="https://redirect.github.com/linz/style-js/issues/882">#882</a>)
(<a
href="https://github.com/linz/style-js/commit/793dd3e7d1a9cc83552eee7eb028cf4257a52279">793dd3e</a>)</li>
<li><strong>deps:</strong> bump eslint-config-prettier from 9.0.0 to
9.1.0 (<a
href="https://redirect.github.com/linz/style-js/issues/874">#874</a>)
(<a
href="https://github.com/linz/style-js/commit/cde11312ecb041600171d072a99ee12a5a2272e9">cde1131</a>)</li>
<li><strong>deps:</strong> bump the typescript-eslint-prettier group
with 2 updates (<a
href="https://redirect.github.com/linz/style-js/issues/895">#895</a>)
(<a
href="https://github.com/linz/style-js/commit/2c25865b00594719d33ccf132f92db2ee6ab2b31">2c25865</a>)</li>
<li><strong>deps:</strong> bump the typescript-eslint-prettier group
with 4 updates (<a
href="https://redirect.github.com/linz/style-js/issues/894">#894</a>)
(<a
href="https://github.com/linz/style-js/commit/ceee3cce573561db199a88f6ad15bd49bac3e75b">ceee3cc</a>)</li>
<li><strong>deps:</strong> bump the typescript-eslint-prettier group
with 5 updates (<a
href="https://redirect.github.com/linz/style-js/issues/880">#880</a>)
(<a
href="https://github.com/linz/style-js/commit/03ec37fb9180d3b857c6740d0a46fa29defeb0d9">03ec37f</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/linz/style-js/blob/master/CHANGELOG.md"><code>@​linzjs/style</code>'s
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/linz/style-js/compare/v5.1.0...v5.2.0">5.2.0</a>
(2024-01-09)</h2>
<h3>Features</h3>
<ul>
<li>add <code>@​typescript-eslint/recommended-type-checked</code> (<a
href="https://redirect.github.com/linz/style-js/issues/882">#882</a>)
(<a
href="https://github.com/linz/style-js/commit/793dd3e7d1a9cc83552eee7eb028cf4257a52279">793dd3e</a>)</li>
<li><strong>deps:</strong> bump eslint-config-prettier from 9.0.0 to
9.1.0 (<a
href="https://redirect.github.com/linz/style-js/issues/874">#874</a>)
(<a
href="https://github.com/linz/style-js/commit/cde11312ecb041600171d072a99ee12a5a2272e9">cde1131</a>)</li>
<li><strong>deps:</strong> bump the typescript-eslint-prettier group
with 2 updates (<a
href="https://redirect.github.com/linz/style-js/issues/895">#895</a>)
(<a
href="https://github.com/linz/style-js/commit/2c25865b00594719d33ccf132f92db2ee6ab2b31">2c25865</a>)</li>
<li><strong>deps:</strong> bump the typescript-eslint-prettier group
with 4 updates (<a
href="https://redirect.github.com/linz/style-js/issues/894">#894</a>)
(<a
href="https://github.com/linz/style-js/commit/ceee3cce573561db199a88f6ad15bd49bac3e75b">ceee3cc</a>)</li>
<li><strong>deps:</strong> bump the typescript-eslint-prettier group
with 5 updates (<a
href="https://redirect.github.com/linz/style-js/issues/880">#880</a>)
(<a
href="https://github.com/linz/style-js/commit/03ec37fb9180d3b857c6740d0a46fa29defeb0d9">03ec37f</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/linz/style-js/commit/bf511b2260e7aeee9662ea2a5e6b9802f5cc8ba6"><code>bf511b2</code></a>
chore(master): release 5.2.0 (<a
href="https://redirect.github.com/linz/style-js/issues/883">#883</a>)</li>
<li><a
href="https://github.com/linz/style-js/commit/2c25865b00594719d33ccf132f92db2ee6ab2b31"><code>2c25865</code></a>
feat(deps): bump the typescript-eslint-prettier group with 2 updates (<a
href="https://redirect.github.com/linz/style-js/issues/895">#895</a>)</li>
<li><a
href="https://github.com/linz/style-js/commit/793dd3e7d1a9cc83552eee7eb028cf4257a52279"><code>793dd3e</code></a>
feat: add <code>@​typescript-eslint/recommended-type-checked</code> (<a
href="https://redirect.github.com/linz/style-js/issues/882">#882</a>)</li>
<li><a
href="https://github.com/linz/style-js/commit/ceee3cce573561db199a88f6ad15bd49bac3e75b"><code>ceee3cc</code></a>
feat(deps): bump the typescript-eslint-prettier group with 4 updates (<a
href="https://redirect.github.com/linz/style-js/issues/894">#894</a>)</li>
<li><a
href="https://github.com/linz/style-js/commit/cde11312ecb041600171d072a99ee12a5a2272e9"><code>cde1131</code></a>
feat(deps): bump eslint-config-prettier from 9.0.0 to 9.1.0 (<a
href="https://redirect.github.com/linz/style-js/issues/874">#874</a>)</li>
<li><a
href="https://github.com/linz/style-js/commit/0907bf628a93903318a5277bff7494919da386d2"><code>0907bf6</code></a>
build(deps): bump google-github-actions/release-please-action from 3 to
4 (<a
href="https://redirect.github.com/linz/style-js/issues/872">#872</a>)</li>
<li><a
href="https://github.com/linz/style-js/commit/03ec37fb9180d3b857c6740d0a46fa29defeb0d9"><code>03ec37f</code></a>
feat(deps): bump the typescript-eslint-prettier group with 5 updates (<a
href="https://redirect.github.com/linz/style-js/issues/880">#880</a>)</li>
<li>See full diff in <a
href="https://github.com/linz/style-js/compare/v5.1.0...v5.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@linzjs/style&package-manager=npm_and_yarn&previous-version=5.1.0&new-version=5.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Blayne Chard <[email protected]>
  • Loading branch information
dependabot[bot] and blacha authored May 7, 2024
1 parent 7b6c360 commit 60973ec
Show file tree
Hide file tree
Showing 7 changed files with 147 additions and 530 deletions.
6 changes: 3 additions & 3 deletions infra/cdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { fetchSsmParameters } from './util/ssm.js';
const app = new App();

async function main(): Promise<void> {
const accountId = app.node.tryGetContext('aws-account-id') ?? process.env['CDK_DEFAULT_ACCOUNT'];
const accountId = (app.node.tryGetContext('aws-account-id') as unknown) ?? process.env['CDK_DEFAULT_ACCOUNT'];
const maintainerRoleArns = tryGetContextArns(app.node, 'maintainer-arns');
const slackSsmConfig = await fetchSsmParameters({
slackChannelConfigurationName: '/rds/alerts/slack/channel/name',
Expand All @@ -17,7 +17,7 @@ async function main(): Promise<void> {
});

if (maintainerRoleArns == null) throw new Error('Missing context: maintainer-arns');
if (accountId == null) {
if (typeof accountId !== 'string') {
throw new Error("Missing AWS Account information, set with either '-c aws-account-id' or $CDK_DEFAULT_ACCOUNT");
}

Expand All @@ -32,4 +32,4 @@ async function main(): Promise<void> {
app.synth();
}

main();
void main();
2 changes: 1 addition & 1 deletion infra/cdk8s.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ async function main(): Promise<void> {
app.synth();
}

main();
void main();
8 changes: 4 additions & 4 deletions infra/eks/arn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ export function validateRoleArn(arn: unknown): ArnComponents {
* @throws {Error} If arn is invalid
*/
export function tryGetContextArn(node: Node, context: string): string | null {
const ctx = node.tryGetContext(context);
const ctx = node.tryGetContext(context) as unknown;
if (ctx == null) return null;
validateRoleArn(ctx);
return ctx;
return ctx as string;
}

/**
Expand All @@ -42,12 +42,12 @@ export function tryGetContextArn(node: Node, context: string): string | null {
* @returns arns if they are valid, null otherwise
*/
export function tryGetContextArns(node: Node, context: string): string[] | null {
let ctx = node.tryGetContext(context);
let ctx = node.tryGetContext(context) as unknown;
if (ctx == null) return null;
if (typeof ctx === 'string') {
ctx = ctx.split(',');
}
if (!Array.isArray(ctx)) throw new Error('Failed to parse ARN, is not a string[]');
for (const arn of ctx) validateRoleArn(arn);
return ctx;
return ctx as string[];
}
2 changes: 2 additions & 0 deletions infra/imports/karpenter.k8s.aws.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/* eslint-disable @typescript-eslint/no-unsafe-argument */
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
// generated by cdk8s
import { ApiObject, ApiObjectMetadata, GroupVersionKind } from 'cdk8s';
import { Construct } from 'constructs';
Expand Down
2 changes: 2 additions & 0 deletions infra/imports/karpenter.sh.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/* eslint-disable @typescript-eslint/no-unsafe-argument */
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
// generated by cdk8s
import { ApiObject, ApiObjectMetadata, GroupVersionKind } from 'cdk8s';
import { Construct } from 'constructs';
Expand Down
Loading

0 comments on commit 60973ec

Please sign in to comment.