Skip to content

Commit

Permalink
chore(deps-dev): bump the cmp-app group across 1 directory with 13 up…
Browse files Browse the repository at this point in the history
…dates

Bumps the cmp-app group with 13 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.23.9` | `7.24.4` |
| [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) | `7.23.9` | `7.24.3` |
| [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.23.9` | `7.24.4` |
| [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) | `7.23.3` | `7.24.1` |
| [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) | `7.23.9` | `7.24.4` |
| [@guardian/libs](https://github.com/guardian/csnx) | `16.0.2` | `16.1.1` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.11.19` | `20.12.7` |
| [axios](https://github.com/axios/axios) | `1.6.7` | `1.6.8` |
| [cypress](https://github.com/cypress-io/cypress) | `13.6.4` | `13.8.1` |
| [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) | `3.2.1` | `3.2.3` |
| [rollup-plugin-svelte](https://github.com/sveltejs/rollup-plugin-svelte) | `7.1.6` | `7.2.0` |
| [serve](https://github.com/vercel/serve) | `14.2.1` | `14.2.3` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.3.3` | `5.4.5` |



Updates `@babel/core` from 7.23.9 to 7.24.4
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.4/packages/babel-core)

Updates `@babel/plugin-transform-runtime` from 7.23.9 to 7.24.3
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.3/packages/babel-plugin-transform-runtime)

Updates `@babel/preset-env` from 7.23.9 to 7.24.4
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.4/packages/babel-preset-env)

Updates `@babel/preset-typescript` from 7.23.3 to 7.24.1
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.1/packages/babel-preset-typescript)

Updates `@babel/runtime` from 7.23.9 to 7.24.4
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.4/packages/babel-runtime)

Updates `@guardian/libs` from 16.0.2 to 16.1.1
- [Release notes](https://github.com/guardian/csnx/releases)
- [Commits](https://github.com/guardian/csnx/compare/@guardian/libs@16.0.2...@guardian/libs@16.1.1)

Updates `@types/node` from 20.11.19 to 20.12.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `axios` from 1.6.7 to 1.6.8
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.6.7...v1.6.8)

Updates `cypress` from 13.6.4 to 13.8.1
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](cypress-io/cypress@v13.6.4...v13.8.1)

Updates `prettier-plugin-svelte` from 3.2.1 to 3.2.3
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](sveltejs/prettier-plugin-svelte@v3.2.1...v3.2.3)

Updates `rollup-plugin-svelte` from 7.1.6 to 7.2.0
- [Changelog](https://github.com/sveltejs/rollup-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/rollup-plugin-svelte/commits/v7.2.0)

Updates `serve` from 14.2.1 to 14.2.3
- [Release notes](https://github.com/vercel/serve/releases)
- [Commits](vercel/serve@14.2.1...14.2.3)

Updates `typescript` from 5.3.3 to 5.4.5
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.3.3...v5.4.5)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
- dependency-name: "@babel/plugin-transform-runtime"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
- dependency-name: "@babel/runtime"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
- dependency-name: "@guardian/libs"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: cmp-app
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: cmp-app
- dependency-name: rollup-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
- dependency-name: serve
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: cmp-app
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cmp-app
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] committed Apr 28, 2024
1 parent f554d9b commit d5df7a3
Show file tree
Hide file tree
Showing 2 changed files with 592 additions and 874 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-proposal-class-properties": "^7",
"@babel/plugin-transform-runtime": "~7.23.9",
"@babel/plugin-transform-runtime": "~7.24.3",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.23.9",
"@changesets/cli": "^2.27.1",
"@guardian/eslint-config-typescript": "^9.0.2",
"@guardian/libs": "16.0.2",
"@guardian/libs": "16.1.1",
"@guardian/prettier": "^8.0.0",
"@guardian/tsconfig": "^0.2.0",
"@rollup/plugin-babel": "^6.0.4",
Expand Down Expand Up @@ -88,7 +88,7 @@
"start-server-and-test": "~2.0.3",
"svelte": "3.59.1",
"tslib": "^2.6.2",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"peerDependencies": {
"@guardian/libs": "^15.0.0 || ^16.0.0"
Expand Down

1 comment on commit d5df7a3

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

❌ An unexpected error occurred. For more details, check console

Error: The process '/usr/local/bin/yarn' failed with exit code 1
St.
Category Percentage Covered / Total
🟡 Statements 79.93% 223/279
🟡 Branches 67.5% 81/120
🟡 Functions 75.71% 53/70
🟢 Lines 80.74% 218/270

Test suite run failed

Failed tests: 14/331. Failed suites: 1/16.
  ● cmp.init › initializes CMP when in the US

    expect(jest.fn()).toHaveBeenCalledTimes(expected)

    Expected number of calls: 1
    Received number of calls: 0

      48 | 	it('initializes CMP when in the US', () => {
      49 | 		cmp.init({ country: 'US' });
    > 50 | 		expect(CMP.init).toHaveBeenCalledTimes(1);
         | 		                 ^
      51 | 	});
      52 |
      53 | 	it('initializes CMP when in Australia', () => {

      at Object.toHaveBeenCalledTimes (src/index.test.ts:50:20)

  ● cmp.init › initializes CMP when in Australia

    expect(jest.fn()).toHaveBeenCalledTimes(expected)

    Expected number of calls: 1
    Received number of calls: 0

      53 | 	it('initializes CMP when in Australia', () => {
      54 | 		cmp.init({ country: 'AU' });
    > 55 | 		expect(CMP.init).toHaveBeenCalledTimes(1);
         | 		                 ^
      56 | 	});
      57 |
      58 | 	it('initializes TCF when neither in the US or Australia', () => {

      at Object.toHaveBeenCalledTimes (src/index.test.ts:55:20)

  ● cmp.init › initializes TCF when neither in the US or Australia

    expect(jest.fn()).toHaveBeenCalledTimes(expected)

    Expected number of calls: 1
    Received number of calls: 0

      58 | 	it('initializes TCF when neither in the US or Australia', () => {
      59 | 		cmp.init({ country: 'GB' });
    > 60 | 		expect(CMP.init).toHaveBeenCalledTimes(1);
         | 		                 ^
      61 | 	});
      62 | });
      63 |

      at Object.toHaveBeenCalledTimes (src/index.test.ts:60:20)

  ● hotfix cmp.init › only initialises once per page

    expect(jest.fn()).toHaveBeenCalledTimes(expected)

    Expected number of calls: 1
    Received number of calls: 0

      69 | 		cmp.init({ country: 'GB' });
      70 | 		cmp.init({ country: 'GB' });
    > 71 | 		expect(CMP.init).toHaveBeenCalledTimes(1);
         | 		                 ^
      72 | 		expect(window.guCmpHotFix.initialised).toBe(true);
      73 | 	});
      74 |

      at Object.toHaveBeenCalledTimes (src/index.test.ts:71:20)

  ● hotfix cmp.init › In GB, use the tcfv2 framework correctly

    expect(received).toEqual(expected) // deep equality

    Expected: "tcfv2"
    Received: undefined

      104 | 	])('In %s, use the %s framework correctly', (country, framework) => {
      105 | 		cmp.init({ country: country as CountryCode });
    > 106 | 		expect(getCurrentFramework()).toEqual(framework);
          | 		                              ^
      107 | 	});
      108 |
      109 | 	it('uses window.guCmpHotFix instances if they exist', () => {

      at toEqual (src/index.test.ts:106:33)

  ● hotfix cmp.init › In AU, use the aus framework correctly

    expect(received).toEqual(expected) // deep equality

    Expected: "aus"
    Received: undefined

      104 | 	])('In %s, use the %s framework correctly', (country, framework) => {
      105 | 		cmp.init({ country: country as CountryCode });
    > 106 | 		expect(getCurrentFramework()).toEqual(framework);
          | 		                              ^
      107 | 	});
      108 |
      109 | 	it('uses window.guCmpHotFix instances if they exist', () => {

      at toEqual (src/index.test.ts:106:33)

  ● hotfix cmp.init › In US, use the ccpa framework correctly

    expect(received).toEqual(expected) // deep equality

    Expected: "ccpa"
    Received: undefined

      104 | 	])('In %s, use the %s framework correctly', (country, framework) => {
      105 | 		cmp.init({ country: country as CountryCode });
    > 106 | 		expect(getCurrentFramework()).toEqual(framework);
          | 		                              ^
      107 | 	});
      108 |
      109 | 	it('uses window.guCmpHotFix instances if they exist', () => {

      at toEqual (src/index.test.ts:106:33)

  ● hotfix cmp.init › In YT, use the tcfv2 framework correctly

    expect(received).toEqual(expected) // deep equality

    Expected: "tcfv2"
    Received: undefined

      104 | 	])('In %s, use the %s framework correctly', (country, framework) => {
      105 | 		cmp.init({ country: country as CountryCode });
    > 106 | 		expect(getCurrentFramework()).toEqual(framework);
          | 		                              ^
      107 | 	});
      108 |
      109 | 	it('uses window.guCmpHotFix instances if they exist', () => {

      at toEqual (src/index.test.ts:106:33)

  ● hotfix cmp.init › In FR, use the tcfv2 framework correctly

    expect(received).toEqual(expected) // deep equality

    Expected: "tcfv2"
    Received: undefined

      104 | 	])('In %s, use the %s framework correctly', (country, framework) => {
      105 | 		cmp.init({ country: country as CountryCode });
    > 106 | 		expect(getCurrentFramework()).toEqual(framework);
          | 		                              ^
      107 | 	});
      108 |
      109 | 	it('uses window.guCmpHotFix instances if they exist', () => {

      at toEqual (src/index.test.ts:106:33)

  ● hotfix cmp.init › In CA, use the tcfv2 framework correctly

    expect(received).toEqual(expected) // deep equality

    Expected: "tcfv2"
    Received: undefined

      104 | 	])('In %s, use the %s framework correctly', (country, framework) => {
      105 | 		cmp.init({ country: country as CountryCode });
    > 106 | 		expect(getCurrentFramework()).toEqual(framework);
          | 		                              ^
      107 | 	});
      108 |
      109 | 	it('uses window.guCmpHotFix instances if they exist', () => {

      at toEqual (src/index.test.ts:106:33)

  ● hotfix cmp.init › In NZ, use the tcfv2 framework correctly

    expect(received).toEqual(expected) // deep equality

    Expected: "tcfv2"
    Received: undefined

      104 | 	])('In %s, use the %s framework correctly', (country, framework) => {
      105 | 		cmp.init({ country: country as CountryCode });
    > 106 | 		expect(getCurrentFramework()).toEqual(framework);
          | 		                              ^
      107 | 	});
      108 |
      109 | 	it('uses window.guCmpHotFix instances if they exist', () => {

      at toEqual (src/index.test.ts:106:33)

  ● cmp.showPrivacyManager › shows CMP privacy manager when in the US

    expect(jest.fn()).toHaveBeenCalledTimes(expected)

    Expected number of calls: 1
    Received number of calls: 0

      213 | 		await resolveAllPromises();
      214 |
    > 215 | 		expect(CMP.showPrivacyManager).toHaveBeenCalledTimes(1);
          | 		                               ^
      216 | 	});
      217 |
      218 | 	it('shows CMP privacy manager when in Australia', async () => {

      at Object.toHaveBeenCalledTimes (src/index.test.ts:215:34)

  ● cmp.showPrivacyManager › shows CMP privacy manager when in Australia

    expect(jest.fn()).toHaveBeenCalledTimes(expected)

    Expected number of calls: 1
    Received number of calls: 0

      222 | 		await resolveAllPromises();
      223 |
    > 224 | 		expect(CMP.showPrivacyManager).toHaveBeenCalledTimes(1);
          | 		                               ^
      225 | 	});
      226 | 	it('shows TCF privacy manager when neither in the US or Australia', async () => {
      227 | 		cmp.init({ country: 'GB' });

      at Object.toHaveBeenCalledTimes (src/index.test.ts:224:34)

  ● cmp.showPrivacyManager › shows TCF privacy manager when neither in the US or Australia

    expect(jest.fn()).toHaveBeenCalledTimes(expected)

    Expected number of calls: 1
    Received number of calls: 0

      230 | 		await resolveAllPromises();
      231 |
    > 232 | 		expect(CMP.showPrivacyManager).toHaveBeenCalledTimes(1);
          | 		                               ^
      233 | 	});
      234 | });
      235 |

      at Object.toHaveBeenCalledTimes (src/index.test.ts:232:34)

Report generated by 🧪jest coverage report action from d5df7a3

Please sign in to comment.