@cldmv/fix-headers 2.1.1 → 2.1.2

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.
package/dist/index.cjs CHANGED
@@ -1,14 +1,16 @@
1
1
  /**
2
+ *
2
3
  * @Project: @cldmv/fix-headers
3
4
  * @Filename: /src/cjs/index.cjs
4
- * @Date: 2026-09-28 06:56:09 -07:00 (1790603769)
5
+ * @Date: 2026-09-28T06:56:09-07:00 (1790603769)
5
6
  * @Author: Nate Corcoran <CLDMV>
6
7
  * @Email: <Shinrai@users.noreply.github.com>
7
8
  * -----
8
9
  * @Last modified by: Nate Corcoran <CLDMV> (Shinrai@users.noreply.github.com)
9
- * @Last modified time: 2026-09-28 06:56:09 -07:00 (1790603769)
10
+ * @Last modified time: 2026-10-02T12:28:11-07:00 (1790969291)
10
11
  * -----
11
- * @Copyright: Copyright (c) 2026-2026 Catalyzed Motivation Inc. All rights reserved.
12
+ * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
13
+ *
12
14
  */
13
15
 
14
16
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cldmv/fix-headers",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Multi-language project header normalizer with auto-detection and override support.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -43,7 +43,8 @@
43
43
  "lint:fix": "eslint --config .configs/eslint.config.mjs . --fix",
44
44
  "format": "prettier --config .configs/.prettierrc --write .",
45
45
  "format:check": "prettier --config .configs/.prettierrc --check .",
46
- "prepare": "node -e \"import('./.githooks/install.mjs').catch(()=>{})\""
46
+ "prepare": "node -e \"import('./.githooks/install.mjs').catch(()=>{})\"",
47
+ "fix:headers": "node ./src/cli.mjs --config .configs/fix-headers.json"
47
48
  },
48
49
  "keywords": [
49
50
  "headers",
@@ -84,6 +85,7 @@
84
85
  "license": "Apache-2.0",
85
86
  "sideEffects": false,
86
87
  "devDependencies": {
88
+ "@cldmv/configs": "^1.2.0",
87
89
  "@cldmv/eslint-plugin-jsonv": "^1.0.10",
88
90
  "@cldmv/jsonv": "^1.0.9",
89
91
  "@cldmv/prettier-plugin-jsonv": "^1.0.6",
@@ -18,6 +18,7 @@ export function parseHeaderFields(headerText: string): HeaderFields;
18
18
  */
19
19
  export function compareHeaderFields(previousHeader: string | null, nextHeader: string): HeaderFieldIssue[];
20
20
  /**
21
+ *
21
22
  * @Project: @cldmv/fix-headers
22
23
  * @Filename: /src/header/fields.mjs
23
24
  * @Date: 2026-09-28T09:14:18-07:00 (1790612058)
@@ -25,9 +26,10 @@ export function compareHeaderFields(previousHeader: string | null, nextHeader: s
25
26
  * @Email: <Shinrai@users.noreply.github.com>
26
27
  * -----
27
28
  * @Last modified by: Nate Corcoran <CLDMV> (Shinrai@users.noreply.github.com)
28
- * @Last modified time: 2026-09-28T09:14:18-07:00 (1790612058)
29
+ * @Last modified time: 2026-10-02T12:28:16-07:00 (1790969296)
29
30
  * -----
30
- * @Copyright: Copyright (c) 2026-2026 Catalyzed Motivation Inc. All rights reserved.
31
+ * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
32
+ *
31
33
  */
32
34
  /**
33
35
  * @fileoverview Parses the individual fields back out of a rendered header block and
@@ -1,4 +1,5 @@
1
1
  /**
2
+ *
2
3
  * @Project: @cldmv/fix-headers
3
4
  * @Filename: /src/utils/diff.mjs
4
5
  * @Date: 2026-09-28T09:14:18-07:00 (1790612058)
@@ -6,9 +7,10 @@
6
7
  * @Email: <Shinrai@users.noreply.github.com>
7
8
  * -----
8
9
  * @Last modified by: Nate Corcoran <CLDMV> (Shinrai@users.noreply.github.com)
9
- * @Last modified time: 2026-09-28T09:14:18-07:00 (1790612058)
10
+ * @Last modified time: 2026-10-02T12:28:16-07:00 (1790969296)
10
11
  * -----
11
- * @Copyright: Copyright (c) 2026-2026 Catalyzed Motivation Inc. All rights reserved.
12
+ * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
13
+ *
12
14
  */
13
15
  /**
14
16
  * @fileoverview Minimal line-level unified diff for header blocks. Header blocks are a
@@ -1,4 +1,5 @@
1
1
  /**
2
+ *
2
3
  * @Project: @cldmv/fix-headers
3
4
  * @Filename: /src/utils/time.mjs
4
5
  * @Date: 2026-03-01T17:59:32-08:00 (1772416772)
@@ -6,9 +7,10 @@
6
7
  * @Email: <Shinrai@users.noreply.github.com>
7
8
  * -----
8
9
  * @Last modified by: Nate Corcoran <CLDMV> (Shinrai@users.noreply.github.com)
9
- * @Last modified time: 2026-03-01T17:59:32-08:00 (1772416772)
10
+ * @Last modified time: 2026-10-02T12:28:16-07:00 (1790969296)
10
11
  * -----
11
- * @Copyright: Copyright (c) 2026-2026 Catalyzed Motivation Inc. All rights reserved.
12
+ * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
13
+ *
12
14
  */
13
15
  /**
14
16
  * @fileoverview Date/time helpers used for header timestamp formatting.