Skip to content

Commit

Permalink
chore(release): prepare release 1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bigopon committed Nov 20, 2023
1 parent fc27725 commit 605a232
Show file tree
Hide file tree
Showing 19 changed files with 50 additions and 60 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating-resources",
"version": "1.14.3",
"version": "1.15.0",
"description": "A standard set of behaviors, converters and other resources for use with the Aurelia templating library.",
"keywords": [
"aurelia",
Expand Down
8 changes: 4 additions & 4 deletions dist/amd/aurelia-templating-resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/amd/aurelia-templating-resources.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/commonjs/aurelia-templating-resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/aurelia-templating-resources.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/es2015/aurelia-templating-resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es2015/aurelia-templating-resources.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/es2017/aurelia-templating-resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es2017/aurelia-templating-resources.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/native-modules/aurelia-templating-resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/native-modules/aurelia-templating-resources.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/system/aurelia-templating-resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/system/aurelia-templating-resources.js.map

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion dist/types/aurelia-templating-resources.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ export declare class RepeatStrategyLocator {
*/
export declare class NullRepeatStrategy {
instanceChanged(repeat: any, items: any): void;
getCollectionObserver(observerLocator: any, items: any): void;
getCollectionObserver(observerLocator: any, items: any): any;
}
/**
* A strategy for repeating a template over an array.
Expand Down Expand Up @@ -644,4 +644,8 @@ export declare function updateOneTimeBinding(binding: any): void;
export declare function viewsRequireLifecycle(viewFactory: any): any;
export declare function configure(config: any): void;

export {
ActivationStrategy as ComposeActivationStrategy,
};

export {};
7 changes: 7 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.15.0](https://github.com/aurelia/templating-resources/compare/1.14.3...1.15.0) (2023-11-20)


### Features

* **compose:** export ComposeActivationStrategy ([#429](https://github.com/aurelia/templating-resources/issues/429)) ([fc27725](https://github.com/aurelia/templating-resources/commit/fc2772509da4a413ad48ddca2ad06eb4cf06d6e6)), closes [#427](https://github.com/aurelia/templating-resources/issues/427)

### [1.14.3](https://github.com/aurelia/templating-resources/compare/1.14.2...1.14.3) (2022-04-19)


Expand Down
2 changes: 1 addition & 1 deletion doc/api.json

Large diffs are not rendered by default.

43 changes: 11 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating-resources",
"version": "1.14.3",
"version": "1.15.0",
"description": "A standard set of behaviors, converters and other resources for use with the Aurelia templating library.",
"keywords": [
"aurelia",
Expand Down Expand Up @@ -64,7 +64,7 @@
"aurelia-bootstrapper": "^2.3.3",
"aurelia-framework": "^1.4.1",
"aurelia-testing": "^1.0.0",
"aurelia-webpack-plugin": "^5.0.3",
"aurelia-webpack-plugin": "^5.0.6",
"dts-bundle-generator": "^6.5.0",
"eslint": "^8.12.0",
"html-loader": "^0.5.5",
Expand Down
8 changes: 4 additions & 4 deletions test/throttle-binding-behavior.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('ThrottleBindingBehavior', () => {
lookupFunctions = { bindingBehaviors: name => bindingBehaviors[name] };
});

it('should throttle target updates', done => {
fit('should throttle target updates', done => {
let source = { foo: 0 };
let scope = createScopeForTest(source);
let target = document.createElement('input');
Expand All @@ -31,7 +31,7 @@ describe('ThrottleBindingBehavior', () => {
let binding = bindingExpression.createBinding(target);
let originalMethod = binding.updateTarget;

function exerciseBehavior(callback) {
function exerciseBehavior(callback: Function) {
// overrides updateTarget
binding.bind(scope);
expect(binding.updateTarget === originalMethod).not.toBe(true);
Expand All @@ -50,7 +50,7 @@ describe('ThrottleBindingBehavior', () => {
// the target was updated... was it throttled?
let elapsed = new Date().getTime() - lastTargetUpdate;
expect(elapsed).toBeGreaterThan(delay - 30);
expect(elapsed).toBeLessThan(delay + 30);
expect(elapsed).toBeLessThanOrEqual(delay + 30 + 2);
// increment
lastTargetUpdate = new Date().getTime();
lastTargetValue = target.value;
Expand All @@ -63,7 +63,7 @@ describe('ThrottleBindingBehavior', () => {
clearInterval(updateSourceInterval);
binding.unbind();
expect(targetUpdates).toBeGreaterThan(Math.floor(testDuration / delay) - 1);
expect(targetUpdates).toBeLessThan(Math.floor(testDuration / delay) + 1);
expect(targetUpdates).toBeLessThanOrEqual(Math.floor(testDuration / delay) + 2);
expect(binding.updateTarget === originalMethod).toBe(true);
expect(observer.hasSubscribers()).toBe(false);
callback();
Expand Down

0 comments on commit 605a232

Please sign in to comment.