external-link-new-tab
Advanced tools
Comparing version 1.1.0 to 1.1.2
@@ -1,2 +0,2 @@ | ||
module.exports.default = (url, options) => { | ||
module.exports.openInNewTab = (url, options) => { | ||
let timeout = 20; | ||
@@ -3,0 +3,0 @@ if (options && options.timeout) timeout = options.timeout; |
{ | ||
"name": "external-link-new-tab", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"description": "Opens link in new tab, via function call.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -16,3 +16,3 @@ # external-link-new-tab | ||
```js | ||
import openInNewTab from 'external-link-new-tab'; | ||
import { openInNewTab } from 'external-link-new-tab'; | ||
@@ -19,0 +19,0 @@ openInNewTab("https://solankiamit.com") |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2648