@communities-webruntime/extensions
Advanced tools
Comparing version 0.21.9 to 0.22.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.22.0](https://git.soma.salesforce.com/communities/webruntime/compare/v0.21.9...v0.22.0) (2020-03-03) | ||
### Features | ||
* update path-to-regexp to allow regexes with route params (@W-6549097) ([#1226](https://git.soma.salesforce.com/communities/webruntime/issues/1226)) ([01b6b96](https://git.soma.salesforce.com/communities/webruntime/commits/01b6b96034712b485ecddca99f2d832cad71d74a)) | ||
## [0.21.9](https://git.soma.salesforce.com/communities/webruntime/compare/v0.21.8...v0.21.9) (2020-03-02) | ||
@@ -8,0 +19,0 @@ |
@@ -16,10 +16,7 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const fs = __importStar(require("fs")); | ||
const path_to_regexp_1 = __importDefault(require("path-to-regexp")); | ||
const path_to_regexp_1 = require("path-to-regexp"); | ||
const constants_1 = require("./constants"); | ||
const regexp = path_to_regexp_1.default(`/${constants_1.ASSETS_DIR}/:versionKey/(.*)`); | ||
const regexp = path_to_regexp_1.pathToRegexp(`/${constants_1.ASSETS_DIR}/:versionKey/(.*)`); | ||
function rewriteUrl(url) { | ||
@@ -26,0 +23,0 @@ const parts = regexp.exec(url) || []; |
{ | ||
"name": "@communities-webruntime/extensions", | ||
"license": "MIT", | ||
"version": "0.21.9", | ||
"version": "0.22.0", | ||
"description": "Communities Webruntime Extensions", | ||
@@ -16,3 +16,3 @@ "main": "dist/commonjs/index.js", | ||
"dependencies": { | ||
"@communities-webruntime/common": "0.21.9", | ||
"@communities-webruntime/common": "0.22.0", | ||
"body-parser": "^1.19.0", | ||
@@ -27,3 +27,3 @@ "colors": "^1.4.0", | ||
"node-http-proxy-json": "^0.1.6", | ||
"path-to-regexp": "^3.0.0" | ||
"path-to-regexp": "^6.0.0" | ||
}, | ||
@@ -41,3 +41,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "2aeb150f47fa8cb72275a66163913cf34e1d9c39" | ||
"gitHead": "aa86bb24151a084f10b98236cb58c0f039c39dde" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
227867
534
+ Added@communities-webruntime/common@0.22.0(transitive)
+ Addedpath-to-regexp@6.3.0(transitive)
- Removed@communities-webruntime/common@0.21.9(transitive)
- Removedpath-to-regexp@3.3.0(transitive)
Updatedpath-to-regexp@^6.0.0