@hsds/utils-strings
Advanced tools
Comparing version 4.1.0 to 5.0.0
@@ -5,2 +5,18 @@ # Changelog | ||
# [5.0.0](https://github.com/helpscout/hsds/compare/v4.0.0...v5.0.0) (2022-08-18) | ||
### Bug Fixes | ||
* **workspace:** remove esm module from projects ([829cc37](https://github.com/helpscout/hsds/commit/829cc3795f54a8bcfbc0c45b5bc36bd17463bf54)) | ||
### Features | ||
* **workspace:** improves versioning packages ([b836826](https://github.com/helpscout/hsds/commit/b836826d549aeb7295498f1091c783136079f134)) | ||
### [4.1.1](https://github.com/helpscout/hsds/compare/utils-strings-4.1.0...utils-strings-4.1.1) (2022-08-18) | ||
## [4.1.0](https://github.com/helpscout/hsds/compare/utils-strings-4.0.0...utils-strings-4.1.0) (2022-08-03) | ||
@@ -7,0 +23,0 @@ |
{ | ||
"name": "@hsds/utils-strings", | ||
"version": "4.1.0", | ||
"version": "5.0.0", | ||
"main": "./index.cjs.js", | ||
"module": "./index.esm.js", | ||
"typings": "./index.d.ts", | ||
"dependencies": { | ||
"lodash.isnil": "^4.0.0" | ||
}, | ||
"peerDependencies": {} | ||
"typings": "./index.d.ts" | ||
} |
@@ -1,5 +0,3 @@ | ||
import isNil from 'lodash.isnil' | ||
export const normalizeUrl = string => { | ||
if (isNil(string)) { | ||
if (string == null) { | ||
return '' | ||
@@ -6,0 +4,0 @@ } |
@@ -10,8 +10,4 @@ "use strict"; | ||
var _lodash = _interopRequireDefault(require("lodash.isnil")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const normalizeUrl = string => { | ||
if ((0, _lodash.default)(string)) { | ||
if (string == null) { | ||
return ''; | ||
@@ -18,0 +14,0 @@ } |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14870
0
0
394
- Removedlodash.isnil@^4.0.0
- Removedlodash.isnil@4.0.0(transitive)