emoji-picker-element
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -0,1 +1,22 @@ | ||
# [1.6.0](https://github.com/nolanlawson/emoji-picker-element/compare/v1.5.0...v1.6.0) (2021-06-29) | ||
### Bug Fixes | ||
* update svelte to 3.37.0 ([#152](https://github.com/nolanlawson/emoji-picker-element/pull/152)) ([50ac48d](https://github.com/nolanlawson/emoji-picker-element/commit/50ac48d4c8133c71ba94ed2c0f2daa964b34092c)), closes [#149](https://github.com/nolanlawson/emoji-picker-element/issues/149) and [#116](https://github.com/nolanlawson/emoji-picker-element/issues/116) | ||
* fix rollup compiler warning ([#154](https://github.com/nolanlawson/emoji-picker-element/issues/154)) ([f5e9dcb](https://github.com/nolanlawson/emoji-picker-element/commit/f5e9dcbfe3c5a17250f190ba987954eb12e2d57c)) | ||
* remove unused code ([#148](https://github.com/nolanlawson/emoji-picker-element/issues/148)) ([304a18d](https://github.com/nolanlawson/emoji-picker-element/commit/304a18d2f769c1aeadb1792432a3ae1c5502f808)) | ||
### Features | ||
* add custom-elements.json ([#142](https://github.com/nolanlawson/emoji-picker-element/issues/142)) ([fd3e0f3](https://github.com/nolanlawson/emoji-picker-element/commit/fd3e0f3dfbef7a2f48decf7716ed151b5194354a)), closes [#31](https://github.com/nolanlawson/emoji-picker-element/issues/31) | ||
### Performance Improvements | ||
* reduce bundle size ([#155](https://github.com/nolanlawson/emoji-picker-element/issues/155)) ([2f05ce7](https://github.com/nolanlawson/emoji-picker-element/commit/2f05ce790dbe5873c33559616421efb181fec4c8)) | ||
# [1.5.0](https://github.com/nolanlawson/emoji-picker-element/compare/v1.4.0...v1.5.0) (2021-05-31) | ||
@@ -2,0 +23,0 @@ |
@@ -941,3 +941,2 @@ function assertNonEmptyString (str) { | ||
} catch (err) { /* ignore network errors (offline-first) */ } | ||
return !!this._db // return true if we need to actually run the close/delete logic | ||
} | ||
@@ -955,11 +954,9 @@ | ||
async close () { | ||
if (await this._shutdown()) { | ||
await closeDatabase(this._dbName); | ||
} | ||
await this._shutdown(); | ||
await closeDatabase(this._dbName); | ||
} | ||
async delete () { | ||
if (await this._shutdown()) { | ||
await deleteDatabase(this._dbName); | ||
} | ||
await this._shutdown(); | ||
await deleteDatabase(this._dbName); | ||
} | ||
@@ -966,0 +963,0 @@ } |
{ | ||
"name": "emoji-picker-element", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "Lightweight emoji picker distributed as a web component", | ||
@@ -9,2 +9,3 @@ "main": "index.js", | ||
"type": "module", | ||
"customElements": "custom-elements.json", | ||
"files": [ | ||
@@ -16,3 +17,4 @@ "database.js*", | ||
"svelte.js*", | ||
"*.d.ts" | ||
"*.d.ts", | ||
"custom-elements.json" | ||
], | ||
@@ -36,3 +38,3 @@ "scripts": { | ||
"benchmark:storage:test": "node ./test/storage/test.js", | ||
"test:leak": "run-s build:rollup && run-p --race test:leak:server test:leak:test", | ||
"test:leak": "run-p --race test:leak:server test:leak:test", | ||
"test:leak:server": "node ./test/leak/server.js", | ||
@@ -79,6 +81,6 @@ "test:leak:test": "node ./test/leak/test.js", | ||
"@rollup/plugin-strip": "^2.0.1", | ||
"@testing-library/dom": "^7.29.0", | ||
"@testing-library/jest-dom": "^5.11.6", | ||
"@testing-library/user-event": "^12.6.0", | ||
"babel-jest": "^26.6.3", | ||
"@testing-library/dom": "^8.0.0", | ||
"@testing-library/jest-dom": "^5.14.1", | ||
"@testing-library/user-event": "^13.1.9", | ||
"babel-jest": "^27.0.5", | ||
"blob-util": "^2.0.2", | ||
@@ -89,3 +91,3 @@ "bundlesize": "^0.18.1", | ||
"cross-env": "^7.0.3", | ||
"cssnano": "^5.0.5", | ||
"cssnano": "^5.0.6", | ||
"d2l-resize-aware": "BrightspaceUI/resize-aware#semver:^1.2.2", | ||
@@ -101,3 +103,3 @@ "emoji-picker-element-data": "^1.1.0", | ||
"husky": "^4.3.6", | ||
"jest": "^26.6.3", | ||
"jest": "^27.0.5", | ||
"lint-staged": "^10.5.3", | ||
@@ -113,3 +115,3 @@ "lodash-es": "^4.17.15", | ||
"pretty-bytes": "^5.4.1", | ||
"puppeteer": "^5.5.0", | ||
"puppeteer": "^10.0.0", | ||
"recursive-readdir": "^2.2.2", | ||
@@ -119,6 +121,5 @@ "rimraf": "^3.0.2", | ||
"rollup-plugin-analyzer": "^3.3.0", | ||
"rollup-plugin-svelte": "^6.1.0", | ||
"rollup-plugin-svelte-hot": "^0.11.1", | ||
"rollup-plugin-svelte": "^7.1.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"sass": "^1.30.0", | ||
"sass": "^1.35.1", | ||
"shx": "^0.3.3", | ||
@@ -130,6 +131,6 @@ "standard": "^16.0.3", | ||
"stylelint-scss": "^3.19.0", | ||
"svelte": "^3.29.4", | ||
"svelte": "3.37.0", | ||
"svelte-jester": "nolanlawson/svelte-jester#auto-preprocess", | ||
"svelte-preprocess": "^4.5.2", | ||
"svgo": "^1.3.2", | ||
"svelte-preprocess": "^4.7.3", | ||
"svgo": "^2.3.0", | ||
"typedoc": "^0.19.2", | ||
@@ -200,3 +201,3 @@ "typedoc-plugin-markdown": "^2.4.2", | ||
"path": "./bundle.js", | ||
"maxSize": "41.2 kB", | ||
"maxSize": "41.3 kB", | ||
"compression": "none" | ||
@@ -203,0 +204,0 @@ }, |
@@ -744,2 +744,4 @@ emoji-picker-element [![Build status](https://circleci.com/gh/nolanlawson/emoji-picker-element.svg?style=svg)](https://app.circleci.com/pipelines/gh/nolanlawson/emoji-picker-element) | ||
While this option can reduce your bundle size, note that it only works if your Svelte version is compatible with `emoji-picker-element`'s Svelte version. You can check [the tests](https://github.com/nolanlawson/emoji-picker-element/blob/master/.circleci/config.yml) to see which Svelte versions are tested. | ||
## Data and offline | ||
@@ -746,0 +748,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
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
500026
58
21
5845
868