Socket
Socket
Sign inDemoInstall

@hsds/utils-strings

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hsds/utils-strings - npm Package Compare versions

Comparing version 4.1.0 to 5.0.0

16

CHANGELOG.md

@@ -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 @@

8

package.json
{
"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 @@ }

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