@medusajs/framework 2.20.2-preview-20260904091918 → 2.20.2-preview-20260904113944

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.
@@ -1 +1 @@
1
- {"version":3,"file":"unless-path.d.ts","sourceRoot":"","sources":["../../../src/http/utils/unless-path.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAEjB;;GAEG;AACH;;GAEG;AACH,eAAO,MAAM,UAAU,GACpB,QAAQ,MAAM,EAAE,YAAY,kBAAkB,MAC9C,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,QAMjE,CAAA"}
1
+ {"version":3,"file":"unless-path.d.ts","sourceRoot":"","sources":["../../../src/http/utils/unless-path.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAEjB;;GAEG;AACH;;GAEG;AACH,eAAO,MAAM,UAAU,GACpB,QAAQ,MAAM,EAAE,YAAY,kBAAkB,MAC9C,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,QAOjE,CAAA"}
@@ -8,6 +8,7 @@ exports.unlessPath = void 0;
8
8
  * This function allows us to skip middlewares for particular routes, so we can temporarily solve * * this without completely breaking the route loader for everyone.
9
9
  */
10
10
  const unlessPath = (onPath, middleware) => (req, res, next) => {
11
+ onPath.lastIndex = 0;
11
12
  if (onPath.test(req.path)) {
12
13
  return next();
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"unless-path.js","sourceRoot":"","sources":["../../../src/http/utils/unless-path.ts"],"names":[],"mappings":";;;AAOA;;GAEG;AACH;;GAEG;AACI,MAAM,UAAU,GACrB,CAAC,MAAc,EAAE,UAA8B,EAAE,EAAE,CACnD,CAAC,GAAkB,EAAE,GAAmB,EAAE,IAAwB,EAAE,EAAE;IACpE,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAI,EAAE,CAAA;IACf,CAAC;SAAM,CAAC;QACN,OAAO,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAA;IACnC,CAAC;AACH,CAAC,CAAA;AARU,QAAA,UAAU,cAQpB"}
1
+ {"version":3,"file":"unless-path.js","sourceRoot":"","sources":["../../../src/http/utils/unless-path.ts"],"names":[],"mappings":";;;AAOA;;GAEG;AACH;;GAEG;AACI,MAAM,UAAU,GACrB,CAAC,MAAc,EAAE,UAA8B,EAAE,EAAE,CACnD,CAAC,GAAkB,EAAE,GAAmB,EAAE,IAAwB,EAAE,EAAE;IACpE,MAAM,CAAC,SAAS,GAAG,CAAC,CAAA;IACpB,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAI,EAAE,CAAA;IACf,CAAC;SAAM,CAAC;QACN,OAAO,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAA;IACnC,CAAC;AACH,CAAC,CAAA;AATU,QAAA,UAAU,cASpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/framework",
3
- "version": "2.20.2-preview-20260904091918",
3
+ "version": "2.20.2-preview-20260904113944",
4
4
  "description": "Framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -75,18 +75,18 @@
75
75
  "test": "../../../node_modules/.bin/jest --bail --forceExit --testPathPattern=src"
76
76
  },
77
77
  "devDependencies": {
78
- "@medusajs/cli": "2.20.2-preview-20260904091918"
78
+ "@medusajs/cli": "2.20.2-preview-20260904113944"
79
79
  },
80
80
  "dependencies": {
81
81
  "@aws-sdk/client-dynamodb": "^3.980.0",
82
82
  "@jercle/yargonaut": "^1.1.5",
83
- "@medusajs/deps": "2.20.2-preview-20260904091918",
84
- "@medusajs/modules-sdk": "2.20.2-preview-20260904091918",
85
- "@medusajs/orchestration": "2.20.2-preview-20260904091918",
86
- "@medusajs/telemetry": "2.20.2-preview-20260904091918",
87
- "@medusajs/types": "2.20.2-preview-20260904091918",
88
- "@medusajs/utils": "2.20.2-preview-20260904091918",
89
- "@medusajs/workflows-sdk": "2.20.2-preview-20260904091918",
83
+ "@medusajs/deps": "2.20.2-preview-20260904113944",
84
+ "@medusajs/modules-sdk": "2.20.2-preview-20260904113944",
85
+ "@medusajs/orchestration": "2.20.2-preview-20260904113944",
86
+ "@medusajs/telemetry": "2.20.2-preview-20260904113944",
87
+ "@medusajs/types": "2.20.2-preview-20260904113944",
88
+ "@medusajs/utils": "2.20.2-preview-20260904113944",
89
+ "@medusajs/workflows-sdk": "2.20.2-preview-20260904113944",
90
90
  "@types/express": "^4.17.21",
91
91
  "chokidar": "^4.0.3",
92
92
  "compression": "^1.8.1",
@@ -106,7 +106,7 @@
106
106
  "zod-validation-error": "5.0.0"
107
107
  },
108
108
  "peerDependencies": {
109
- "@medusajs/cli": "2.20.2-preview-20260904091918",
109
+ "@medusajs/cli": "2.20.2-preview-20260904113944",
110
110
  "ioredis": "^5.4.1"
111
111
  },
112
112
  "peerDependenciesMeta": {