Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nestjs/config
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.0.1
Choose a base ref
...
head repository: nestjs/config
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.0.2
Choose a head ref

Commits on Mar 3, 2025

  1. Update README.md

    kamilmysliwiec authored Mar 3, 2025
    Copy the full SHA
    f6890c3 View commit details
  2. chore(deps): update dependency @types/node to v22.13.9 (#1977)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 3, 2025
    Copy the full SHA
    ae8ceee View commit details

Commits on Mar 4, 2025

  1. chore(deps): update dependency typescript-eslint to v8.26.0 (#1978)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 4, 2025
    Copy the full SHA
    54eb7ef View commit details
  2. chore(deps): update dependency typescript to v5.8.2 (#1975)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 4, 2025
    Copy the full SHA
    2d58a15 View commit details

Commits on Mar 7, 2025

  1. chore(deps): update dependency eslint-config-prettier to v10.1.1 (#1979)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 7, 2025
    Copy the full SHA
    3c67de7 View commit details
  2. chore(deps): update commitlint monorepo to v19.8.0 (#1980)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 7, 2025
    Copy the full SHA
    ac223cc View commit details

Commits on Mar 8, 2025

  1. chore(deps): update eslint monorepo to v9.22.0 (#1981)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 8, 2025
    Copy the full SHA
    7920e7a View commit details
  2. chore(deps): update dependency @types/node to v22.13.10 (#1982)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 8, 2025
    Copy the full SHA
    1524c79 View commit details

Commits on Mar 10, 2025

  1. chore(deps): update dependency typescript-eslint to v8.26.1 (#1983)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 10, 2025
    Copy the full SHA
    d42f3f7 View commit details

Commits on Mar 12, 2025

  1. chore(deps): update dependency lint-staged to v15.5.0 (#1984)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 12, 2025
    Copy the full SHA
    4cd4798 View commit details

Commits on Mar 19, 2025

  1. chore(deps): update nest monorepo to v11.0.12 (#1985)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 19, 2025
    Copy the full SHA
    473d753 View commit details

Commits on Mar 20, 2025

  1. chore(deps): update dependency typescript-eslint to v8.27.0 (#1986)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 20, 2025
    Copy the full SHA
    c2f497d View commit details

Commits on Mar 21, 2025

  1. chore(deps): update dependency @types/node to v22.13.11 (#1988)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 21, 2025
    Copy the full SHA
    e246df7 View commit details

Commits on Mar 22, 2025

  1. chore(deps): update dependency @eslint/eslintrc to v3.3.1 (#1989)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 22, 2025
    Copy the full SHA
    f0ec83b View commit details
  2. chore(deps): update eslint monorepo to v9.23.0 (#1990)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 22, 2025
    Copy the full SHA
    3b0aa25 View commit details

Commits on Mar 24, 2025

  1. chore(deps): update dependency eslint-plugin-prettier to v5.2.4 (#1991)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 24, 2025
    Copy the full SHA
    53dcb1b View commit details
  2. chore(deps): update dependency @types/node to v22.13.13 (#1992)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 24, 2025
    Copy the full SHA
    555ce6f View commit details
  3. chore(deps): update dependency ts-jest to v29.3.0 (#1993)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 24, 2025
    Copy the full SHA
    6f73e18 View commit details

Commits on Mar 25, 2025

  1. chore(deps): update dependency typescript-eslint to v8.28.0 (#1994)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 25, 2025
    Copy the full SHA
    e8fadb5 View commit details
  2. chore(deps): update dependency eslint-plugin-prettier to v5.2.5 (#1995)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 25, 2025
    Copy the full SHA
    c830cb2 View commit details

Commits on Mar 26, 2025

  1. fix(common): update KeyOf type to support symbol keys

    This change extends the KeyOf type to support symbol keys when keyof T
    extends never. This allows the config service to properly handle configurations
    that use symbols as keys.
    
    Closes #1996
    akeldamas committed Mar 26, 2025
    Copy the full SHA
    f53f14e View commit details

Commits on Mar 27, 2025

  1. Merge pull request #1997 from akeldamas/fix-keyof-type-for-symbols

    fix(common): update KeyOf type to support symbol keys
    kamilmysliwiec authored Mar 27, 2025
    Copy the full SHA
    51957cb View commit details
  2. Copy the full SHA
    a7c3ac1 View commit details
Showing with 470 additions and 442 deletions.
  1. +0 −1 README.md
  2. +1 −1 lib/config.service.ts
  3. +452 −423 package-lock.json
  4. +17 −17 package.json
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -12,7 +12,6 @@
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/dm/@nestjs/core.svg" alt="NPM Downloads" /></a>
<a href="https://coveralls.io/github/nestjs/nest?branch=master"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#5" alt="Coverage" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
<a href="https://opencollective.com/nest#backer"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
<a href="https://opencollective.com/nest#sponsor"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
2 changes: 1 addition & 1 deletion lib/config.service.ts
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ export interface ConfigGetOptions {
infer: true;
}

type KeyOf<T> = keyof T extends never ? string : keyof T;
type KeyOf<T> = keyof T extends never ? string | symbol : keyof T;

/**
* @publicApi
875 changes: 452 additions & 423 deletions package-lock.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestjs/config",
"version": "4.0.1",
"version": "4.0.2",
"description": "Nest - modern, fast, powerful node.js web framework (@config)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -23,33 +23,33 @@
"lodash": "4.17.21"
},
"devDependencies": {
"@commitlint/cli": "19.7.1",
"@commitlint/config-angular": "19.7.1",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.21.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"@nestjs/testing": "11.0.11",
"@commitlint/cli": "19.8.0",
"@commitlint/config-angular": "19.8.0",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.23.0",
"@nestjs/common": "11.0.12",
"@nestjs/core": "11.0.12",
"@nestjs/platform-express": "11.0.12",
"@nestjs/testing": "11.0.12",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.16",
"@types/node": "22.13.8",
"eslint": "9.21.0",
"eslint-config-prettier": "10.0.2",
"eslint-plugin-prettier": "5.2.3",
"@types/node": "22.13.13",
"eslint": "9.23.0",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-prettier": "5.2.5",
"globals": "16.0.0",
"husky": "9.1.7",
"jest": "29.7.0",
"joi": "17.13.3",
"lint-staged": "15.4.3",
"lint-staged": "15.5.0",
"prettier": "3.5.3",
"reflect-metadata": "0.2.2",
"release-it": "18.1.2",
"rimraf": "6.0.1",
"rxjs": "7.8.2",
"ts-jest": "29.2.6",
"typescript": "5.7.3",
"typescript-eslint": "8.25.0"
"ts-jest": "29.3.0",
"typescript": "5.8.2",
"typescript-eslint": "8.28.0"
},
"peerDependencies": {
"@nestjs/common": "^10.0.0 || ^11.0.0",