From 99c1d9af689e5325f3cf535c4007b3aeb8325229 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 10 Jan 2023 14:54:04 +0100 Subject: Update - This is an automated commit --- .../dist/string-trim-spaces-only.umd.js | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 alarm/node_modules/string-trim-spaces-only/dist/string-trim-spaces-only.umd.js (limited to 'alarm/node_modules/string-trim-spaces-only/dist/string-trim-spaces-only.umd.js') diff --git a/alarm/node_modules/string-trim-spaces-only/dist/string-trim-spaces-only.umd.js b/alarm/node_modules/string-trim-spaces-only/dist/string-trim-spaces-only.umd.js deleted file mode 100644 index c7e8716..0000000 --- a/alarm/node_modules/string-trim-spaces-only/dist/string-trim-spaces-only.umd.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @name string-trim-spaces-only - * @fileoverview Like String.trim() but you can choose granularly what to trim - * @version 3.1.0 - * @author Roy Revelt, Codsen Ltd - * @license MIT - * {@link https://codsen.com/os/string-trim-spaces-only/} - */ - -!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).stringTrimSpacesOnly={})}(this,(function(e){"use strict";const n={classicTrim:!1,cr:!1,lf:!1,tab:!1,space:!0,nbsp:!1};e.defaults=n,e.trimSpaces=function(e,t){if("string"!=typeof e)throw new Error(`string-trim-spaces-only: [THROW_ID_01] input must be string! It was given as ${typeof e}, equal to:\n${JSON.stringify(e,null,4)}`);const s={...n,...t};function r(e){return s.classicTrim&&!e.trim()||!s.classicTrim&&(s.space&&" "===e||s.cr&&"\r"===e||s.lf&&"\n"===e||s.tab&&"\t"===e||s.nbsp&&" "===e)}let i,l;if(e.length){if(r(e[0]))for(let n=0,t=e.length;n