@nymphjs/guid 1.0.0-beta.117 → 1.0.0-beta.119

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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-beta.119](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.118...v1.0.0-beta.119) (2026-08-25)
7
+
8
+ **Note:** Version bump only for package @nymphjs/guid
9
+
10
+ # [1.0.0-beta.118](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.117...v1.0.0-beta.118) (2026-08-24)
11
+
12
+ ### Features
13
+
14
+ - update packages and migrate to ts7 ([c1b8eb5](https://forge.sciactive.com/sciactive/nymphjs/commits/c1b8eb5f7dd68436759f8d7b94bc9622511e71fd))
15
+
6
16
  # [1.0.0-beta.117](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.116...v1.0.0-beta.117) (2026-04-21)
7
17
 
8
18
  **Note:** Version bump only for package @nymphjs/guid
package/jest.config.js CHANGED
@@ -1,12 +1,29 @@
1
- import { createDefaultEsmPreset } from 'ts-jest';
2
-
3
- const presetConfig = createDefaultEsmPreset();
4
-
5
- /** @type {import('ts-jest').JestConfigWithTsJest} */
6
1
  const jestConfig = {
7
- ...presetConfig,
8
- testEnvironment: 'node',
9
- rootDir: 'src/',
2
+ extensionsToTreatAsEsm: ['.ts', '.tsx'],
3
+ testMatch: [
4
+ '<rootDir>/src/**/__tests__/**/*.{js,ts,jsx,tsx,mjs,mts}',
5
+ '<rootDir>/src/**/?(*.)(spec|test).{js,ts,jsx,tsx,mjs,mts}',
6
+ ],
7
+ transform: {
8
+ '^.+\\.(ts|tsx|mts)$': [
9
+ '@swc/jest',
10
+ {
11
+ jsc: {
12
+ parser: {
13
+ syntax: 'typescript',
14
+ tsx: true,
15
+ decorators: true,
16
+ },
17
+ target: 'es2023',
18
+ },
19
+ module: {
20
+ type: 'commonjs',
21
+ },
22
+ },
23
+ ],
24
+ },
25
+ transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$'],
26
+ moduleDirectories: ['node_modules', 'src'],
10
27
  moduleNameMapper: {
11
28
  '^(\\.|\\.\\.)\\/(.+)\\.js': '$1/$2',
12
29
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nymphjs/guid",
3
- "version": "1.0.0-beta.117",
3
+ "version": "1.0.0-beta.119",
4
4
  "description": "Nymph.js - GUID and Unique Code Generators",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -16,8 +16,9 @@
16
16
  "build": "tsc",
17
17
  "watch": "tsc --watch",
18
18
  "prepublish": "npm run clean && npm run build",
19
- "test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest",
20
- "test:watch": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --watch"
19
+ "typecheck": "npx tsc --noEmit",
20
+ "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
21
+ "test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests --watch"
21
22
  },
22
23
  "publishConfig": {
23
24
  "access": "public"
@@ -35,21 +36,24 @@
35
36
  "license": "Apache-2.0",
36
37
  "dependencies": {
37
38
  "luxon": "^3.7.2",
38
- "nanoid": "^5.1.6",
39
+ "nanoid": "^6.0.1",
39
40
  "nanoid-dictionary": "^5.0.0",
40
41
  "sha1": "^1.1.1"
41
42
  },
42
43
  "devDependencies": {
44
+ "@swc/core": "^1.16.1",
45
+ "@swc/jest": "^0.2.39",
43
46
  "@tsconfig/recommended": "^1.0.13",
44
47
  "@types/jest": "^30.0.0",
45
- "@types/luxon": "^3.7.1",
48
+ "@types/luxon": "^3.7.5",
46
49
  "@types/nanoid-dictionary": "^4.2.3",
50
+ "@types/node": "^26.2.0",
47
51
  "@types/sha1": "^1.1.5",
48
- "jest": "^30.2.0",
49
- "ts-jest": "^29.4.6",
52
+ "cross-env": "^10.1.0",
53
+ "jest": "^30.4.2",
50
54
  "ts-node": "^10.9.2",
51
55
  "tslib": "^2.8.1",
52
- "typescript": "^5.9.3"
56
+ "typescript": "^7.0.2"
53
57
  },
54
- "gitHead": "6b1c6a672633ab763e00027cdf3768112afb823b"
58
+ "gitHead": "154ac28914c83b9bfe57be0797726a689c5d8ee4"
55
59
  }
package/tsconfig.json CHANGED
@@ -2,10 +2,11 @@
2
2
  "extends": "@tsconfig/recommended/tsconfig.json",
3
3
 
4
4
  "compilerOptions": {
5
- "module": "ES2022",
6
- "moduleResolution": "node",
7
- "lib": ["ES2022"],
8
- "target": "ES2022",
5
+ "types": ["node", "jest"],
6
+ "module": "nodenext",
7
+ "moduleResolution": "nodenext",
8
+ "lib": ["es2023"],
9
+ "target": "es2023",
9
10
  "noImplicitAny": true,
10
11
  "removeComments": false,
11
12
  "sourceMap": true,