@thednp/shorty 2.0.13 → 2.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thednp/shorty",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "TypeScript shorties for the web",
5
5
  "author": "thednp",
6
6
  "homepage": "https://github.com/thednp/shorty",
@@ -37,19 +37,18 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^25.5.0",
40
- "@vitest/browser": "^4.1.0",
41
- "@vitest/browser-playwright": "^4.1.0",
42
- "@vitest/coverage-istanbul": "^4.1.0",
43
- "@vitest/ui": "^4.1.0",
40
+ "@vitest/browser": "^4.1.1",
41
+ "@vitest/browser-playwright": "^4.1.1",
42
+ "@vitest/coverage-istanbul": "^4.1.1",
43
+ "@vitest/ui": "^4.1.1",
44
44
  "playwright": "^1.58.2",
45
- "tsdown": "^0.21.4",
46
- "typescript": "^5.9.3",
47
- "vite": "^8.0.0",
45
+ "tsdown": "^0.21.5",
46
+ "typescript": "^6.0.2",
47
+ "vite": "^8.0.3",
48
48
  "vite-plugin-dts": "^4.5.4",
49
- "vite-plugin-strip-comments": "^0.0.9",
50
- "vitest": "^4.1.0"
49
+ "vite-plugin-strip-comments": "^0.0.10",
50
+ "vitest": "^4.1.1"
51
51
  },
52
- "packageManager": "pnpm@8.6.12",
53
52
  "engines": {
54
53
  "node": ">=16",
55
54
  "pnpm": ">=8.6.0"
@@ -1,27 +0,0 @@
1
- /*!
2
- * @thednp/shorty ESM v2.0.13 (https://github.com/thednp/shorty)
3
- * Copyright 2026 © thednp
4
- * Licensed under MIT (https://github.com/thednp/shorty/blob/master/LICENSE)
5
- */
6
- "use strict";
7
-
8
- (() => {
9
- var table = new Uint8Array(128);
10
- for (var i = 0; i < 64; i++) table[i < 26 ? i + 65 : i < 52 ? i + 71 : i < 62 ? i - 4 : i * 4 - 205] = i;
11
- return (base64) => {
12
- var n = base64.length, bytes = new Uint8Array((n - (base64[n - 1] == "=") - (base64[n - 2] == "=")) * 3 / 4 | 0);
13
- for (var i = 0, j = 0; i < n;) {
14
- var c0 = table[base64.charCodeAt(i++)], c1 = table[base64.charCodeAt(i++)];
15
- var c2 = table[base64.charCodeAt(i++)], c3 = table[base64.charCodeAt(i++)];
16
- bytes[j++] = c0 << 2 | c1 >> 4;
17
- bytes[j++] = c1 << 4 | c2 >> 2;
18
- bytes[j++] = c2 << 6 | c3;
19
- }
20
- return bytes;
21
- };
22
- })();
23
- ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) {
24
- if (typeof require !== "undefined") return require.apply(this, arguments);
25
- throw Error("Calling `require` for \"" + x + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
26
- });
27
- //#endregion