@endo/base64
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -6,2 +6,25 @@ # Change Log | ||
## 0.2.0 (2021-06-02) | ||
### ⚠ BREAKING CHANGES | ||
* **base64:** No longer supports direct use from CommonJS | ||
### Features | ||
* **base64:** Export package.json ([c5a0e53](https://github.com/endojs/endo/commit/c5a0e534cfb43c32ae3eb62c3bd85a8652f8b417)) | ||
* **base64:** Update packaging, expose encode/decode entry modules, bridge RESM/NESM ([a93e947](https://github.com/endojs/endo/commit/a93e9472b24447f4e1fc790191f6953a9285ecfa)) | ||
### Bug Fixes | ||
* Regularize format of NEWS.md ([0ec29b3](https://github.com/endojs/endo/commit/0ec29b34a18b17cc6b90e5a46575e634714e978e)) | ||
* **base64:** Typo in default decoded file name ([6338133](https://github.com/endojs/endo/commit/6338133150c4e4dc7dfd465f726286f4d742c1f7)) | ||
* update to eslint 7.23.0 ([#652](https://github.com/endojs/endo/issues/652)) ([e9199f4](https://github.com/endojs/endo/commit/e9199f41c511b5df10593d931febdd90693b011a)) | ||
* **base64:** Fix minor docs typo in usage ([185234e](https://github.com/endojs/endo/commit/185234efd86673e647d9ef303a5626233ac659dd)) | ||
* **base64:** Refine package.json ([fea29e5](https://github.com/endojs/endo/commit/fea29e5e3ffb574b32cf09bf0039f0816a203511)) | ||
# 0.1.0 (2020-12-10) | ||
@@ -8,0 +31,0 @@ |
{ | ||
"name": "@endo/base64", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Transcodes base64", | ||
"author": "Agoric", | ||
"keywords": [ | ||
"base64", | ||
"endo", | ||
"ses" | ||
], | ||
"author": "Endo contributors", | ||
"license": "Apache-2.0", | ||
"homepage": "https://github.com/endojs/endo/tree/master/packages/base64#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/endojs/endo.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/endojs/endo/issues" | ||
}, | ||
"type": "module", | ||
"parsers": { | ||
"js": "mjs" | ||
}, | ||
"main": "./dist/base64.cjs", | ||
"module": "./src/main.js", | ||
"module": "./index.js", | ||
"browser": "./dist/base64.umd.js", | ||
"unpkg": "./dist/base64.umd.js", | ||
"types": "./types/main.d.ts", | ||
"types": "./index.d.ts", | ||
"exports": { | ||
"import": "./src/main.js", | ||
"require": "./dist/base64.cjs", | ||
"browser": "./dist/base64.umd.js" | ||
".": "./index.js", | ||
"./encode.js": "./encode.js", | ||
"./decode.js": "./decode.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"scripts": { | ||
"build": "yarn build:types && yarn build:dist", | ||
"build:dist": "rollup --config rollup.config.js", | ||
"build:types": "tsc src/*.js --declaration --allowJs --emitDeclarationOnly --outDir types", | ||
"clean": "rm -rf dist", | ||
"cover": "nyc ava", | ||
"lint": "eslint '**/*.js'", | ||
"build": "exit 0", | ||
"lint": "yarn lint:types && yarn lint:js", | ||
"lint-fix": "eslint --fix '**/*.js'", | ||
"prepublish": "yarn clean && yarn build", | ||
"lint:js": "eslint '**/*.js'", | ||
"lint:types": "tsc --build jsconfig.json", | ||
"test": "ava" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^13.0.0", | ||
"@rollup/plugin-node-resolve": "^6.1.0", | ||
"@endo/eslint-config": "^0.3.7", | ||
"ava": "^3.12.1", | ||
"babel-eslint": "^10.0.3", | ||
"eslint": "^6.8.0", | ||
"eslint": "^7.23.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
@@ -44,6 +50,3 @@ "eslint-config-prettier": "^6.9.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"nyc": "^15.1.0", | ||
"prettier": "^1.19.1", | ||
"rollup": "1.31.0", | ||
"rollup-plugin-terser": "^5.1.3", | ||
"typescript": "^4.0.5" | ||
@@ -53,5 +56,7 @@ }, | ||
"LICENSE*", | ||
"dist", | ||
"src", | ||
"types" | ||
"decode.js", | ||
"encode.js", | ||
"index.d.ts", | ||
"index.js", | ||
"src" | ||
], | ||
@@ -63,3 +68,3 @@ "publishConfig": { | ||
"extends": [ | ||
"@agoric" | ||
"@endo" | ||
] | ||
@@ -76,3 +81,4 @@ }, | ||
"timeout": "2m" | ||
} | ||
}, | ||
"gitHead": "90d2ca43f8cf9a6b40c4d73f4845aa7599d7fe2d" | ||
} |
@@ -18,3 +18,3 @@ # base64 | ||
```js | ||
import { encodeBase64, decodeBase64 } from '../src/main.js'; | ||
import { encodeBase64, decodeBase64 } from '@endo/base64'; | ||
@@ -21,0 +21,0 @@ const string = encodeBase64(bytes); |
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
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
11
11
0
1
0
18858
123
1