@leismore/lmos-nodejs-primitives 1.2.0 → 1.2.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Leismore
3
+ Copyright (c) 2026 Leismore
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -27,10 +27,16 @@ import {
27
27
 
28
28
  ## License
29
29
 
30
- © [Leismore](https://www.leismore.co) 2025
30
+ © [Leismore](https://www.leismore.co) 2026
31
31
 
32
32
  [MIT License](https://choosealicense.com/licenses/mit)
33
33
 
34
+ ## Donation
35
+
36
+ * [Leismore](https://github.com/sponsors/leismore) on GitHub
37
+
38
+ Help us to pay our bills, so we can focus on developing and maintaining this project.
39
+
34
40
  ## Authors
35
41
 
36
42
  * [Kyle Chine / Kai Qin / 秦凯](https://kyle.chine.leismore.org) since 03 Aug 2025
package/dist/src/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Define examples of each primitive value in JavaScript
3
3
  */
4
- import { EOL } from 'os';
4
+ import { EOL } from 'node:os';
5
5
  // Null
6
6
  const NULL = null;
7
7
  // Undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leismore/lmos-nodejs-primitives",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Examples of all primitive values in JavaScript. Defined for writing unit test.",
5
5
  "keywords": [
6
6
  "JavaScript",
@@ -40,8 +40,11 @@
40
40
  "build": "tsc"
41
41
  },
42
42
  "devDependencies": {
43
- "@types/node": "^22.17.0",
44
- "tsx": "^4.20.3",
45
- "typescript": "^5.9.2"
43
+ "@types/node": "^24.13.2",
44
+ "tsx": "^4.22.4",
45
+ "typescript": "^6.0.3"
46
+ },
47
+ "allowScripts": {
48
+ "esbuild@0.28.1": true
46
49
  }
47
50
  }
package/tsconfig.json CHANGED
@@ -1,19 +1,16 @@
1
1
  {
2
2
  "compilerOptions":
3
3
  {
4
- "lib": ["ES2023"],
5
- "target": "ES2023",
4
+ "types": ["node"],
5
+ "lib": ["ES2024"],
6
+ "target": "ES2024",
6
7
  "module": "nodenext",
7
8
  "moduleResolution": "nodenext",
8
9
  "strict": true,
9
10
  "resolveJsonModule": true,
10
11
  "declaration": true,
11
12
  "allowJs": false,
12
- "outDir": "dist",
13
- "paths": {
14
- "@lib/*": ["./src/lib/*"],
15
- "@test/lib/*": ["./test/lib/*"]
16
- }
13
+ "outDir": "dist"
17
14
  },
18
15
  "include": ["src/**/*", "test/**/*"]
19
16
  }