@o3r/configuration 11.3.0-rc.6 → 11.3.0-rc.7

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.
@@ -4,11 +4,11 @@ exports.bootstrapConfigMiddleware = void 0;
4
4
  const cheerio = require("cheerio");
5
5
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6
6
  // @ts-ignore -- no type are provided for express-interceptor
7
- const express_interceptor_1 = require("express-interceptor");
7
+ const expressInterceptor = require("express-interceptor");
8
8
  /**
9
9
  * Injects bootstrapconfig inside the body dataset to get all debug/override capabilities on a local development server
10
10
  */
11
- const bootstrapConfigMiddleware = () => (0, express_interceptor_1.default)((_req, res) => ({
11
+ const bootstrapConfigMiddleware = () => expressInterceptor((_req, res) => ({
12
12
  isInterceptable: () => /text\/html/.test(res.get('Content-Type')),
13
13
  intercept: (body, send) => {
14
14
  const file = cheerio.load(body);
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap-config.middleware.js","sourceRoot":"","sources":["../../middlewares/bootstrap-config.middleware.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,6DAA6D;AAC7D,6DAA6D;AAC7D,6DAAqD;AAErD;;GAEG;AACI,MAAM,yBAAyB,GAAG,GAAG,EAAE,CAAC,IAAA,6BAAkB,EAAC,CAAC,IAAwB,EAAE,GAAyB,EAAE,EAAE,CAAC,CAAC;IAC1H,eAAe,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACjE,SAAS,EAAE,CAAC,IAAY,EAAE,IAA4B,EAAE,EAAE;QACxD,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEhC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,sBAAsB,EAAE,IAAI,CAAC,SAAS,CAAC,EAAC,kBAAkB,EAAE,IAAI,EAAC,CAAC,CAAC,CAAC;QAEtF,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IACpB,CAAC;CACF,CAAC,CAAC,CAAC;AATS,QAAA,yBAAyB,6BASlC"}
1
+ {"version":3,"file":"bootstrap-config.middleware.js","sourceRoot":"","sources":["../../middlewares/bootstrap-config.middleware.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,6DAA6D;AAC7D,6DAA6D;AAC7D,0DAA0D;AAE1D;;GAEG;AACI,MAAM,yBAAyB,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,CAAC,IAAwB,EAAE,GAAyB,EAAE,EAAE,CAAC,CAAC;IAC1H,eAAe,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACjE,SAAS,EAAE,CAAC,IAAY,EAAE,IAA4B,EAAE,EAAE;QACxD,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEhC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,sBAAsB,EAAE,IAAI,CAAC,SAAS,CAAC,EAAC,kBAAkB,EAAE,IAAI,EAAC,CAAC,CAAC,CAAC;QAEtF,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IACpB,CAAC;CACF,CAAC,CAAC,CAAC;AATS,QAAA,yBAAyB,6BASlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/configuration",
3
- "version": "11.3.0-rc.6",
3
+ "version": "11.3.0-rc.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -51,10 +51,10 @@
51
51
  "@angular/platform-browser-dynamic": "~18.2.0",
52
52
  "@ngrx/entity": "~18.0.0",
53
53
  "@ngrx/store": "~18.0.0",
54
- "@o3r/core": "^11.3.0-rc.6",
55
- "@o3r/logger": "^11.3.0-rc.6",
56
- "@o3r/schematics": "^11.3.0-rc.6",
57
- "@o3r/testing": "^11.3.0-rc.6",
54
+ "@o3r/core": "^11.3.0-rc.7",
55
+ "@o3r/logger": "^11.3.0-rc.7",
56
+ "@o3r/schematics": "^11.3.0-rc.7",
57
+ "@o3r/testing": "^11.3.0-rc.7",
58
58
  "@schematics/angular": "~18.2.0",
59
59
  "cheerio": "^1.0.0-rc.10",
60
60
  "express-interceptor": "^1.2.0",