be-hive 0.1.12 → 0.1.13
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "be-hive",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"web-components",
|
|
6
6
|
"web-component",
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
"default": "./findAdjacentElement.js",
|
|
24
24
|
"types": "./findAdjacentElement.ts"
|
|
25
25
|
},
|
|
26
|
+
"./parsers/parse-grouped-capture-statements.js": {
|
|
27
|
+
"default": "./parsers/parse-grouped-capture-statements.js",
|
|
28
|
+
"types": "./parsers/parse-grouped-capture-statements.ts"
|
|
29
|
+
},
|
|
26
30
|
"./parsers/parse-pattern-statements.js": {
|
|
27
31
|
"default": "./parsers/parse-pattern-statements.js",
|
|
28
32
|
"types": "./parsers/parse-pattern-statements.ts"
|
|
@@ -38,8 +42,8 @@
|
|
|
38
42
|
"update": "ncu -u && npm install"
|
|
39
43
|
},
|
|
40
44
|
"dependencies": {
|
|
41
|
-
"mount-observer": "0.1.
|
|
42
|
-
"nested-regex-groups": "0.0.
|
|
45
|
+
"mount-observer": "0.1.31",
|
|
46
|
+
"nested-regex-groups": "0.0.6"
|
|
43
47
|
},
|
|
44
48
|
"repository": {
|
|
45
49
|
"type": "git",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { parseGroupedCaptureStatements as pgcs } from 'nested-regex-groups/parse-grouped-capture-statements.js';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {*} context
|
|
6
|
+
*/
|
|
7
|
+
export default function parseGroupedCaptureStatements(value, context) {
|
|
8
|
+
const result = pgcs(value, context.attrConfig.parserConfig);
|
|
9
|
+
return result;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { parseGroupedCaptureStatements as pgcs} from 'nested-regex-groups/parse-grouped-capture-statements.js';
|
|
2
|
+
import { ParserContext } from '../types/assign-gingerly/types.d.js';
|
|
3
|
+
import { PatternConfig } from '../types/nested-regex-groups/types.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @param {string} value
|
|
8
|
+
* @param {*} context
|
|
9
|
+
*/
|
|
10
|
+
export default function parseGroupedCaptureStatements(value: string, context: ParserContext){
|
|
11
|
+
const result = pgcs(value, context.attrConfig.parserConfig as PatternConfig[]);
|
|
12
|
+
return result;
|
|
13
|
+
}
|