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

@loadsmart/utils-string

Package Overview
Dependencies
Maintainers
20
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loadsmart/utils-string - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

18

lib/index.d.ts

@@ -1,12 +0,6 @@

import { objectFromQueryString } from './objectFromQueryString'
import { queryStringFromObject } from './queryStringFromObject'
import { toCapitalizeFirstLetter } from './toCapitalizeFirstLetter'
import { toLocaleCapitalizeFirstLetter } from './toLocaleCapitalizeFirstLetter'
import isBlank from './isBlank'
export {
isBlank,
objectFromQueryString,
queryStringFromObject,
toLocaleCapitalizeFirstLetter,
toCapitalizeFirstLetter,
}
import { objectFromQueryString } from './objectFromQueryString';
import { queryStringFromObject } from './queryStringFromObject';
import { toCapitalizeFirstLetter } from './toCapitalizeFirstLetter';
import { toLocaleCapitalizeFirstLetter } from './toLocaleCapitalizeFirstLetter';
import isBlank from './isBlank';
export { isBlank, objectFromQueryString, queryStringFromObject, toLocaleCapitalizeFirstLetter, toCapitalizeFirstLetter, };

@@ -1,34 +0,14 @@

'use strict'
Object.defineProperty(exports, '__esModule', { value: true })
exports.toCapitalizeFirstLetter = exports.toLocaleCapitalizeFirstLetter = exports.queryStringFromObject = exports.objectFromQueryString = exports.isBlank = void 0
var objectFromQueryString_1 = require('./objectFromQueryString')
Object.defineProperty(exports, 'objectFromQueryString', {
enumerable: true,
get: function () {
return objectFromQueryString_1.objectFromQueryString
},
})
var queryStringFromObject_1 = require('./queryStringFromObject')
Object.defineProperty(exports, 'queryStringFromObject', {
enumerable: true,
get: function () {
return queryStringFromObject_1.queryStringFromObject
},
})
var toCapitalizeFirstLetter_1 = require('./toCapitalizeFirstLetter')
Object.defineProperty(exports, 'toCapitalizeFirstLetter', {
enumerable: true,
get: function () {
return toCapitalizeFirstLetter_1.toCapitalizeFirstLetter
},
})
var toLocaleCapitalizeFirstLetter_1 = require('./toLocaleCapitalizeFirstLetter')
Object.defineProperty(exports, 'toLocaleCapitalizeFirstLetter', {
enumerable: true,
get: function () {
return toLocaleCapitalizeFirstLetter_1.toLocaleCapitalizeFirstLetter
},
})
var isBlank_1 = require('./isBlank')
exports.isBlank = isBlank_1.default
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toCapitalizeFirstLetter = exports.toLocaleCapitalizeFirstLetter = exports.queryStringFromObject = exports.objectFromQueryString = exports.isBlank = void 0;
var objectFromQueryString_1 = require("./objectFromQueryString");
Object.defineProperty(exports, "objectFromQueryString", { enumerable: true, get: function () { return objectFromQueryString_1.objectFromQueryString; } });
var queryStringFromObject_1 = require("./queryStringFromObject");
Object.defineProperty(exports, "queryStringFromObject", { enumerable: true, get: function () { return queryStringFromObject_1.queryStringFromObject; } });
var toCapitalizeFirstLetter_1 = require("./toCapitalizeFirstLetter");
Object.defineProperty(exports, "toCapitalizeFirstLetter", { enumerable: true, get: function () { return toCapitalizeFirstLetter_1.toCapitalizeFirstLetter; } });
var toLocaleCapitalizeFirstLetter_1 = require("./toLocaleCapitalizeFirstLetter");
Object.defineProperty(exports, "toLocaleCapitalizeFirstLetter", { enumerable: true, get: function () { return toLocaleCapitalizeFirstLetter_1.toLocaleCapitalizeFirstLetter; } });
var isBlank_1 = require("./isBlank");
exports.isBlank = isBlank_1.default;
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

export default function isBlank(text: string): boolean
export default function isBlank(text: string): boolean;

@@ -1,11 +0,11 @@

'use strict'
Object.defineProperty(exports, '__esModule', { value: true })
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isBlank(text) {
if (text == null) {
return true
}
var trimmedText = String(text).trim()
return trimmedText == ''
if (text == null) {
return true;
}
var trimmedText = String(text).trim();
return trimmedText == '';
}
exports.default = isBlank
//# sourceMappingURL=isBlank.js.map
exports.default = isBlank;
//# sourceMappingURL=isBlank.js.map
{
"name": "@loadsmart/utils-string",
"private": false,
"version": "0.2.0",
"version": "0.3.0",
"description": "useful functions for manipulating string",

@@ -33,3 +33,3 @@ "keywords": [

},
"gitHead": "2836a552af751c2f10ca6b8affc9f68cdd956b3b"
"gitHead": "ba02bc5cb05a0ac4a16f14d72fb539d03d1df3aa"
}
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