@orioro/util 0.14.0 → 0.15.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.
- package/CHANGELOG.md +6 -0
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -932,8 +932,10 @@ function debugFn(fnName, fn, logCall, logResult) {
|
|
|
932
932
|
}
|
|
933
933
|
|
|
934
934
|
/**
|
|
935
|
-
* /\$\{\s*([
|
|
936
|
-
* \s*\}/g
|
|
936
|
+
* 
|
|
937
|
+
*
|
|
938
|
+
* https://regex-vis.com/?r=%2F%5C%24%5C%7B%5Cs*%28%5BA-Za-z0-9_%24.%3D%23%2B%3F%40+%5C%2F%27%22-%5D%2B%29%5Cs*%5C%7D%2Fg
|
|
937
939
|
*
|
|
938
940
|
* RegExp used for matching interpolation expressions.
|
|
939
941
|
* Allows a non-interrupted sequence of alphanumeric chars ([A-Za-z0-9_]),
|
|
@@ -954,7 +956,7 @@ function debugFn(fnName, fn, logCall, logResult) {
|
|
|
954
956
|
*
|
|
955
957
|
* @const {RegExp} INTERPOLATION_REGEXP
|
|
956
958
|
*/
|
|
957
|
-
var INTERPOLATION_REGEXP = /\$\{\s*([
|
|
959
|
+
var INTERPOLATION_REGEXP = /\$\{\s*([A-Za-z0-9_$.=#+?@ \/'"-]+)\s*\}/g;
|
|
958
960
|
var DEFAULT_SIGN = '=';
|
|
959
961
|
function _parsePathExpr(pathExpr) {
|
|
960
962
|
var splitRes = pathExpr.split(DEFAULT_SIGN);
|
package/dist/index.mjs
CHANGED
|
@@ -930,8 +930,10 @@ function debugFn(fnName, fn, logCall, logResult) {
|
|
|
930
930
|
}
|
|
931
931
|
|
|
932
932
|
/**
|
|
933
|
-
* /\$\{\s*([
|
|
934
|
-
* \s*\}/g
|
|
934
|
+
* 
|
|
935
|
+
*
|
|
936
|
+
* https://regex-vis.com/?r=%2F%5C%24%5C%7B%5Cs*%28%5BA-Za-z0-9_%24.%3D%23%2B%3F%40+%5C%2F%27%22-%5D%2B%29%5Cs*%5C%7D%2Fg
|
|
935
937
|
*
|
|
936
938
|
* RegExp used for matching interpolation expressions.
|
|
937
939
|
* Allows a non-interrupted sequence of alphanumeric chars ([A-Za-z0-9_]),
|
|
@@ -952,7 +954,7 @@ function debugFn(fnName, fn, logCall, logResult) {
|
|
|
952
954
|
*
|
|
953
955
|
* @const {RegExp} INTERPOLATION_REGEXP
|
|
954
956
|
*/
|
|
955
|
-
var INTERPOLATION_REGEXP = /\$\{\s*([
|
|
957
|
+
var INTERPOLATION_REGEXP = /\$\{\s*([A-Za-z0-9_$.=#+?@ \/'"-]+)\s*\}/g;
|
|
956
958
|
var DEFAULT_SIGN = '=';
|
|
957
959
|
function _parsePathExpr(pathExpr) {
|
|
958
960
|
var splitRes = pathExpr.split(DEFAULT_SIGN);
|