@markuplint/types 3.6.0 → 3.7.0

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.
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
2
  /**
4
3
  * This file was automatically generated by json-schema-to-typescript.
5
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
@@ -1,23 +1,3 @@
1
1
  import type { TokenEachCheck } from '../../token/token-collection';
2
- export declare const datetimeTokenCheck: Record<
3
- | 'year'
4
- | 'month'
5
- | 'date'
6
- | 'hour'
7
- | 'minute'
8
- | 'second'
9
- | 'secondFractionalPart'
10
- | 'week'
11
- | 'hyphen'
12
- | 'colon'
13
- | 'extra'
14
- | 'colonOrEnd'
15
- | 'decimalPointOrEnd'
16
- | 'localDateTimeSeparator'
17
- | 'normalizedlocalDateTimeSeparator'
18
- | 'plusOrMinusSign'
19
- | 'weekSign',
20
- TokenEachCheck
21
- > &
22
- Record<'_year' | '_month', number | null>;
2
+ export declare const datetimeTokenCheck: Record<'year' | 'month' | 'date' | 'hour' | 'minute' | 'second' | 'secondFractionalPart' | 'week' | 'hyphen' | 'colon' | 'extra' | 'colonOrEnd' | 'decimalPointOrEnd' | 'localDateTimeSeparator' | 'normalizedlocalDateTimeSeparator' | 'plusOrMinusSign' | 'weekSign', TokenEachCheck> & Record<'_year' | '_month', number | null>;
23
3
  export declare function getMaxWeekNum(year: number): number;
@@ -4,4 +4,4 @@ import type { CustomSyntaxChecker } from '../../types';
4
4
  * @see https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#time-zones
5
5
  */
6
6
  export declare const checkTimeZoneOffsetString: CustomSyntaxChecker;
7
- export declare function parseTimeZone(zone: string | Readonly<Token>): import('../../types').Result;
7
+ export declare function parseTimeZone(zone: string | Readonly<Token>): import("../../types").Result;
@@ -4,8 +4,8 @@ import type { CustomSyntaxChecker } from '../types';
4
4
  * @see https://mimesniff.spec.whatwg.org/#valid-mime-type
5
5
  */
6
6
  export declare const checkMIMEType: CustomSyntaxChecker<{
7
- /**
8
- * @see https://mimesniff.spec.whatwg.org/#valid-mime-type-with-no-parameters
9
- */
10
- withoutParameters?: boolean;
7
+ /**
8
+ * @see https://mimesniff.spec.whatwg.org/#valid-mime-type-with-no-parameters
9
+ */
10
+ withoutParameters?: boolean;
11
11
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/types",
3
- "version": "3.6.0",
3
+ "version": "3.7.0",
4
4
  "description": "Type declaration and value checker",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -28,8 +28,8 @@
28
28
  "css-tree": "^2.3.1",
29
29
  "debug": "^4.3.4",
30
30
  "leven": "3",
31
- "type-fest": "^3.8.0",
31
+ "type-fest": "^3.10.0",
32
32
  "whatwg-mimetype": "^3.0.0"
33
33
  },
34
- "gitHead": "adc6e432cccba7cfad0dc8bf9f92e5aaf1107359"
34
+ "gitHead": "af370797bfc887e5a5a2ff57fbaa8392ac98ead2"
35
35
  }