diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c52fe15b..09ec167e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: matrix: node: [18, 20, 22] steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -26,7 +26,7 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: node-version: 18 @@ -35,7 +35,7 @@ jobs: system_test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: node-version: 18 @@ -44,7 +44,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: node-version: 18 @@ -53,7 +53,7 @@ jobs: license_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dd7bc41b..2544d1c1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,7 +6,7 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: node-version: 18 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dee687c..3f3dfdb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [6.0.2](https://github.com/google/gts/compare/v6.0.1...v6.0.2) (2024-10-25) + + +### Bug Fixes + +* TS `lib` Support for Node 18+ ([#913](https://github.com/google/gts/issues/913)) ([82aa8e3](https://github.com/google/gts/commit/82aa8e33869b9d91ac426afbe3027e6b6f7b90b3)) + ## [6.0.1](https://github.com/google/gts/compare/v6.0.0...v6.0.1) (2024-10-22) diff --git a/package-lock.json b/package-lock.json index 6c359994..71c2d5b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gts", - "version": "6.0.1", + "version": "6.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gts", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "dependencies": { "@typescript-eslint/eslint-plugin": "5.62.0", @@ -48,7 +48,7 @@ "inline-fixtures": "^1.1.0", "js-green-licenses": "^4.0.0", "mocha": "^10.0.0", - "sinon": "^17.0.0", + "sinon": "^19.0.0", "tmp": "0.2.3", "typescript": "^5.6.3" }, @@ -56,7 +56,7 @@ "node": ">=18" }, "peerDependencies": { - "typescript": ">=5.6.3" + "typescript": ">=5" } }, "node_modules/@babel/code-frame": { @@ -498,9 +498,9 @@ } }, "node_modules/@sinonjs/fake-timers": { - "version": "11.3.1", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-11.3.1.tgz", - "integrity": "sha512-EVJO7nW5M/F5Tur0Rf2z/QoMo+1Ia963RiMtapiQrEWvY0iBUvADo8Beegwjpnle5BHkyHuoxSTW3jF43H1XRA==", + "version": "13.0.4", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-13.0.4.tgz", + "integrity": "sha512-wpUq+QiKxrWk7U2pdvNSY9fNX62/k+7eEdlQMO0A3rU8tQ+vvzY/WzBhMz+GbQlATXZlXWYQqFWNFcn1SVvThA==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -3436,17 +3436,17 @@ } }, "node_modules/nise": { - "version": "5.1.9", - "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.9.tgz", - "integrity": "sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/nise/-/nise-6.1.1.tgz", + "integrity": "sha512-aMSAzLVY7LyeM60gvBS423nBmIPP+Wy7St7hsb+8/fc1HmeoHJfLO8CKse4u3BtOZvQLJghYPI2i/1WZrEj5/g==", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "@sinonjs/commons": "^3.0.0", - "@sinonjs/fake-timers": "^11.2.2", - "@sinonjs/text-encoding": "^0.7.2", + "@sinonjs/commons": "^3.0.1", + "@sinonjs/fake-timers": "^13.0.1", + "@sinonjs/text-encoding": "^0.7.3", "just-extend": "^6.2.0", - "path-to-regexp": "^6.2.1" + "path-to-regexp": "^8.1.0" } }, "node_modules/node-fetch": { @@ -3748,11 +3748,14 @@ "license": "ISC" }, "node_modules/path-to-regexp": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", - "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", + "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=16" + } }, "node_modules/path-type": { "version": "4.0.0", @@ -4340,17 +4343,17 @@ "license": "ISC" }, "node_modules/sinon": { - "version": "17.0.1", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-17.0.1.tgz", - "integrity": "sha512-wmwE19Lie0MLT+ZYNpDymasPHUKTaZHUH/pKEubRXIzySv9Atnlw+BUMGCzWgV7b7wO+Hw6f1TEOr0IUnmU8/g==", + "version": "19.0.2", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-19.0.2.tgz", + "integrity": "sha512-euuToqM+PjO4UgXeLETsfQiuoyPXlqFezr6YZDFwHR3t4qaX0fZUe1MfPMznTL5f8BWrVS89KduLdMUsxFCO6g==", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "@sinonjs/commons": "^3.0.0", - "@sinonjs/fake-timers": "^11.2.2", - "@sinonjs/samsam": "^8.0.0", - "diff": "^5.1.0", - "nise": "^5.1.5", + "@sinonjs/commons": "^3.0.1", + "@sinonjs/fake-timers": "^13.0.2", + "@sinonjs/samsam": "^8.0.1", + "diff": "^7.0.0", + "nise": "^6.1.1", "supports-color": "^7.2.0" }, "funding": { @@ -4358,6 +4361,16 @@ "url": "https://opencollective.com/sinon" } }, + "node_modules/sinon/node_modules/diff": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", + "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, "node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", diff --git a/package.json b/package.json index 1165b2b7..0c93627b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gts", - "version": "6.0.1", + "version": "6.0.2", "description": "Google TypeScript Style", "repository": "google/gts", "main": "build/src/index.js", @@ -79,7 +79,7 @@ "inline-fixtures": "^1.1.0", "js-green-licenses": "^4.0.0", "mocha": "^10.0.0", - "sinon": "^17.0.0", + "sinon": "^19.0.0", "tmp": "0.2.3", "typescript": "^5.6.3" }, diff --git a/tsconfig-google.json b/tsconfig-google.json index 905efe9b..dbed8703 100644 --- a/tsconfig-google.json +++ b/tsconfig-google.json @@ -4,7 +4,7 @@ "allowUnusedLabels": false, "composite": true, "forceConsistentCasingInFileNames": true, - "lib": ["es2018"], + "lib": ["ES2023"], "module": "commonjs", "noEmitOnError": true, "noFallthroughCasesInSwitch": true, @@ -13,7 +13,7 @@ "sourceMap": true, "stripInternal": true, "strict": true, - "target": "es2018" + "target": "ES2022" }, "exclude": ["node_modules"] }