Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ndla/util

Package Overview
Dependencies
Maintainers
5
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndla/util - npm Package Compare versions

Comparing version 0.4.1 to 0.4.3

1

es/copyTextToClipboard.js

@@ -30,2 +30,3 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }

return navigator.permissions.query({
// @ts-ignore
name: 'clipboard-write'

@@ -32,0 +33,0 @@ });

2

lib/copyTextToClipboard.d.ts

@@ -8,2 +8,2 @@ /**

*/
export declare const copyTextToClipboard: (copyPageUrlLink: string) => Promise<any>;
export declare const copyTextToClipboard: (copyPageUrlLink: string) => Promise<void>;

@@ -37,2 +37,3 @@ "use strict";

return navigator.permissions.query({
// @ts-ignore
name: 'clipboard-write'

@@ -39,0 +40,0 @@ });

{
"name": "@ndla/util",
"version": "0.4.1",
"version": "0.4.3",
"description": "Collection of util functions used by NDLA",

@@ -34,3 +34,3 @@ "license": "GPL-3.0",

},
"gitHead": "8f0f6ca808935efc1aa6810c7a2a479b69f18df4"
"gitHead": "c91f4e94174161d50df0bdbffb92a93f76929ac7"
}
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