@valkyriestudios/utils 12.43.0 → 12.44.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.
package/cjs/hash/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.guid = exports.fnv1A = void 0;
3
+ exports.guid = exports.fnv1A = exports.djb2 = void 0;
4
+ var djb2_1 = require("./djb2");
5
+ Object.defineProperty(exports, "djb2", { enumerable: true, get: function () { return djb2_1.djb2; } });
4
6
  var fnv1A_1 = require("./fnv1A");
5
7
  Object.defineProperty(exports, "fnv1A", { enumerable: true, get: function () { return fnv1A_1.fnv1A; } });
6
8
  var guid_1 = require("./guid");
package/esm/hash/index.js CHANGED
@@ -1,2 +1,3 @@
1
+ export { djb2 } from './djb2';
1
2
  export { fnv1A } from './fnv1A';
2
3
  export { guid } from './guid';
package/hash/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ export { djb2 } from './djb2';
1
2
  export { fnv1A } from './fnv1A';
2
3
  export { guid } from './guid';
package/index.d.ts CHANGED
@@ -709,6 +709,7 @@ declare module "hash/guid" {
709
709
  export { guid, guid as default };
710
710
  }
711
711
  declare module "hash/index" {
712
+ export { djb2 } from "hash/djb2";
712
713
  export { fnv1A } from "hash/fnv1A";
713
714
  export { guid } from "hash/guid";
714
715
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valkyriestudios/utils",
3
- "version": "12.43.0",
3
+ "version": "12.44.0",
4
4
  "description": "A collection of single-function utilities for common tasks",
5
5
  "author": {
6
6
  "name": "Peter Vermeulen",
@@ -307,6 +307,11 @@
307
307
  "import": "./esm/hash/index.js",
308
308
  "require": "./cjs/hash/index.js"
309
309
  },
310
+ "./hash/djb2": {
311
+ "types": "./hash/djb2.d.ts",
312
+ "import": "./esm/hash/djb2.js",
313
+ "require": "./cjs/hash/djb2.js"
314
+ },
310
315
  "./hash/fnv1A": {
311
316
  "types": "./hash/fnv1A.d.ts",
312
317
  "import": "./esm/hash/fnv1A.js",