Comparing version 3.0.5 to 3.0.6
{ | ||
"name": "base-x", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"description": "Fast base encoding / decoding of any given alphabet", | ||
@@ -24,5 +24,6 @@ "keywords": [ | ||
"files": [ | ||
"index.js" | ||
"src" | ||
], | ||
"main": "index.js", | ||
"main": "src/index.js", | ||
"types": "src/index.d.ts", | ||
"repository": { | ||
@@ -33,2 +34,5 @@ "type": "git", | ||
"scripts": { | ||
"build": "tsc -p ./tsconfig.json ; standard --fix", | ||
"gitdiff": "npm run build && git diff --exit-code", | ||
"prepublish": "npm run gitdiff", | ||
"standard": "standard", | ||
@@ -39,4 +43,6 @@ "test": "npm run unit && npm run standard", | ||
"devDependencies": { | ||
"@types/node": "12.0.10", | ||
"standard": "^10.0.3", | ||
"tape": "^4.5.1" | ||
"tape": "^4.5.1", | ||
"typescript": "3.5.2" | ||
}, | ||
@@ -43,0 +49,0 @@ "dependencies": { |
@@ -11,2 +11,4 @@ # base-x | ||
**WARNING:** This module is **NOT RFC3548** compliant, it cannot be used for base16 (hex), base32, or base64 encoding in a standards compliant manner. | ||
## Example | ||
@@ -40,2 +42,3 @@ | ||
32 | `0123456789ABCDEFGHJKMNPQRSTVWXYZ` | ||
32 | `ybndrfg8ejkmcpqxot1uwisza345h769` (z-base-32) | ||
36 | `0123456789abcdefghijklmnopqrstuvwxyz` | ||
@@ -62,4 +65,3 @@ 58 | `123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz` | ||
While unusual, this does mean that no padding is required and it works for bases | ||
like 43. **If you need standard hex encoding, or base64 encoding, this module is NOT | ||
appropriate.** | ||
like 43. | ||
@@ -66,0 +68,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9241
5
127
68
4
2