@decryption/base 0.2.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +12 -14
package/README.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @decryption/base
2
2
 
3
+ <p align="center" width="100%">
4
+ <img height="250" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
5
+ </p>
6
+
7
+ <p align="center" width="100%">
8
+ <a href="https://github.com/constructive-io/decryption/actions/workflows/ci.yml">
9
+ <img height="20" src="https://github.com/constructive-io/decryption/actions/workflows/ci.yml/badge.svg" />
10
+ </a>
11
+ <a href="https://www.npmjs.com/package/@decryption/base"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/decryption?filename=packages%2Fbase%2Fpackage.json"/></a>
12
+ </p>
13
+
14
+
3
15
  > **NOTE:** This is a fork of [`@scure/base`](https://www.npmjs.com/package/@scure/base) (v2.2.0).
4
16
  > We dual-publish as both **CJS and ESM** because upstream is ESM-only (`"type": "module"`), which breaks
5
17
  > `require()` in Jest, older bundlers and CJS-based Node.js tooling. The source is unchanged from upstream —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decryption/base",
3
- "version": "0.2.0",
3
+ "version": "0.4.1",
4
4
  "description": "Audited & minimal 0-dependency implementation of bech32, base64, base58, base32 & base16. Dual CJS+ESM fork of @scure/base.",
5
5
  "author": "Constructive <developers@constructive.io>",
6
6
  "main": "index.js",
@@ -19,15 +19,6 @@
19
19
  "bugs": {
20
20
  "url": "https://github.com/constructive-io/decryption/issues"
21
21
  },
22
- "scripts": {
23
- "copy": "makage assets",
24
- "clean": "makage clean",
25
- "prepublishOnly": "npm run build",
26
- "build": "makage build && cp LICENSE dist/LICENSE",
27
- "lint": "echo \"vendored fork — linted upstream\" && exit 0",
28
- "test": "jest",
29
- "test:watch": "jest --watch"
30
- },
31
22
  "keywords": [
32
23
  "base64",
33
24
  "base58",
@@ -37,8 +28,15 @@
37
28
  "encoding"
38
29
  ],
39
30
  "devDependencies": {
40
- "@decryption/hashes": "0.2.0",
41
- "makage": "0.3.0"
31
+ "makage": "0.3.0",
32
+ "@decryption/hashes": "0.4.1"
42
33
  },
43
- "gitHead": "8d85fbfdbb1d57da93e99904a03e6e8d8531d281"
44
- }
34
+ "scripts": {
35
+ "copy": "makage assets",
36
+ "clean": "makage clean",
37
+ "build": "makage build && cp LICENSE dist/LICENSE",
38
+ "lint": "echo \"vendored fork — linted upstream\" && exit 0",
39
+ "test": "jest",
40
+ "test:watch": "jest --watch"
41
+ }
42
+ }