Skip to content

Commit a6621d8

Browse files
authored
Add back in migrations (sindresorhus#230)
1 parent 8ebf48f commit a6621d8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"dependencies": {
1818
"delay": "^4.3.0",
1919
"webext-base-css": "^1.1.0",
20-
"webext-options-sync": "^1.2.0",
20+
"webext-options-sync": "^1.2.4",
2121
"webextension-polyfill": "^0.4.0"
2222
},
2323
"devDependencies": {

source/options-storage.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ const optionsStorage = new OptionsSync({
1010
reuseTabs: false,
1111
updateCountOnNavigation: false,
1212
filterNotifications: false
13-
}
13+
},
14+
migrations: [
15+
OptionsSync.migrations.removeUnused
16+
]
1417
});
1518

1619
export default optionsStorage;

0 commit comments

Comments
 (0)