diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 102ff93..91d0147 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [18.x, 17.x, 16.x, 14.x, 12.x] + node-version: [20.x, 18.x, 16.x, 14.x, 12.x] steps: - uses: actions/checkout@v2 diff --git a/changelog.md b/changelog.md index fe0086d..1a5b58e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,8 @@ # Changelog -## Next -- Changed fetching of data files to fallback to using the packaged files if the fetch request fails. +## 2.5.6 +*2023-06-28* +- Changed fetching of data files to fallback to using the packaged files if the fetch request fails ([#21](https://github.com/Nixinova/LinguistJS/issues/21)). - Fixed packaged data files having formatting issues. ## 2.5.5 diff --git a/package-lock.json b/package-lock.json index eb79323..401a879 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "linguist-js", - "version": "2.5.5", + "version": "2.5.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "linguist-js", - "version": "2.5.5", + "version": "2.5.6", "license": "ISC", "dependencies": { "binary-extensions": "^2.2.0", @@ -14,7 +14,7 @@ "common-path-prefix": "^3.0.0", "cross-fetch": "^3.1.6", "ignore": "^5.2.4", - "isbinaryfile": "^4.0.8 <5", + "isbinaryfile": "^4.0.10 <5", "js-yaml": "^4.1.0", "node-cache": "^5.1.2" }, @@ -24,9 +24,9 @@ }, "devDependencies": { "@types/js-yaml": "^4.0.5", - "@types/node": "ts5.1", + "@types/node": "ts5.0", "deep-object-diff": "^1.1.9", - "typescript": "~5.1.3" + "typescript": "~5.0.4 <5.1" }, "engines": { "node": ">=12" @@ -158,16 +158,16 @@ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/typescript": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", - "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=14.17" + "node": ">=12.20" } }, "node_modules/webidl-conversions": { @@ -277,9 +277,9 @@ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "typescript": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", - "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true }, "webidl-conversions": { diff --git a/package.json b/package.json index 5b78469..65abbaa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linguist-js", - "version": "2.5.5", + "version": "2.5.6", "description": "Analyse languages used in a folder. Powered by GitHub Linguist, although it doesn't need to be installed.", "main": "dist/index.js", "bin": { @@ -44,14 +44,14 @@ "common-path-prefix": "^3.0.0", "cross-fetch": "^3.1.6", "ignore": "^5.2.4", - "isbinaryfile": "^4.0.8 <5", + "isbinaryfile": "^4.0.10 <5", "js-yaml": "^4.1.0", "node-cache": "^5.1.2" }, "devDependencies": { "@types/js-yaml": "^4.0.5", - "@types/node": "ts5.1", + "@types/node": "ts5.0", "deep-object-diff": "^1.1.9", - "typescript": "~5.1.3" + "typescript": "^5.1" } }