@adeira/js
Advanced tools
Comparing version 1.2.4 to 1.3.0
# Unreleased | ||
# 1.3.0 | ||
- TS types removed, use [`@types/adeira__js`](https://www.npmjs.com/package/@types/adeira__js), see: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/48501 | ||
- Internal changes, `@babel/runtime` dependency bump | ||
# 1.2.4 | ||
- Extend `isObjectEmpty` to check for non-enumerable properties | ||
@@ -5,0 +11,0 @@ |
@@ -9,7 +9,7 @@ { | ||
"private": false, | ||
"version": "1.2.4", | ||
"version": "1.3.0", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@babel/runtime": "^7.10.5" | ||
"@babel/runtime": "^7.12.1" | ||
} | ||
} |
@@ -7,2 +7,8 @@ This package contains some useful utilities to help you write JavaScript better. It is a great place where to add these small helpers (_without 3rd party dependencies_) to share them everywhere. | ||
Optionally, install TS types (Flow types are included by default): | ||
```text | ||
yarn add --dev @types/adeira__js | ||
``` | ||
# `invariant`, `warning` | ||
@@ -172,3 +178,2 @@ | ||
# `isBrowser` | ||
@@ -181,5 +186,5 @@ | ||
if(isBrowser()) { | ||
if (isBrowser()) { | ||
// Safely access window | ||
window.location.href = 'https://www.github.com/adeira' | ||
window.location.href = 'https://www.github.com/adeira'; | ||
} else { | ||
@@ -186,0 +191,0 @@ // Do server logic for redirect |
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
191
31360
31
408
Updated@babel/runtime@^7.12.1