diff --git a/package.json b/package.json index bad60ab8..eb2c1480 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@commitlint/config-conventional": "^20.0.0", "@isaacs/brace-expansion": "^5.0.1", "@playwright/browser-chromium": "^1.61.0", - "@types/content-type": "^1.1.8", + "@types/content-type": "^2.0.0", "@types/fs-extra": "^11.0.4", "@types/node": "^24.0.0", "@types/semver": "^7.5.8", diff --git a/packages/actor-scraper/web-scraper/package.json b/packages/actor-scraper/web-scraper/package.json index a5436521..54f4dfcd 100644 --- a/packages/actor-scraper/web-scraper/package.json +++ b/packages/actor-scraper/web-scraper/package.json @@ -9,14 +9,14 @@ "@apify/scraper-tools": "^1.1.4", "@crawlee/puppeteer": "^3.16.0", "apify": "^3.7.1", - "content-type": "^1.0.5", + "content-type": "^2.0.0", "devtools-server": "^0.0.2", "idcac-playwright": "^0.2.0", "puppeteer": "25.2.0" }, "devDependencies": { "@apify/tsconfig": "^0.1.0", - "@types/content-type": "^1.1.8", + "@types/content-type": "^2.0.0", "@types/node": "^24.0.0", "tsx": "^4.19.1", "typescript": "~5.9.0" diff --git a/packages/scraper-tools/package.json b/packages/scraper-tools/package.json index f7f7f171..f478a159 100644 --- a/packages/scraper-tools/package.json +++ b/packages/scraper-tools/package.json @@ -37,7 +37,7 @@ "dependencies": { "@apify/log": "^2.4.0", "ajv": "^8.12.0", - "content-type": "^1.0.5", + "content-type": "^2.0.0", "tslib": "^2.6.1" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7cc9698e..328ca682 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,8 +38,8 @@ importers: specifier: ^1.61.0 version: 1.61.0 '@types/content-type': - specifier: ^1.1.8 - version: 1.1.9 + specifier: ^2.0.0 + version: 2.0.0 '@types/fs-extra': specifier: ^11.0.4 version: 11.0.4 @@ -335,8 +335,8 @@ importers: specifier: ^3.7.1 version: 3.7.2 content-type: - specifier: ^1.0.5 - version: 1.0.5 + specifier: ^2.0.0 + version: 2.0.0 devtools-server: specifier: ^0.0.2 version: 0.0.2 @@ -351,8 +351,8 @@ importers: specifier: ^0.1.0 version: 0.1.2 '@types/content-type': - specifier: ^1.1.8 - version: 1.1.9 + specifier: ^2.0.0 + version: 2.0.0 '@types/node': specifier: ^24.0.0 version: 24.12.2 @@ -372,8 +372,8 @@ importers: specifier: ^8.12.0 version: 8.18.0 content-type: - specifier: ^1.0.5 - version: 1.0.5 + specifier: ^2.0.0 + version: 2.0.0 tslib: specifier: ^2.6.1 version: 2.8.1 @@ -1874,6 +1874,10 @@ packages: '@types/content-type@1.1.9': resolution: {integrity: sha512-Hq9IMnfekuOCsEmYl4QX2HBrT+XsfXiupfrLLY8Dcf3Puf4BkBOxSbWYTITSOQAhJoYPBez+b4MJRpIYL65z8A==} + '@types/content-type@2.0.0': + resolution: {integrity: sha512-wZQlLoRx3carjGy5yHA6GnCBGChd/9DDYTAOPbISfXGjhI4j70U6SU/tu5EEz7NpX2MxpUVgbbYFIgLqDItbVQ==} + deprecated: This is a stub types definition. content-type provides its own type definitions, so you do not need this installed. + '@types/deep-eql@4.0.2': resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} @@ -2367,6 +2371,10 @@ packages: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} + content-type@2.0.0: + resolution: {integrity: sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==} + engines: {node: '>=18'} + conventional-changelog-angular@7.0.0: resolution: {integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==} engines: {node: '>=16'} @@ -6941,6 +6949,10 @@ snapshots: '@types/content-type@1.1.9': {} + '@types/content-type@2.0.0': + dependencies: + content-type: 2.0.0 + '@types/deep-eql@4.0.2': {} '@types/estree@1.0.8': {} @@ -7513,6 +7525,8 @@ snapshots: content-type@1.0.5: {} + content-type@2.0.0: {} + conventional-changelog-angular@7.0.0: dependencies: compare-func: 2.0.0