@ember-template-lint/todo-utils
Advanced tools
Comparing version 10.0.0-beta.4 to 10.0.0-beta.5
@@ -0,1 +1,10 @@ | ||
## v10.0.0-beta.5 (2021-08-12) | ||
#### :boom: Breaking Change | ||
* [#279](https://github.com/ember-template-lint/ember-template-lint-todo-utils/pull/279) Change return value of writeTodos to object ([@scalvert](https://github.com/scalvert)) | ||
#### Committers: 1 | ||
- Steve Calvert ([@scalvert](https://github.com/scalvert)) | ||
## v10.0.0-beta.4 (2021-08-11) | ||
@@ -2,0 +11,0 @@ |
@@ -96,3 +96,8 @@ "use strict"; | ||
applyTodoChanges(todoStorageDir, add, remove); | ||
return [add.size, remove.size, stable.size, expired.size]; | ||
return { | ||
addedCount: add.size, | ||
removedCount: remove.size, | ||
stableCount: stable.size, | ||
expiredCount: expired.size, | ||
}; | ||
} | ||
@@ -99,0 +104,0 @@ exports.writeTodos = writeTodos; |
@@ -87,3 +87,8 @@ import { PackageJson } from 'type-fest'; | ||
}; | ||
export declare type TodoBatchCounts = [add: number, remove: number, stable: number, expired: number]; | ||
export declare type TodoBatchCounts = { | ||
addedCount: number; | ||
removedCount: number; | ||
stableCount: number; | ||
expiredCount: number; | ||
}; | ||
export declare type DaysToDecay = { | ||
@@ -90,0 +95,0 @@ warn?: number; |
{ | ||
"name": "@ember-template-lint/todo-utils", | ||
"version": "10.0.0-beta.4", | ||
"version": "10.0.0-beta.5", | ||
"repository": "https://github.com/ember-template-lint/ember-template-lint-todo-utils.git", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112924
1224