Move dependency to headless package.json
This commit is contained in:
parent
d921242be7
commit
cf94a5193a
8
package-lock.json
generated
8
package-lock.json
generated
@ -6181,7 +6181,6 @@
|
||||
"version": "6.26.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
|
||||
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"core-js": "^2.4.0",
|
||||
"regenerator-runtime": "^0.11.0"
|
||||
@ -6190,8 +6189,7 @@
|
||||
"regenerator-runtime": {
|
||||
"version": "0.11.1",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
|
||||
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
|
||||
"dev": true
|
||||
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -8014,8 +8012,7 @@
|
||||
"core-js": {
|
||||
"version": "2.6.11",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
|
||||
"integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==",
|
||||
"dev": true
|
||||
"integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
|
||||
},
|
||||
"core-js-compat": {
|
||||
"version": "3.6.5",
|
||||
@ -13689,7 +13686,6 @@
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/localforage-webextensionstorage-driver/-/localforage-webextensionstorage-driver-2.0.0.tgz",
|
||||
"integrity": "sha512-gB9q+NOn3D62x8Akn7nykh2H0ArNehYflZ3sgGZNc8eB6Yf0HnK30vwpe0xXTLYMIe15XeRNiiZd8qwTFnGYSw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"babel-runtime": "^6.22.0"
|
||||
}
|
||||
|
@ -97,7 +97,6 @@
|
||||
"lerna": "^3.22.1",
|
||||
"lit-element": "^2.3.1",
|
||||
"lit-html": "^1.2.1",
|
||||
"localforage-webextensionstorage-driver": "^2.0.0",
|
||||
"lodash-template-webpack-loader": "jcbrand/lodash-template-webpack-loader",
|
||||
"mini-css-extract-plugin": "^0.9.0",
|
||||
"minimist": "^1.2.3",
|
||||
|
@ -979,12 +979,16 @@ function initPersistentStorage () {
|
||||
if (api.settings.get('persistent_store') === 'sessionStorage') {
|
||||
return;
|
||||
} else if (_converse.api.settings.get("persistent_store") === 'BrowserExtLocal') {
|
||||
Storage.localForage.defineDriver(localDriver).then(() => Storage.localForage.setDriver('webExtensionLocalStorage'));
|
||||
Storage.localForage.defineDriver(localDriver).then(
|
||||
() => Storage.localForage.setDriver('webExtensionLocalStorage')
|
||||
);
|
||||
_converse.storage['persistent'] = Storage.localForage;
|
||||
return;
|
||||
|
||||
} else if (_converse.api.settings.get("persistent_store") === 'BrowserExtSync') {
|
||||
Storage.localForage.defineDriver(syncDriver).then(() => Storage.localForage.setDriver('webExtensionSyncStorage'));
|
||||
Storage.localForage.defineDriver(syncDriver).then(
|
||||
() => Storage.localForage.setDriver('webExtensionSyncStorage')
|
||||
);
|
||||
_converse.storage['persistent'] = Storage.localForage;
|
||||
return;
|
||||
}
|
||||
|
@ -39,6 +39,7 @@
|
||||
"@converse/skeletor": "conversejs/skeletor#56a284bd36a07977d69c08d78e7c8c0fc9fc5c87",
|
||||
"filesize": "^6.1.0",
|
||||
"localforage": "^1.9.0",
|
||||
"localforage-webextensionstorage-driver": "^2.0.0",
|
||||
"lodash-es": "^4.17.15",
|
||||
"pluggable.js": "2.0.1",
|
||||
"sprintf-js": "^1.1.2",
|
||||
|
Loading…
Reference in New Issue
Block a user