date-vir 7.0.0 → 7.0.1

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.
@@ -116,8 +116,7 @@ export declare const datePositionCalculationShape: import("object-shape-tester")
116
116
  */
117
117
  export type DatePositionCalculation = typeof datePositionCalculationShape.runtimeType;
118
118
  /**
119
- * Calculate the position of the given date's day within the given date unit. Only date units larger
120
- * than a day are allowed.
119
+ * Calculate the position of the given date's day within the given date unit.
121
120
  *
122
121
  * @category Calculation
123
122
  * @example
@@ -128,8 +128,7 @@ export const datePositionCalculationShape = defineShape(or({
128
128
  in: or(exact(DateUnit.Year), exact(DateUnit.Quarter), exact(DateUnit.Month), exact(DateUnit.Week), exact(DateUnit.Day), exact(DateUnit.Hour), exact(DateUnit.Minute), exact(DateUnit.Second)),
129
129
  }));
130
130
  /**
131
- * Calculate the position of the given date's day within the given date unit. Only date units larger
132
- * than a day are allowed.
131
+ * Calculate the position of the given date's day within the given date unit.
133
132
  *
134
133
  * @category Calculation
135
134
  * @example
@@ -1,4 +1,3 @@
1
- /* eslint-disable sonarjs/no-redeclare */
2
1
  import { Settings } from 'luxon';
3
2
  import { allTimezoneNames } from './timezone-names.js';
4
3
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "date-vir",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "Easy and explicit dates and times.",
5
5
  "keywords": [
6
6
  "date",
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "@augment-vir/assert": "^30.6.2",
38
38
  "@augment-vir/common": "^30.6.2",
39
- "@date-vir/duration": "^7.0.0",
39
+ "@date-vir/duration": "^7.0.1",
40
40
  "@types/luxon": "^3.4.2",
41
41
  "luxon": "^3.5.0",
42
42
  "object-shape-tester": "^3.1.0",