From c80c782b314628ec20e9a8aae88868da4f168d44 Mon Sep 17 00:00:00 2001 From: Rob Eisenberg Date: Mon, 14 Sep 2020 10:49:42 -0400 Subject: [PATCH] chore(all): prepare release 1.13.1 --- bower.json | 2 +- dist/amd/aurelia-templating-resources.js | 7 ++++++- dist/amd/aurelia-templating-resources.js.map | 2 +- dist/commonjs/aurelia-templating-resources.js | 7 ++++++- dist/commonjs/aurelia-templating-resources.js.map | 2 +- dist/es2015/aurelia-templating-resources.js | 7 ++++++- dist/es2015/aurelia-templating-resources.js.map | 2 +- dist/es2017/aurelia-templating-resources.js | 7 ++++++- dist/es2017/aurelia-templating-resources.js.map | 2 +- dist/native-modules/aurelia-templating-resources.js | 7 ++++++- .../native-modules/aurelia-templating-resources.js.map | 2 +- dist/system/aurelia-templating-resources.js | 7 ++++++- dist/system/aurelia-templating-resources.js.map | 2 +- doc/CHANGELOG.md | 10 ++++++++++ package-lock.json | 2 +- package.json | 2 +- 16 files changed, 55 insertions(+), 15 deletions(-) diff --git a/bower.json b/bower.json index ba5d4ef..b99997d 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating-resources", - "version": "1.13.0", + "version": "1.13.1", "description": "A standard set of behaviors, converters and other resources for use with the Aurelia templating library.", "keywords": [ "aurelia", diff --git a/dist/amd/aurelia-templating-resources.js b/dist/amd/aurelia-templating-resources.js index 97b39f3..ba0e4bc 100644 --- a/dist/amd/aurelia-templating-resources.js +++ b/dist/amd/aurelia-templating-resources.js @@ -1014,6 +1014,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-pal', 'aurelia-task- return AbstractRepeater; }()); + var matcherExtractionMarker = '__marker_extracted__'; var Repeat = (function (_super) { __extends(Repeat, _super); function Repeat(viewFactory, instruction, viewSlot, viewResources, observerLocator, strategyLocator) { @@ -1041,7 +1042,11 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-pal', 'aurelia-task- }; Repeat.prototype.bind = function (bindingContext, overrideContext) { this.scope = { bindingContext: bindingContext, overrideContext: overrideContext }; - this.matcherBinding = this._captureAndRemoveMatcherBinding(); + var instruction = this.instruction; + if (!(matcherExtractionMarker in instruction)) { + instruction[matcherExtractionMarker] = this._captureAndRemoveMatcherBinding(); + } + this.matcherBinding = instruction[matcherExtractionMarker]; this.itemsChanged(); }; Repeat.prototype.unbind = function () { diff --git a/dist/amd/aurelia-templating-resources.js.map b/dist/amd/aurelia-templating-resources.js.map index c431e53..a5b60e8 100644 --- a/dist/amd/aurelia-templating-resources.js.map +++ b/dist/amd/aurelia-templating-resources.js.map @@ -1 +1 @@ -{"version":3,"file":"aurelia-templating-resources.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/commonjs/aurelia-templating-resources.js b/dist/commonjs/aurelia-templating-resources.js index df86706..3ebcb23 100644 --- a/dist/commonjs/aurelia-templating-resources.js +++ b/dist/commonjs/aurelia-templating-resources.js @@ -1026,6 +1026,7 @@ var AbstractRepeater = (function () { return AbstractRepeater; }()); +var matcherExtractionMarker = '__marker_extracted__'; var Repeat = (function (_super) { __extends(Repeat, _super); function Repeat(viewFactory, instruction, viewSlot, viewResources, observerLocator, strategyLocator) { @@ -1053,7 +1054,11 @@ var Repeat = (function (_super) { }; Repeat.prototype.bind = function (bindingContext, overrideContext) { this.scope = { bindingContext: bindingContext, overrideContext: overrideContext }; - this.matcherBinding = this._captureAndRemoveMatcherBinding(); + var instruction = this.instruction; + if (!(matcherExtractionMarker in instruction)) { + instruction[matcherExtractionMarker] = this._captureAndRemoveMatcherBinding(); + } + this.matcherBinding = instruction[matcherExtractionMarker]; this.itemsChanged(); }; Repeat.prototype.unbind = function () { diff --git a/dist/commonjs/aurelia-templating-resources.js.map b/dist/commonjs/aurelia-templating-resources.js.map index e5bbcb3..c37f045 100644 --- a/dist/commonjs/aurelia-templating-resources.js.map +++ b/dist/commonjs/aurelia-templating-resources.js.map @@ -1 +1 @@ -{"version":3,"file":"aurelia-templating-resources.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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elia-templating-resources.js +++ b/dist/es2015/aurelia-templating-resources.js @@ -975,6 +975,7 @@ class AbstractRepeater { } var Repeat_1; +const matcherExtractionMarker = '__marker_extracted__'; let Repeat = Repeat_1 = class Repeat extends AbstractRepeater { constructor(viewFactory, instruction, viewSlot, viewResources, observerLocator, strategyLocator) { super({ @@ -999,7 +1000,11 @@ let Repeat = Repeat_1 = class Repeat extends AbstractRepeater { } bind(bindingContext, overrideContext) { this.scope = { bindingContext, overrideContext }; - this.matcherBinding = this._captureAndRemoveMatcherBinding(); + const instruction = this.instruction; + if (!(matcherExtractionMarker in instruction)) { + instruction[matcherExtractionMarker] = this._captureAndRemoveMatcherBinding(); + } + this.matcherBinding = instruction[matcherExtractionMarker]; this.itemsChanged(); } unbind() { diff --git a/dist/es2015/aurelia-templating-resources.js.map b/dist/es2015/aurelia-templating-resources.js.map index 24f74ed..7d869ee 100644 --- a/dist/es2015/aurelia-templating-resources.js.map +++ b/dist/es2015/aurelia-templating-resources.js.map @@ -1 +1 @@ -{"version":3,"file":"aurelia-templating-resources.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/es2017/aurelia-templating-resources.js b/dist/es2017/aurelia-templating-resources.js index 43e5458..a673a2b 100644 --- a/dist/es2017/aurelia-templating-resources.js +++ b/dist/es2017/aurelia-templating-resources.js @@ -975,6 +975,7 @@ class AbstractRepeater { } var Repeat_1; +const matcherExtractionMarker = '__marker_extracted__'; let Repeat = Repeat_1 = class Repeat extends AbstractRepeater { constructor(viewFactory, instruction, viewSlot, viewResources, observerLocator, strategyLocator) { super({ @@ -999,7 +1000,11 @@ let Repeat = Repeat_1 = class Repeat extends AbstractRepeater { } bind(bindingContext, overrideContext) { this.scope = { bindingContext, overrideContext }; - this.matcherBinding = this._captureAndRemoveMatcherBinding(); + const instruction = this.instruction; + if (!(matcherExtractionMarker in instruction)) { + instruction[matcherExtractionMarker] = this._captureAndRemoveMatcherBinding(); + } + this.matcherBinding = instruction[matcherExtractionMarker]; this.itemsChanged(); } unbind() { diff --git a/dist/es2017/aurelia-templating-resources.js.map b/dist/es2017/aurelia-templating-resources.js.map index 24f74ed..7d869ee 100644 --- a/dist/es2017/aurelia-templating-resources.js.map +++ b/dist/es2017/aurelia-templating-resources.js.map @@ -1 +1 @@ -{"version":3,"file":"aurelia-templating-resources.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/native-modules/aurelia-templating-resources.js b/dist/native-modules/aurelia-templating-resources.js index 1ec4077..97965fc 100644 --- a/dist/native-modules/aurelia-templating-resources.js +++ b/dist/native-modules/aurelia-templating-resources.js @@ -1022,6 +1022,7 @@ var AbstractRepeater = (function () { return AbstractRepeater; }()); +var matcherExtractionMarker = '__marker_extracted__'; var Repeat = (function (_super) { __extends(Repeat, _super); function Repeat(viewFactory, instruction, viewSlot, viewResources, observerLocator, strategyLocator) { @@ -1049,7 +1050,11 @@ var Repeat = (function (_super) { }; Repeat.prototype.bind = function (bindingContext, overrideContext) { this.scope = { bindingContext: bindingContext, overrideContext: overrideContext }; - this.matcherBinding = this._captureAndRemoveMatcherBinding(); + var instruction = this.instruction; + if (!(matcherExtractionMarker in instruction)) { + instruction[matcherExtractionMarker] = this._captureAndRemoveMatcherBinding(); + } + this.matcherBinding = instruction[matcherExtractionMarker]; this.itemsChanged(); }; Repeat.prototype.unbind = function () { diff --git a/dist/native-modules/aurelia-templating-resources.js.map b/dist/native-modules/aurelia-templating-resources.js.map index 575cb98..6f82ee6 100644 --- a/dist/native-modules/aurelia-templating-resources.js.map +++ b/dist/native-modules/aurelia-templating-resources.js.map @@ -1 +1 @@ -{"version":3,"file":"aurelia-templating-resources.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/system/aurelia-templating-resources.js b/dist/system/aurelia-templating-resources.js index 290b3fe..fca3fe6 100644 --- a/dist/system/aurelia-templating-resources.js +++ b/dist/system/aurelia-templating-resources.js @@ -1076,6 +1076,7 @@ System.register(['aurelia-dependency-injection', 'aurelia-pal', 'aurelia-task-qu return AbstractRepeater; }())); + var matcherExtractionMarker = '__marker_extracted__'; var Repeat = exports('Repeat', (function (_super) { __extends(Repeat, _super); function Repeat(viewFactory, instruction, viewSlot, viewResources, observerLocator, strategyLocator) { @@ -1103,7 +1104,11 @@ System.register(['aurelia-dependency-injection', 'aurelia-pal', 'aurelia-task-qu }; Repeat.prototype.bind = function (bindingContext, overrideContext) { this.scope = { bindingContext: bindingContext, overrideContext: overrideContext }; - this.matcherBinding = this._captureAndRemoveMatcherBinding(); + var instruction = this.instruction; + if (!(matcherExtractionMarker in instruction)) { + instruction[matcherExtractionMarker] = this._captureAndRemoveMatcherBinding(); + } + this.matcherBinding = instruction[matcherExtractionMarker]; this.itemsChanged(); }; Repeat.prototype.unbind = function () { diff --git a/dist/system/aurelia-templating-resources.js.map b/dist/system/aurelia-templating-resources.js.map index caf833b..d562e84 100644 --- a/dist/system/aurelia-templating-resources.js.map +++ b/dist/system/aurelia-templating-resources.js.map @@ -1 +1 @@ -{"version":3,"file":"aurelia-templating-resources.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 8be6c2e..199bab4 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,13 @@ +## [1.13.1](https://github.com/aurelia/templating-resources/compare/1.13.0...1.13.1) (2020-09-14) + + +### Bug Fixes + +* **repeat:** add failing test to vereify multiple matcher extraction ([9795be6](https://github.com/aurelia/templating-resources/commit/9795be6)) +* **repeat:** ensure matcher extraction once ([0812425](https://github.com/aurelia/templating-resources/commit/0812425)) + + + # [1.13.0](https://github.com/aurelia/templating-resources/compare/1.12.0...1.13.0) (2020-01-28) diff --git a/package-lock.json b/package-lock.json index 66fe7b1..bbb5e99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating-resources", - "version": "1.12.0", + "version": "1.13.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 130fe9b..720c9bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating-resources", - "version": "1.13.0", + "version": "1.13.1", "description": "A standard set of behaviors, converters and other resources for use with the Aurelia templating library.", "keywords": [ "aurelia",