@nymphjs/guid 1.0.0-beta.112 → 1.0.0-beta.114

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.114](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.113...v1.0.0-beta.114) (2026-04-06)
7
+
8
+ ### Bug Fixes
9
+
10
+ - import from nanoid ([91f56f2](https://forge.sciactive.com/sciactive/nymphjs/commits/91f56f2825f5889033f2c7fef9953e070c950625))
11
+
12
+ # [1.0.0-beta.113](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.112...v1.0.0-beta.113) (2026-04-03)
13
+
14
+ **Note:** Version bump only for package @nymphjs/guid
15
+
6
16
  # [1.0.0-beta.112](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.111...v1.0.0-beta.112) (2026-04-03)
7
17
 
8
18
  **Note:** Version bump only for package @nymphjs/guid
package/dist/index.js CHANGED
@@ -1,8 +1,7 @@
1
1
  import { nanoid, customAlphabet } from 'nanoid';
2
2
  import { DateTime } from 'luxon';
3
3
  import sha1 from 'sha1';
4
- import dictionary from 'nanoid-dictionary';
5
- const { nolookalikesSafe } = dictionary;
4
+ import { nolookalikesSafe } from 'nanoid-dictionary';
6
5
  const guidSuffix = customAlphabet('0123456789abcdef', 20);
7
6
  export function guid() {
8
7
  return `${sha1(`${DateTime.now().weekYear}${DateTime.now().weekNumber}`).slice(0, 4)}${guidSuffix()}`;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE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C;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAC3C,sCAAsC,EACtC,EAAE,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;AAEhE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nymphjs/guid",
3
- "version": "1.0.0-beta.112",
3
+ "version": "1.0.0-beta.114",
4
4
  "description": "Nymph.js - GUID and Unique Code Generators",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,11 +22,13 @@
22
22
  "publishConfig": {
23
23
  "access": "public"
24
24
  },
25
+ "homepage": "https://nymph.io",
25
26
  "repository": {
26
27
  "type": "git",
27
- "url": "git+https://forge.sciactive.com/sciactive/nymphjs.git"
28
+ "url": "https://forge.sciactive.com/sciactive/nymphjs.git",
29
+ "directory": "packages/guid"
28
30
  },
29
- "author": "Hunter Perrin <hperrin@gmail.com>",
31
+ "author": "Hunter Perrin <hperrin@port87.com>",
30
32
  "bugs": {
31
33
  "url": "https://forge.sciactive.com/sciactive/nymphjs/issues"
32
34
  },
@@ -49,5 +51,5 @@
49
51
  "tslib": "^2.8.1",
50
52
  "typescript": "^5.9.3"
51
53
  },
52
- "gitHead": "20157c196abcc9dcc70c1dff207cbea35a32f69f"
54
+ "gitHead": "2028e1d38aee7925525b0d84b0724bb0affab0ca"
53
55
  }
package/src/index.ts CHANGED
@@ -1,9 +1,7 @@
1
1
  import { nanoid, customAlphabet } from 'nanoid';
2
2
  import { DateTime } from 'luxon';
3
3
  import sha1 from 'sha1';
4
- import dictionary from 'nanoid-dictionary';
5
-
6
- const { nolookalikesSafe } = dictionary;
4
+ import { nolookalikesSafe } from 'nanoid-dictionary';
7
5
 
8
6
  const guidSuffix = customAlphabet('0123456789abcdef', 20);
9
7
  export function guid() {