@platformatic/next 3.43.0 → 3.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -217,7 +217,7 @@ export class NextImageOptimizerCapability extends BaseCapability {
217
217
  const { pathname, searchParams } = new URL(request.url, 'http://localhost')
218
218
  const imagePath = `${this.#basePath}/_next/image`
219
219
 
220
- if (request.method !== 'GET' || pathname !== imagePath) {
220
+ if (request.method !== 'GET' || cleanBasePath(pathname) !== cleanBasePath(imagePath)) {
221
221
  response.statusCode = 404
222
222
  response.end('Not Found')
223
223
  return
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "3.43.0",
3
+ "version": "3.44.0",
4
4
  "description": "Platformatic Next.js Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -19,14 +19,14 @@
19
19
  "@babel/parser": "^7.25.3",
20
20
  "@babel/traverse": "^7.25.3",
21
21
  "@babel/types": "^7.25.2",
22
- "@platformatic/image-optimizer": "^0.2.0",
22
+ "@platformatic/image-optimizer": "^0.2.1",
23
23
  "amaro": "^0.3.0",
24
24
  "iovalkey": "^0.3.0",
25
25
  "light-my-request": "^6.0.0",
26
26
  "msgpackr": "^1.11.2",
27
27
  "semver": "^7.6.3",
28
- "@platformatic/basic": "3.43.0",
29
- "@platformatic/foundation": "3.43.0"
28
+ "@platformatic/basic": "3.44.0",
29
+ "@platformatic/foundation": "3.44.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@fastify/reply-from": "^12.0.0",
@@ -42,8 +42,8 @@
42
42
  "next": "^16.1.0",
43
43
  "typescript": "^5.5.4",
44
44
  "ws": "^8.18.0",
45
- "@platformatic/gateway": "3.43.0",
46
- "@platformatic/service": "3.43.0"
45
+ "@platformatic/service": "3.44.0",
46
+ "@platformatic/gateway": "3.44.0"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/next/3.43.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/3.44.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Config",
5
5
  "type": "object",