Skip to content

Commit 485412b

Browse files
authored
Merge pull request #63 from aws-solutions/release/v1.1.2
Release v1.1.2
2 parents d2ac932 + 9d4b6d5 commit 485412b

File tree

60 files changed

+2051
-2896
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2051
-2896
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.1.2] - 2025-11-20
9+
10+
### Security
11+
12+
- Upgraded `js-yaml` to mitigate [CVE-2025-64718](https://nvd.nist.gov/vuln/detail/CVE-2025-64718)
13+
- Upgraded `glob` to mitigate [CVE-2025-64756](https://nvd.nist.gov/vuln/detail/CVE-2025-64756)
14+
815
## [1.1.1] - 2025-11-14
916

1017
### Fixed

NOTICE

Lines changed: 124 additions & 153 deletions
Large diffs are not rendered by default.

docs/openapi/innovation-sandbox-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
title: Innovation Sandbox on AWS
44
description: API documentation for the Innovation Sandbox on AWS solution.
5-
version: 1.1.1
5+
version: 1.1.2
66
license:
77
name: Apache 2.0
88
url: "http://www.apache.org/licenses/LICENSE-2.0.html"

package-lock.json

Lines changed: 1120 additions & 1982 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@amzn/innovation-sandbox-on-aws",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Innovation Sandbox on AWS (SO0284)",
55
"scripts": {
66
"preinstall": "npm run generate-local-package-lock --workspaces --if-present",
@@ -55,7 +55,7 @@
5555
"@types/luxon": "^3.4.2",
5656
"@types/object-hash": "^3.0.6",
5757
"@types/supertest": "^6.0.2",
58-
"@vitest/coverage-v8": "^3.1.1",
58+
"@vitest/coverage-v8": "^4.0.10",
5959
"aws-sdk-client-mock": "^4.0.2",
6060
"fs-extra": "^11.2.0",
6161
"js-yaml": "^4.1.0",
@@ -66,7 +66,7 @@
6666
"ts-retry": "^5.0.1",
6767
"tsconfig-paths": "^4.2.0",
6868
"tsx": "^4.19.4",
69-
"vitest": "^3.1.1",
69+
"vitest": "^4.0.10",
7070
"vitest-mock-extended": "^2.0.2"
7171
},
7272
"prettier": {

solution-manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
id: SO0284
22
name: innovation-sandbox-on-aws
3-
version: v1.1.1
3+
version: v1.1.2
44
cloudformation_templates:
55
- template: InnovationSandbox-AccountPool.template
66
main_template: true

source/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@amzn/innovation-sandbox-commons",
33
"description": "Common - Innovation Sandbox on AWS (SO0284)",
4-
"version": "1.1.1",
4+
"version": "1.1.2",
55
"scripts": {
66
"build": "tsc --incremental --noEmit",
77
"test": "vitest run"

source/common/test/isb-services/cost-explorer-service.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33
import { Granularity } from "@aws-sdk/client-cost-explorer";
44
import { DateTime } from "luxon";
5-
import { beforeEach, describe, expect, it, vi } from "vitest";
5+
import { afterEach, describe, expect, it, vi } from "vitest";
66

77
import {
88
AccountsCostReport,
@@ -22,8 +22,10 @@ vi.mock("@amzn/innovation-sandbox-commons/utils/cross-account-roles.js", () => {
2222
const costExplorerService = IsbServices.costExplorer({
2323
USER_AGENT_EXTRA: "test-agent",
2424
});
25-
beforeEach(() => {
26-
vi.restoreAllMocks();
25+
26+
afterEach(() => {
27+
vi.resetAllMocks();
28+
vi.useRealTimers();
2729
});
2830

2931
const testAccount1 = "123456789012";

source/common/test/isb-services/notification/email-service.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import {
2525
LeaseTerminatedManualSchema,
2626
LeaseTerminatedQuarantinedSchema,
2727
} from "@amzn/innovation-sandbox-commons/events/lease-terminated-event.js";
28+
import { LeaseUnfrozenEventSchema } from "@amzn/innovation-sandbox-commons/events/lease-unfrozen-event.js";
2829
import { IsbServices } from "@amzn/innovation-sandbox-commons/isb-services/index.js";
2930
import { SynthesizedEmail } from "@amzn/innovation-sandbox-commons/isb-services/notification/email-service.js";
3031
import { EmailNotificationEnvironmentSchema } from "@amzn/innovation-sandbox-commons/lambda/environments/email-notification-lambda-environment.js";
@@ -36,7 +37,6 @@ import {
3637
SESServiceException,
3738
} from "@aws-sdk/client-ses";
3839
import { mockClient } from "aws-sdk-client-mock";
39-
import { LeaseUnfrozenEventSchema } from "events/lease-unfrozen-event.js";
4040
import { beforeEach, describe, expect, it, vi } from "vitest";
4141

4242
const managerEmails = ["[email protected]", "[email protected]"];

source/common/test/lambdas/middleware/event-logging-sanitizer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
import { injectSanitizedLambdaContext } from "@amzn/innovation-sandbox-commons/lambda/middleware/inject-sanitized-lambda-context.js";
5+
import { createAPIGatewayProxyEvent } from "@amzn/innovation-sandbox-commons/test/lambdas/fixtures.js";
56
import { Logger } from "@aws-lambda-powertools/logger";
67
import { APIGatewayProxyEvent } from "aws-lambda";
7-
import { createAPIGatewayProxyEvent } from "test/lambdas/fixtures.js";
88
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
99

1010
describe("injectSanitizedLambdaContext", () => {
@@ -33,7 +33,7 @@ describe("injectSanitizedLambdaContext", () => {
3333
});
3434

3535
afterEach(() => {
36-
vi.restoreAllMocks();
36+
vi.resetAllMocks();
3737
});
3838

3939
it("should sanitize authorization headers before logging", async () => {

0 commit comments

Comments
 (0)