@8ms/helpers 1.3.12 → 1.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "1.3.12",
4
+ "version": "1.3.13",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"
@@ -14,5 +14,5 @@ type GetClean = {
14
14
  /**
15
15
  * Shorthand function to get a clean version of a string.
16
16
  */
17
- declare const getCleanString: ({ accents, decoded, htmlTags, input, lowercase, propercase, punctuation, trim, underscores, uppercase, whitespace }: GetClean) => string;
18
- export default getCleanString;
17
+ declare const getClean: ({ accents, decoded, htmlTags, input, lowercase, propercase, punctuation, trim, underscores, uppercase, whitespace }: GetClean) => string;
18
+ export default getClean;
@@ -14,7 +14,7 @@ const getDecoded_1 = __importDefault(require("./getDecoded"));
14
14
  /**
15
15
  * Shorthand function to get a clean version of a string.
16
16
  */
17
- const getCleanString = ({ accents, decoded, htmlTags, input, lowercase, propercase, punctuation, trim, underscores, uppercase, whitespace }) => {
17
+ const getClean = ({ accents, decoded, htmlTags, input, lowercase, propercase, punctuation, trim, underscores, uppercase, whitespace }) => {
18
18
  let response = (0, getString_1.default)({ input });
19
19
  if (decoded) {
20
20
  response = (0, getDecoded_1.default)({
@@ -62,4 +62,4 @@ const getCleanString = ({ accents, decoded, htmlTags, input, lowercase, properca
62
62
  }
63
63
  return response;
64
64
  };
65
- exports.default = getCleanString;
65
+ exports.default = getClean;