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

@hint/utils-string

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hint/utils-string - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

8

CHANGELOG.md

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

# 1.0.5 (August 24, 2020)
## Chores
* [[`55dc024ed1`](https://github.com/webhintio/hint/commit/55dc024ed1d243f2d1d5adc07e5cae2fcb58025f)] - Upgrade: Bump typescript from 3.8.3 to 3.9.7 (by [`dependabot-preview[bot]`](https://github.com/apps/dependabot-preview)).
* [[`8df0336e63`](https://github.com/webhintio/hint/commit/8df0336e63a35344c2b87c6ced5d9eeaa0e85b51)] - Upgrade: Bump eslint from 6.8.0 to 7.6.0 (#3926) (by [`dependabot-preview[bot]`](https://github.com/apps/dependabot-preview)).
# 1.0.4 (July 27, 2020)

@@ -2,0 +10,0 @@

1

dist/src/cut-string.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cutString = void 0;
exports.cutString = (txt, length = 50) => {

@@ -4,0 +5,0 @@ if (txt.length <= length) {

33

dist/src/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./cut-string"));
__export(require("./merge-ignore-include-arrays"));
__export(require("./normalize-includes"));
__export(require("./normalize-string-by-delimiter"));
__export(require("./normalize-string"));
__export(require("./pretty-print-array"));
__export(require("./to-camel-case"));
__export(require("./to-lowercase-array"));
__export(require("./to-lowercase-keys"));
__export(require("./to-pascal-case"));
__exportStar(require("./cut-string"), exports);
__exportStar(require("./merge-ignore-include-arrays"), exports);
__exportStar(require("./normalize-includes"), exports);
__exportStar(require("./normalize-string-by-delimiter"), exports);
__exportStar(require("./normalize-string"), exports);
__exportStar(require("./pretty-print-array"), exports);
__exportStar(require("./to-camel-case"), exports);
__exportStar(require("./to-lowercase-array"), exports);
__exportStar(require("./to-lowercase-keys"), exports);
__exportStar(require("./to-pascal-case"), exports);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mergeIgnoreIncludeArrays = void 0;
const to_lowercase_array_1 = require("./to-lowercase-array");

@@ -4,0 +5,0 @@ exports.mergeIgnoreIncludeArrays = (originalArray, ignoreArray = [], includeArray = []) => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeIncludes = void 0;
const normalize_string_1 = require("./normalize-string");

@@ -4,0 +5,0 @@ exports.normalizeIncludes = (source, included) => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeStringByDelimiter = void 0;
const normalize_string_1 = require("./normalize-string");

@@ -4,0 +5,0 @@ exports.normalizeStringByDelimiter = (value, delimiter) => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeString = void 0;
exports.normalizeString = (value, defaultValue) => {

@@ -4,0 +5,0 @@ if (typeof value === 'undefined' || value === null) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.prettyPrintArray = void 0;
exports.prettyPrintArray = (array) => {

@@ -4,0 +5,0 @@ const items = Array.from(array);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toCamelCase = void 0;
exports.toCamelCase = (value) => {

@@ -4,0 +5,0 @@ return value.split('-').reduce((accu, w) => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toLowerCaseArray = void 0;
exports.toLowerCaseArray = (list) => {

@@ -4,0 +5,0 @@ return list.map((e) => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toLowerCaseKeys = void 0;
exports.toLowerCaseKeys = (obj) => {

@@ -4,0 +5,0 @@ const entries = Object.entries(obj);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toPascalCase = void 0;
exports.toPascalCase = (value) => {

@@ -4,0 +5,0 @@ return value.split('-').reduce((accu, w) => {

@@ -14,3 +14,3 @@ {

"ava": "^3.10.1",
"eslint": "^6.8.0",
"eslint": "^7.6.0",
"eslint-plugin-import": "^2.18.2",

@@ -21,3 +21,3 @@ "eslint-plugin-markdown": "^1.0.2",

"rimraf": "^3.0.2",
"typescript": "^3.8.3"
"typescript": "^3.9.7"
},

@@ -59,3 +59,3 @@ "files": [

},
"version": "1.0.4"
"version": "1.0.5"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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