Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot b5635a29b0 chore(release): 0.2.0-develop.20 [skip ci]
# [0.2.0-develop.20](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.19...v0.2.0-develop.20) (2023-09-02)

### Bug Fixes

* check for only undefined or null on the size ([bd10837](bd108376ba))
2023-09-02 10:54:53 +00:00
Derrick Hammer cfe5f1328c
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 06:53:27 -04:00
Derrick Hammer bd108376ba
fix: check for only undefined or null on the size 2023-09-02 06:53:23 -04:00
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
# [0.2.0-develop.20](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.19...v0.2.0-develop.20) (2023-09-02)
### Bug Fixes
* check for only undefined or null on the size ([bd10837](https://git.lumeweb.com/LumeWeb/libportal/commit/bd108376ba33bb3c6b5c25606c5ed032e292e911))
# [0.2.0-develop.19](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.18...v0.2.0-develop.19) (2023-09-02)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libportal",
"version": "0.2.0-develop.19",
"version": "0.2.0-develop.20",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libportal",
"version": "0.2.0-develop.19",
"version": "0.2.0-develop.20",
"dependencies": {
"@lumeweb/libs5": "^0.1.0-develop.43",
"@lumeweb/node-library-preset": "git+https://git.lumeweb.com/LumeWeb/node-library-preset.git",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/libportal",
"version": "0.2.0-develop.19",
"version": "0.2.0-develop.20",
"main": "lib/index.js",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",

View File

@ -35,7 +35,7 @@ export function encodeCid(
throw new Error();
}
if (!size) {
if (size === undefined || size === null) {
throw new Error("size required");
}