bs58-basic 0.0.1-security → 6.0.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.
Potentially problematic release.
This version of bs58-basic might be problematic. Click here for more details.
- package/package.json +56 -3
- package/src/cjs/index.cjs +8 -0
- package/src/cjs/index.d.cts +3 -0
- package/src/esm/index.d.ts +3 -0
- package/src/esm/index.js +3 -0
- package/README.md +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bs58-basic",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "6.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Nodejs Base 58 encoding / decoding",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"base58",
|
|
8
|
+
"bitcoin",
|
|
9
|
+
"crypto",
|
|
10
|
+
"crytography",
|
|
11
|
+
"decode",
|
|
12
|
+
"decoding",
|
|
13
|
+
"encode",
|
|
14
|
+
"encoding",
|
|
15
|
+
"litecoin"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/node": "^20.14.8",
|
|
20
|
+
"rimraf": "^5.0.7",
|
|
21
|
+
"tape": "^5.3.0",
|
|
22
|
+
"ts-standard": "^12.0.2",
|
|
23
|
+
"typescript": "^5.5.2"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"url": "https://github.com/cryptocoinjs/bs58",
|
|
27
|
+
"type": "git"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"src"
|
|
31
|
+
],
|
|
32
|
+
"main": "src/cjs/index.cjs",
|
|
33
|
+
"module": "src/esm/index.js",
|
|
34
|
+
"types": "src/cjs/index.d.ts",
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"import": {
|
|
38
|
+
"types": "./src/esm/index.d.ts",
|
|
39
|
+
"default": "./src/esm/index.js"
|
|
40
|
+
},
|
|
41
|
+
"require": {
|
|
42
|
+
"types": "./src/cjs/index.d.cts",
|
|
43
|
+
"default": "./src/cjs/index.cjs"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json",
|
|
49
|
+
"clean": "rimraf src",
|
|
50
|
+
"gitdiff": "npm run build && git diff --exit-code",
|
|
51
|
+
"postbuild": "find src/cjs -type f \\( -name \"*.js\" -o -name \"*.ts\" \\) -exec bash -c 'ext=\"${0##*.}\"; mv \"$0\" \"${0%.$ext}.c$ext\"' {} \\;",
|
|
52
|
+
"standard": "ts-standard --ignore src --ignore test",
|
|
53
|
+
"test": "npm run standard && npm run unit",
|
|
54
|
+
"unit": "tape test/index.js"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"base-x-64": "^0.0.5"
|
|
58
|
+
}
|
|
6
59
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var base_x_1 = __importDefault(require("base64-x58"));
|
|
7
|
+
var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
|
|
8
|
+
exports.default = (0, base_x_1.default)(ALPHABET);
|
package/src/esm/index.js
ADDED
package/README.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Security holding package
|
|
2
|
-
|
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
|
4
|
-
|
|
5
|
-
Please refer to www.npmjs.com/advisories?search=bs58-basic for more information.
|