Socket
Socket
Sign inDemoInstall

@kano/kbc-utils

Package Overview
Dependencies
Maintainers
13
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kano/kbc-utils - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

19

lib/utils/files.js

@@ -27,11 +27,16 @@ "use strict";

const blob = new Blob([JSON.stringify(app)], { type: 'text/plain;charset=utf-8' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.style.display = 'none';
a.href = url;
a.download = fileName;
a.click();
URL.revokeObjectURL(url);
if (window.navigator && window.navigator.msSaveBlob) {
window.navigator.msSaveBlob(blob, fileName);
}
else {
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.style.display = 'none';
a.href = url;
a.download = fileName;
a.click();
URL.revokeObjectURL(url);
}
cb ? cb() : null;
};
//# sourceMappingURL=files.js.map
{
"name": "@kano/kbc-utils",
"version": "1.1.1",
"version": "1.1.2",
"description": "Utilities functionality for boilerplate mini apps",

@@ -35,3 +35,3 @@ "author": "Kano Computing",

},
"gitHead": "ef595f186c6ce1f2d0b3540f1a2f2950385adfb1"
"gitHead": "55b1c1ab6f0e711a9b010c85f6559ab8fd8ddfed"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc