From dfc13e61586fbf466a7bbdb5667c5b02f41abd44 Mon Sep 17 00:00:00 2001 From: sthag Date: Mon, 3 Nov 2025 19:29:36 +0100 Subject: [PATCH] fix: Previous definitions and version --- index.js | 9 ++++++--- package.json | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index b0180f5..535294a 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,9 @@ const HIPPIE = (function () { 'use strict'; + const onerowAlphabet = "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ "; + const onerowDigits = "(\\) \'| ^/_1 -} +| ;~ (o \"/ {} \"| "; + function mapStringToValues(input, values) { if (typeof values === 'string') { values = values.split(' '); @@ -28,8 +31,8 @@ const HIPPIE = (function () { return { mapStringToValues: mapStringToValues, - onerowAlphabet: "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ ", - onerowDigits: "(\\) \'| ^/_1 -} +| ;~ (o \"/ {} \"| ", - brand: mapStringToValues('h i p p i e', this.onerowAlphabet) + alphabet: onerowAlphabet, + digits: onerowDigits, + brand: mapStringToValues('h i p p i e', onerowAlphabet + onerowDigits) }; })(); diff --git a/package.json b/package.json index 0aecf6b..8fccfa4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hippie-script", - "version": "1.0.0", + "version": "1.2.1", "description": "Where the script things of HIPPIE are", "keywords": [ "hippie",