@canopycanopycanopy/b-ber-grammar-attributes 1.2.13-fix-1746.1 → 1.2.15
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/dist/index.js +19 -19
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -46,9 +46,9 @@ var _bBerLogger = _interopRequireDefault(require("@canopycanopycanopy/b-ber-logg
|
|
|
46
46
|
|
|
47
47
|
var _bBerShapesDirectives = require("@canopycanopycanopy/b-ber-shapes-directives");
|
|
48
48
|
|
|
49
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object);
|
|
49
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
50
50
|
|
|
51
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
51
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context3, _context4; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(source), !0)).call(_context3, function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context4 = ownKeys(Object(source))).call(_context4, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
52
52
|
|
|
53
53
|
//
|
|
54
54
|
// Querying hierarchies gets confusing, so we're using biological taxonomic
|
|
@@ -133,25 +133,25 @@ const parseAttrs = s => {
|
|
|
133
133
|
if (!open && char === 58
|
|
134
134
|
/* : */
|
|
135
135
|
) {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
continue;
|
|
136
|
+
// char is a token, we set `open` so that we don't misinterpret literals inside quotations
|
|
137
|
+
open = true;
|
|
138
|
+
key = str;
|
|
139
|
+
str = '';
|
|
140
|
+
delim = 32;
|
|
141
|
+
/* */
|
|
142
|
+
|
|
143
|
+
if (next === 34
|
|
144
|
+
/* " */
|
|
145
|
+
|| next === 39
|
|
146
|
+
/* ' */
|
|
147
|
+
) {
|
|
148
|
+
i++;
|
|
149
|
+
delim = next;
|
|
153
150
|
}
|
|
154
151
|
|
|
152
|
+
continue;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
155
|
if (char === delim) {
|
|
156
156
|
// token is ending delimiter since we've advanced our pointer
|
|
157
157
|
key = (0, _trim.default)(key).call(key); // trim whitespace, allowing for multiple spaces
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canopycanopycanopy/b-ber-grammar-attributes",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@canopycanopycanopy/b-ber-lib": "1.2.
|
|
21
|
-
"@canopycanopycanopy/b-ber-logger": "1.2.
|
|
22
|
-
"@canopycanopycanopy/b-ber-shapes-directives": "1.2.
|
|
20
|
+
"@canopycanopycanopy/b-ber-lib": "1.2.15",
|
|
21
|
+
"@canopycanopycanopy/b-ber-logger": "1.2.12",
|
|
22
|
+
"@canopycanopycanopy/b-ber-shapes-directives": "1.2.12",
|
|
23
23
|
"lodash": "^4.17.21",
|
|
24
24
|
"lodash.has": "latest",
|
|
25
25
|
"tar": "^6.1.11"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"url": "https://maxwellsimmer.com"
|
|
49
49
|
}
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "0ae2e14c92c5ceeb7b21563e32cdd8933becc842"
|
|
52
52
|
}
|