@tinacms/app 1.0.4 → 1.0.5
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/appFiles/node_modules/.package-lock.json +16 -16
- package/appFiles/node_modules/@babel/generator/lib/buffer.js +1 -16
- package/appFiles/node_modules/@babel/generator/lib/buffer.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/base.js +0 -2
- package/appFiles/node_modules/@babel/generator/lib/generators/base.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/classes.js +0 -6
- package/appFiles/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/expressions.js +1 -6
- package/appFiles/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/flow.js +0 -2
- package/appFiles/node_modules/@babel/generator/lib/generators/flow.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/methods.js +4 -11
- package/appFiles/node_modules/@babel/generator/lib/generators/methods.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/modules.js +0 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/modules.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/statements.js +0 -3
- package/appFiles/node_modules/@babel/generator/lib/generators/statements.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/types.js +1 -5
- package/appFiles/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/generators/typescript.js +2 -4
- package/appFiles/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/index.js +0 -6
- package/appFiles/node_modules/@babel/generator/lib/index.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/node/index.js +0 -1
- package/appFiles/node_modules/@babel/generator/lib/node/index.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/node/parentheses.js +3 -14
- package/appFiles/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/node/whitespace.js +1 -15
- package/appFiles/node_modules/@babel/generator/lib/node/whitespace.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/printer.js +5 -45
- package/appFiles/node_modules/@babel/generator/lib/printer.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/lib/source-map.js +0 -4
- package/appFiles/node_modules/@babel/generator/lib/source-map.js.map +1 -1
- package/appFiles/node_modules/@babel/generator/package.json +2 -2
- package/appFiles/node_modules/@babel/parser/lib/index.js +147 -673
- package/appFiles/node_modules/@babel/parser/lib/index.js.map +1 -1
- package/appFiles/node_modules/@babel/parser/package.json +1 -1
- package/appFiles/node_modules/@babel/runtime/helpers/applyDecs2203.js +170 -167
- package/appFiles/node_modules/@babel/runtime/helpers/applyDecs2203R.js +188 -0
- package/appFiles/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +170 -167
- package/appFiles/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +187 -0
- package/appFiles/node_modules/@babel/runtime/package.json +10 -1
- package/appFiles/node_modules/@babel/traverse/lib/context.js +2 -14
- package/appFiles/node_modules/@babel/traverse/lib/context.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/index.js +1 -4
- package/appFiles/node_modules/@babel/traverse/lib/index.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/ancestry.js +0 -19
- package/appFiles/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/comments.js +0 -2
- package/appFiles/node_modules/@babel/traverse/lib/path/comments.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/context.js +5 -21
- package/appFiles/node_modules/@babel/traverse/lib/path/context.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/conversion.js +6 -30
- package/appFiles/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/evaluation.js +14 -20
- package/appFiles/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/family.js +3 -9
- package/appFiles/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/index.js +1 -6
- package/appFiles/node_modules/@babel/traverse/lib/path/index.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/inference/index.js +1 -9
- package/appFiles/node_modules/@babel/traverse/lib/path/inference/index.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +1 -13
- package/appFiles/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/inference/inferers.js +2 -5
- package/appFiles/node_modules/@babel/traverse/lib/path/inference/inferers.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/introspection.js +16 -62
- package/appFiles/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/lib/hoister.js +1 -22
- package/appFiles/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js +1 -7
- package/appFiles/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +0 -2
- package/appFiles/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +0 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/modification.js +7 -24
- package/appFiles/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/removal.js +0 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/removal.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/path/replacement.js +2 -16
- package/appFiles/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/scope/binding.js +1 -6
- package/appFiles/node_modules/@babel/traverse/lib/scope/binding.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/scope/index.js +9 -53
- package/appFiles/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/scope/lib/renamer.js +4 -8
- package/appFiles/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/lib/visitors.js +2 -23
- package/appFiles/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
- package/appFiles/node_modules/@babel/traverse/package.json +2 -2
- package/appFiles/node_modules/css-to-react-native/README.md +4 -2
- package/appFiles/node_modules/css-to-react-native/index.js +13 -6
- package/appFiles/node_modules/css-to-react-native/package.json +2 -1
- package/appFiles/node_modules/css-to-react-native/src/__tests__/fontVariant.js +8 -0
- package/appFiles/node_modules/css-to-react-native/src/transforms/fontVariant.js +14 -0
- package/appFiles/node_modules/css-to-react-native/src/transforms/index.js +5 -7
- package/appFiles/src/fields/rich-text/monaco/index.tsx +12 -10
- package/appFiles/src/fields/rich-text/monaco/mdx.js +41 -35
- package/appFiles/src/lib/machines/document-machine.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -4
|
@@ -170,7 +170,6 @@ function gatherNodeParts(node, parts) {
|
|
|
170
170
|
break;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
|
|
174
173
|
const collectorVisitor = {
|
|
175
174
|
ForStatement(path) {
|
|
176
175
|
const declar = path.get("init");
|
|
@@ -184,11 +183,8 @@ const collectorVisitor = {
|
|
|
184
183
|
},
|
|
185
184
|
Declaration(path) {
|
|
186
185
|
if (path.isBlockScoped()) return;
|
|
187
|
-
|
|
188
186
|
if (path.isImportDeclaration()) return;
|
|
189
|
-
|
|
190
187
|
if (path.isExportDeclaration()) return;
|
|
191
|
-
|
|
192
188
|
const parent = path.scope.getFunctionParent() || path.scope.getProgramParent();
|
|
193
189
|
parent.registerDeclaration(path);
|
|
194
190
|
},
|
|
@@ -203,8 +199,7 @@ const collectorVisitor = {
|
|
|
203
199
|
const left = path.get("left");
|
|
204
200
|
if (left.isPattern() || left.isIdentifier()) {
|
|
205
201
|
state.constantViolations.push(path);
|
|
206
|
-
}
|
|
207
|
-
else if (left.isVar()) {
|
|
202
|
+
} else if (left.isVar()) {
|
|
208
203
|
const {
|
|
209
204
|
scope
|
|
210
205
|
} = path;
|
|
@@ -254,7 +249,6 @@ const collectorVisitor = {
|
|
|
254
249
|
if (scope.path === path) scope = scope.parent;
|
|
255
250
|
const parent = scope.getBlockParent();
|
|
256
251
|
parent.registerDeclaration(path);
|
|
257
|
-
|
|
258
252
|
if (path.isClassDeclaration() && path.node.id) {
|
|
259
253
|
const id = path.node.id;
|
|
260
254
|
const name = id.name;
|
|
@@ -269,15 +263,12 @@ const collectorVisitor = {
|
|
|
269
263
|
for (const param of params) {
|
|
270
264
|
path.scope.registerBinding("param", param);
|
|
271
265
|
}
|
|
272
|
-
|
|
273
|
-
if (path.isFunctionExpression() && path.has("id") &&
|
|
274
|
-
!path.get("id").node[NOT_LOCAL_BINDING]) {
|
|
266
|
+
if (path.isFunctionExpression() && path.has("id") && !path.get("id").node[NOT_LOCAL_BINDING]) {
|
|
275
267
|
path.scope.registerBinding("local", path.get("id"), path);
|
|
276
268
|
}
|
|
277
269
|
},
|
|
278
270
|
ClassExpression(path) {
|
|
279
|
-
if (path.has("id") &&
|
|
280
|
-
!path.get("id").node[NOT_LOCAL_BINDING]) {
|
|
271
|
+
if (path.has("id") && !path.get("id").node[NOT_LOCAL_BINDING]) {
|
|
281
272
|
path.scope.registerBinding("local", path);
|
|
282
273
|
}
|
|
283
274
|
}
|
|
@@ -310,7 +301,6 @@ class Scope {
|
|
|
310
301
|
this.labels = new Map();
|
|
311
302
|
this.inited = false;
|
|
312
303
|
}
|
|
313
|
-
|
|
314
304
|
get parent() {
|
|
315
305
|
var _parent;
|
|
316
306
|
let parent,
|
|
@@ -332,7 +322,6 @@ class Scope {
|
|
|
332
322
|
traverse(node, opts, state) {
|
|
333
323
|
(0, _index.default)(node, opts, this, state, this.path);
|
|
334
324
|
}
|
|
335
|
-
|
|
336
325
|
generateDeclaredUidIdentifier(name) {
|
|
337
326
|
const id = this.generateUidIdentifier(name);
|
|
338
327
|
this.push({
|
|
@@ -340,11 +329,9 @@ class Scope {
|
|
|
340
329
|
});
|
|
341
330
|
return cloneNode(id);
|
|
342
331
|
}
|
|
343
|
-
|
|
344
332
|
generateUidIdentifier(name) {
|
|
345
333
|
return identifier(this.generateUid(name));
|
|
346
334
|
}
|
|
347
|
-
|
|
348
335
|
generateUid(name = "temp") {
|
|
349
336
|
name = toIdentifier(name).replace(/^_+/, "").replace(/[0-9]+$/g, "");
|
|
350
337
|
let uid;
|
|
@@ -358,7 +345,6 @@ class Scope {
|
|
|
358
345
|
program.uids[uid] = true;
|
|
359
346
|
return uid;
|
|
360
347
|
}
|
|
361
|
-
|
|
362
348
|
_generateUid(name, i) {
|
|
363
349
|
let id = name;
|
|
364
350
|
if (i > 1) id += i;
|
|
@@ -371,11 +357,9 @@ class Scope {
|
|
|
371
357
|
id = id.replace(/^_/, "") || defaultName || "ref";
|
|
372
358
|
return this.generateUid(id.slice(0, 20));
|
|
373
359
|
}
|
|
374
|
-
|
|
375
360
|
generateUidIdentifierBasedOnNode(node, defaultName) {
|
|
376
361
|
return identifier(this.generateUidBasedOnNode(node, defaultName));
|
|
377
362
|
}
|
|
378
|
-
|
|
379
363
|
isStatic(node) {
|
|
380
364
|
if (isThisExpression(node) || isSuper(node) || isTopicReference(node)) {
|
|
381
365
|
return true;
|
|
@@ -390,7 +374,6 @@ class Scope {
|
|
|
390
374
|
}
|
|
391
375
|
return false;
|
|
392
376
|
}
|
|
393
|
-
|
|
394
377
|
maybeGenerateMemoised(node, dontPush) {
|
|
395
378
|
if (this.isStatic(node)) {
|
|
396
379
|
return null;
|
|
@@ -407,23 +390,20 @@ class Scope {
|
|
|
407
390
|
}
|
|
408
391
|
checkBlockScopedCollisions(local, kind, name, id) {
|
|
409
392
|
if (kind === "param") return;
|
|
410
|
-
|
|
411
393
|
if (local.kind === "local") return;
|
|
412
|
-
const duplicate =
|
|
413
|
-
kind === "let" || local.kind === "let" || local.kind === "const" || local.kind === "module" ||
|
|
414
|
-
local.kind === "param" && kind === "const";
|
|
394
|
+
const duplicate = kind === "let" || local.kind === "let" || local.kind === "const" || local.kind === "module" || local.kind === "param" && kind === "const";
|
|
415
395
|
if (duplicate) {
|
|
416
396
|
throw this.hub.buildError(id, `Duplicate declaration "${name}"`, TypeError);
|
|
417
397
|
}
|
|
418
398
|
}
|
|
419
|
-
rename(oldName, newName
|
|
399
|
+
rename(oldName, newName) {
|
|
420
400
|
const binding = this.getBinding(oldName);
|
|
421
401
|
if (binding) {
|
|
422
|
-
newName
|
|
423
|
-
|
|
402
|
+
newName || (newName = this.generateUidIdentifier(oldName).name);
|
|
403
|
+
const renamer = new _renamer.default(binding, oldName, newName);
|
|
404
|
+
return renamer.rename(arguments[2]);
|
|
424
405
|
}
|
|
425
406
|
}
|
|
426
|
-
|
|
427
407
|
_renameFromMap(map, oldName, newName, value) {
|
|
428
408
|
if (map[oldName]) {
|
|
429
409
|
map[newName] = value;
|
|
@@ -448,7 +428,6 @@ class Scope {
|
|
|
448
428
|
} while (scope = scope.parent);
|
|
449
429
|
console.log(sep);
|
|
450
430
|
}
|
|
451
|
-
|
|
452
431
|
toArray(node, i, arrayLikeIsIterable) {
|
|
453
432
|
if (isIdentifier(node)) {
|
|
454
433
|
const binding = this.getBinding(node.name);
|
|
@@ -470,7 +449,6 @@ class Scope {
|
|
|
470
449
|
helperName = "toConsumableArray";
|
|
471
450
|
} else if (typeof i === "number") {
|
|
472
451
|
args.push(numericLiteral(i));
|
|
473
|
-
|
|
474
452
|
helperName = "slicedToArray";
|
|
475
453
|
} else {
|
|
476
454
|
helperName = "toArray";
|
|
@@ -479,7 +457,6 @@ class Scope {
|
|
|
479
457
|
args.unshift(this.hub.addHelper(helperName));
|
|
480
458
|
helperName = "maybeArrayLike";
|
|
481
459
|
}
|
|
482
|
-
|
|
483
460
|
return callExpression(this.hub.addHelper(helperName), args);
|
|
484
461
|
}
|
|
485
462
|
hasLabel(name) {
|
|
@@ -552,7 +529,6 @@ class Scope {
|
|
|
552
529
|
if (local.identifier === id) continue;
|
|
553
530
|
this.checkBlockScopedCollisions(local, kind, name, id);
|
|
554
531
|
}
|
|
555
|
-
|
|
556
532
|
if (local) {
|
|
557
533
|
this.registerConstantViolation(bindingPath);
|
|
558
534
|
} else {
|
|
@@ -652,11 +628,9 @@ class Scope {
|
|
|
652
628
|
return isPureish(node);
|
|
653
629
|
}
|
|
654
630
|
}
|
|
655
|
-
|
|
656
631
|
setData(key, val) {
|
|
657
632
|
return this.data[key] = val;
|
|
658
633
|
}
|
|
659
|
-
|
|
660
634
|
getData(key) {
|
|
661
635
|
let scope = this;
|
|
662
636
|
do {
|
|
@@ -664,7 +638,6 @@ class Scope {
|
|
|
664
638
|
if (data != null) return data;
|
|
665
639
|
} while (scope = scope.parent);
|
|
666
640
|
}
|
|
667
|
-
|
|
668
641
|
removeData(key) {
|
|
669
642
|
let scope = this;
|
|
670
643
|
do {
|
|
@@ -706,17 +679,14 @@ class Scope {
|
|
|
706
679
|
}
|
|
707
680
|
path.traverse(collectorVisitor, state);
|
|
708
681
|
this.crawling = false;
|
|
709
|
-
|
|
710
682
|
for (const path of state.assignments) {
|
|
711
683
|
const ids = path.getBindingIdentifiers();
|
|
712
684
|
for (const name of Object.keys(ids)) {
|
|
713
685
|
if (path.scope.getBinding(name)) continue;
|
|
714
686
|
programParent.addGlobal(ids[name]);
|
|
715
687
|
}
|
|
716
|
-
|
|
717
688
|
path.scope.registerConstantViolation(path);
|
|
718
689
|
}
|
|
719
|
-
|
|
720
690
|
for (const ref of state.references) {
|
|
721
691
|
const binding = ref.scope.getBinding(ref.node.name);
|
|
722
692
|
if (binding) {
|
|
@@ -725,7 +695,6 @@ class Scope {
|
|
|
725
695
|
programParent.addGlobal(ref.node);
|
|
726
696
|
}
|
|
727
697
|
}
|
|
728
|
-
|
|
729
698
|
for (const path of state.constantViolations) {
|
|
730
699
|
path.scope.registerConstantViolation(path);
|
|
731
700
|
}
|
|
@@ -759,7 +728,6 @@ class Scope {
|
|
|
759
728
|
const len = declarPath.node.declarations.push(declarator);
|
|
760
729
|
path.scope.registerBinding(kind, declarPath.get("declarations")[len - 1]);
|
|
761
730
|
}
|
|
762
|
-
|
|
763
731
|
getProgramParent() {
|
|
764
732
|
let scope = this;
|
|
765
733
|
do {
|
|
@@ -769,7 +737,6 @@ class Scope {
|
|
|
769
737
|
} while (scope = scope.parent);
|
|
770
738
|
throw new Error("Couldn't find a Program");
|
|
771
739
|
}
|
|
772
|
-
|
|
773
740
|
getFunctionParent() {
|
|
774
741
|
let scope = this;
|
|
775
742
|
do {
|
|
@@ -779,7 +746,6 @@ class Scope {
|
|
|
779
746
|
} while (scope = scope.parent);
|
|
780
747
|
return null;
|
|
781
748
|
}
|
|
782
|
-
|
|
783
749
|
getBlockParent() {
|
|
784
750
|
let scope = this;
|
|
785
751
|
do {
|
|
@@ -789,7 +755,6 @@ class Scope {
|
|
|
789
755
|
} while (scope = scope.parent);
|
|
790
756
|
throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...");
|
|
791
757
|
}
|
|
792
|
-
|
|
793
758
|
getPatternParent() {
|
|
794
759
|
let scope = this;
|
|
795
760
|
do {
|
|
@@ -799,7 +764,6 @@ class Scope {
|
|
|
799
764
|
} while (scope = scope.parent.parent);
|
|
800
765
|
throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...");
|
|
801
766
|
}
|
|
802
|
-
|
|
803
767
|
getAllBindings() {
|
|
804
768
|
const ids = Object.create(null);
|
|
805
769
|
let scope = this;
|
|
@@ -813,7 +777,6 @@ class Scope {
|
|
|
813
777
|
} while (scope);
|
|
814
778
|
return ids;
|
|
815
779
|
}
|
|
816
|
-
|
|
817
780
|
getAllBindingsOfKind(...kinds) {
|
|
818
781
|
const ids = Object.create(null);
|
|
819
782
|
for (const kind of kinds) {
|
|
@@ -838,9 +801,7 @@ class Scope {
|
|
|
838
801
|
const binding = scope.getOwnBinding(name);
|
|
839
802
|
if (binding) {
|
|
840
803
|
var _previousPath;
|
|
841
|
-
|
|
842
|
-
if ((_previousPath = previousPath) != null && _previousPath.isPattern() && binding.kind !== "param" && binding.kind !== "local") {
|
|
843
|
-
} else {
|
|
804
|
+
if ((_previousPath = previousPath) != null && _previousPath.isPattern() && binding.kind !== "param" && binding.kind !== "local") {} else {
|
|
844
805
|
return binding;
|
|
845
806
|
}
|
|
846
807
|
} else if (!binding && name === "arguments" && scope.path.isFunction() && !scope.path.isArrowFunctionExpression()) {
|
|
@@ -852,12 +813,10 @@ class Scope {
|
|
|
852
813
|
getOwnBinding(name) {
|
|
853
814
|
return this.bindings[name];
|
|
854
815
|
}
|
|
855
|
-
|
|
856
816
|
getBindingIdentifier(name) {
|
|
857
817
|
var _this$getBinding;
|
|
858
818
|
return (_this$getBinding = this.getBinding(name)) == null ? void 0 : _this$getBinding.identifier;
|
|
859
819
|
}
|
|
860
|
-
|
|
861
820
|
getOwnBindingIdentifier(name) {
|
|
862
821
|
const binding = this.bindings[name];
|
|
863
822
|
return binding == null ? void 0 : binding.identifier;
|
|
@@ -865,7 +824,6 @@ class Scope {
|
|
|
865
824
|
hasOwnBinding(name) {
|
|
866
825
|
return !!this.getOwnBinding(name);
|
|
867
826
|
}
|
|
868
|
-
|
|
869
827
|
hasBinding(name, opts) {
|
|
870
828
|
var _opts, _opts2, _opts3;
|
|
871
829
|
if (!name) return false;
|
|
@@ -885,7 +843,6 @@ class Scope {
|
|
|
885
843
|
var _this$parent;
|
|
886
844
|
return (_this$parent = this.parent) == null ? void 0 : _this$parent.hasBinding(name, opts);
|
|
887
845
|
}
|
|
888
|
-
|
|
889
846
|
moveBindingTo(name, scope) {
|
|
890
847
|
const info = this.getBinding(name);
|
|
891
848
|
if (info) {
|
|
@@ -900,7 +857,6 @@ class Scope {
|
|
|
900
857
|
removeBinding(name) {
|
|
901
858
|
var _this$getBinding2;
|
|
902
859
|
(_this$getBinding2 = this.getBinding(name)) == null ? void 0 : _this$getBinding2.scope.removeOwnBinding(name);
|
|
903
|
-
|
|
904
860
|
let scope = this;
|
|
905
861
|
do {
|
|
906
862
|
if (scope.uids[name]) {
|