Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(function (content) {
saveAs(content, `PP3.zip`);
});
// // End generate zip
.then(function (content) {
saveAs(content, `PP3.zip`);
});
// End generate zip
async download ({ rootState, state }) {
const data = await httpGetItems(rootState, state, {
term: state[state.selector].filter
})
const blob = new Blob(
[JSON.stringify(data.items, replaceForDownload, 1)],
{ type: 'application/json' })
saveAs(blob, state.hobby + '.json')
},