Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
786 lines (534 sloc) 17.9 KB

Change log

All notable changes to this project will be documented in this file.

9.1.2

  • ⬆️ dependency upgrade.

9.1.1

  • ⬆️ dependency upgrade.

9.1.0

  • 📝 better docs.
  • add new mutate util.

9.0.0

  • ⬆️ dependency upgrade.
  • 🏗 reduced library to just a bunch of functional utils.

8.0.10

  • ⬆️ dependency upgrade.

8.0.9

  • ⬆️ dependency upgrade.

8.0.8

  • ⬆️ dependency upgrade.

8.0.7

  • ⬆️ dependency upgrade.

8.0.6

  • ⬆️ dependency upgrade.

8.0.5

  • ⬆️ dependency upgrade.
  • remove unneeded dependencies.

8.0.4

  • ⬆️ dependency upgrade.
  • update tests for new @vangware/test.
  • 🔧 add new .npmrc.

8.0.3

  • ⬆️ dependency upgrade.

8.0.2

  • ⬆️ dependency upgrade.

8.0.1

  • ⬆️ dependency upgrade.

8.0.0

  • ⬆️ dependency upgrade.
  • 🚚 moved to ESM only.

7.0.9

  • ⬆️ dependency upgrade.

7.0.8

  • ⬆️ dependency upgrade.
  • 🎨 typedoc update.
  • 🚨 update code based on new linting rules.

7.0.7

  • ⬆️ dependency upgrade.

7.0.6

  • ⬆️ dependency upgrade.

7.0.5

  • 🐛 fix but with light theme in docs.

7.0.4

  • ⬆️ dependency upgrade.

7.0.3

  • ⬆️ dependency upgrade.

7.0.2

  • ⬆️ dependency upgrade.

7.0.1

  • ⬆️ dependency upgrade.

7.0.0

  • ⬆️ dependency upgrade.
  • remove husky 🎉
  • add @arkweid/lefthook.
  • 🏗 change markdown files to use references.
  • 🍱 update logo in README.md
  • 🏗 update imports to have extension.
  • 🏗 update outDir to single dist directory.

6.3.5

  • ⬆️ dependency upgrade.

6.3.4

  • ⬆️ dependency upgrade.

6.3.3

  • ⬆️ dependency upgrade.

6.3.2

  • ⬆️ dependency upgrade.

6.3.1

  • ⬆️ dependency upgrade.

6.3.0

  • ⬆️ dependency upgrade.

6.2.2

  • ⬆️ dependency upgrade.
  • 🚨 fix linter issue in jsonParsePromise.

6.2.1

  • ⬆️ dependency upgrade.
  • 🎨 new prettier config🚨

6.2.0

  • ⬆️ dependency upgrade.
  • 🔧 update package.json adding lint:fix script.
  • 🔧 update package.json docs script.
  • 🏗 update code with new linting rules.
  • 📝 update docs.

6.1.2

  • ⬆️ dependency upgrade.

6.1.1

  • ⬆️ dependency upgrade.
  • 🔧 update package.json adding postpublish.
  • 📝 update docs theme.

6.1.0

  • ⬆️ dependency upgrade.
  • 🏗 update equalValues to use Object.is.
  • 🏗 update equal utils to use equalValues when comparing values directly.
  • 🏗 update numberToDecimalTuple internal code.
  • add new numberToString util.
  • add new numberToStringDecimal util.
  • add new numberToStringHexadecimal util.
  • add new objectGetProperty util.
  • add new objectSetProperty util.
  • add new Radix type.
  • 🐛 fix some root imports.
  • add tests for new utils.

6.0.2

  • ⬆️ dependency upgrade.

6.0.1

  • ⬆️ dependency upgrade.

6.0.0

  • ⬆️ dependency upgrade.
  • 🔥 remove ReadOnlyObject.
  • 🔥 remove ReadOnlyObjectArray.
  • 🚚 rename ReadOnlyRecord to ImmutableRecord.
  • 🏗 changed order of generics in ImmutableRecord.
  • add new arrayEvery util.
  • add new arraySome util.

5.0.8

  • ⬆️ dependency upgrade.

5.0.7

  • ⬆️ dependency upgrade.

5.0.6

  • ⬆️ dependency upgrade.
  • 👷 changed Travis with GitHub Actions.

5.0.5

  • ⬆️ dependency upgrade.
  • 🏷 update typed imports/exports to be import type { ....

5.0.4

  • ⬆️ dependency upgrade.

5.0.3

  • ⬆️ dependency upgrade.

5.0.2

  • ⬆️ dependency upgrade.
  • 🐛 add missing array utils export.

5.0.1

  • 🐛 fix bug with files field in package.json.

5.0.0

  • ⬆️ dependency upgrade.
  • 🔧 update travis config.
  • 🔧 update package.json to include exports field.
  • add arrayReverse.
  • 🔥 removed default exports.

4.3.1

  • ⬆️ dependency upgrade.
  • 🐛 fix bug with RegExp (I forgot that thing mutates every time you test).

4.3.0

  • ⬆️ dependency upgrade.
  • remove uvu.
  • 🔧 update package.json scripts.
  • 🚚 rename tests to .test.ts to match new @vangware/test implementation.
  • add arrayFlat.
  • add arrayJoin.
  • add stringTest.
  • add stringMatches.

4.2.6

  • ⬆️ dependency upgrade.
  • 🐛 fix bug with equal when working with Date or RegExp.

4.2.3

  • ⬆️ dependency upgrade.
  • 🏗 improve types for arrayFilterIn.
  • 🏗 improve types for arrayFilterOut.
  • 🏗 improve types for arrayFilterTuple.

4.2.2

  • ⬆️ dependency upgrade.

4.2.1

  • ✏️ fix remaining master references.

4.2.0

  • add equal utils.

4.1.0

  • 🏗 improve types isObject.
  • ⬆️ dependency upgrade.

4.0.1

  • ⬆️ dependency upgrade.

4.0.0

  • ⬆️ major dependency upgrade (new TS version!).
  • 🏗 improve tuples making use of the new TS feature.
  • 🔥 remove Tuple type.
  • 🎨 logo update🚨

3.1.1

  • ⬆️ dependency upgrade.
  • 📝 update README.md.

3.1.0

  • ⬆️ dependency upgrade.
  • add new objectMap util.

3.0.2

  • ⬆️ dependency upgrade.

3.0.1

  • ⬆️ dependency upgrade.

3.0.0

  • ⬆️ dependency upgrade
  • 💥 change types of filter functions to use is.
  • 💥 change order of params for arrayInsert util.
  • 💥 change order of params for arrayReplace util.
  • add new arrayReplaceFirst util.
  • add new arrayReplaceLast util.
  • add new isFalsy util.
  • add new isTruthy util.
  • add new numberFloatToDecimalTuple util (internal usage mainly).
  • add new numberWithExponentToDecimalTuple util (internal usage mainly).
  • add new stringParseDecimal util.
  • add new stringParseHexadecimal util.
  • add new stringParseNumber util.
  • 🏗 improve internals of numberToDecimalTuple.

2.1.5

  • ⬆️ dependency upgrade.
  • update tests to use @vangware/test.

2.1.4

  • ⬆️ dependency upgrade.
  • 🐛 fix order of decimalTupleAdd and numberAdd (minor because is an addition).

2.1.3

  • 🐛 fix numberToDecimalTuple parsing error with 0.
  • add tests for those scenarios.

2.1.2

  • 🐛 fix numberToDecimalTuple parsing error with numbers that had exponent.
  • add tests for those scenarios.

2.1.1

  • 🐛 fix numberToDecimalTuple parsing error.

2.1.0

  • add new DecimalTuple type to represent decimal numbers with two integers.
  • add new decimalTupleAdd util.
  • add new decimalTupleDivide util.
  • add new decimalTupleMultiply util.
  • add new decimalTupleSubtract util.
  • add new decimalTupleToNumber util.
  • add new numberToDecimalTuple util.
  • add new numberAdd util (0.1 + 0.2 returns 0.3 🧙).
  • add new numberDivide util.
  • add new numberMultiply util.
  • add new numberSubtract util.
  • ⬆️ dependency upgrade.

2.0.1

  • 🚚 moved all tests to tests directory.
  • 🏗 change ava with uvu.
  • 🏗 change nyc with c8.
  • remove ava.
  • remove nyc.
  • 🔥 removed test:watch because it doesn't make any sense with the speed of uvu.
  • 🔧 update travis config.

2.0.0

  • 🚚 rename arrayPush to arrayInsertLast.
  • 🚚 rename arrayUnshift to arrayInsertFirst.
  • add new arraySliceFrom util.
  • add new arraySliceTo util.
  • add new Falsy type.
  • add new Truthy type.
  • ✏️ fix some docs examples.
  • 🔖 major change because of the above mentioned renames.
  • 🏗 better imports.
  • ⬆️ dependency upgrade.

1.1.0

  • add new Sorter type.
  • add new arraySort util.
  • 🐛 fix bad diff output of tests.
  • ⬆️ dependency upgrade.

1.0.1

  • ⬆️ dependency upgrade.
  • 📝 update README.md badges.

1.0.0

  • 🚚 rename package from @vangware/micro to @vangware/utils.
  • 🔖 version reset due to name change.
  • ⬆️ dependency upgrade.
  • 📝 updated README.md.
  • 🏗 better type inference.

8.1.2 (deprecated @vangware/micro)

  • ⬆️ yet another dependency upgrade.

8.1.1 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.

8.1.0 (deprecated @vangware/micro)

  • 🔥 remove exports from package.json.

8.0.0 (deprecated @vangware/micro)

  • 🚚 rename all utils to avoid reserved words clashing (now the internal API resembles the external)
  • 🔖 major version bump.
  • 🏗 removed typed imports/exports until bundlers work better.
  • 🏗 better package.json exports.
  • 🏗 imports/exports now include .js extension (more ESM friendly).

7.2.0 (deprecated @vangware/micro)

  • 🐛 broken from util. Renamed it to toArray.
  • 🔖 version bump.

7.1.3 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.
  • 🔧 update tsconfig.

7.1.2 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.

7.1.1 (deprecated @vangware/micro)

  • ✏️ fix wrong docs in instanceOf.
  • ⬆️ dependency upgrade.
  • 🔖 version bump.
  • 📝 update docs (they still suck because they are using internal names instead of exported and they don't handle curried functions that well...).

7.1.0 (deprecated @vangware/micro)

  • add stringReverse util.
  • ⬆️ dependency upgrade.
  • 🔖 version bump.

7.0.0 (deprecated @vangware/micro)

  • 🔖 major version bump.
  • 🏗 change architecture to have utils in directories.
  • 🚚 rename all utils to avoid redundance based on directories.
  • 🏗 add defaults back.
  • add array/from.
  • add json/stringifyPromise.
  • add object/fromEntries.
  • 🔥 remove object freezing (types will keep being readonly, but not in runtime).
  • ⬆️ dependency upgrade.

6.0.6 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔒 fix small security concern in arrayFilterIn and arrayMap.

6.0.5 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.

6.0.4 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.

6.0.3 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.

6.0.2 (deprecated @vangware/micro)

  • add Entity type.
  • 🏗 change exports to include types.

6.0.1 (deprecated @vangware/micro)

  • 🐛 fix mixing exports in index.

6.0.0 (deprecated @vangware/micro)

  • 🔖 major version bump.
  • ⬆️ dependency upgrade.
  • add arrayFilterIn.
  • add arrayFilterOut.
  • add arrayUnshift.
  • add functionNot.
  • add isType.
  • add numberBetween
  • add numberBoundary
  • 🏗 change everything to curried.
  • 🏗 change folder structure.
  • 🏗 change the way tests are done (inspired by RITEway).
  • 🏗 change to named exports only.
  • 📝 new documentation with examples for everything.
  • 📝 updated README.md.
  • 🔥 remove arrayFilter (separated int arrayFilterIn and arrayFilterOut).
  • 🔥 remove constants.
  • 🔥 remove tap (use function in place).
  • 🔥 remove when (use ternaries instead).

5.2.1 (deprecated @vangware/micro)

  • 🍱 Update logo.
  • Added favicon.

5.2.0 (deprecated @vangware/micro)

  • 🔖 version bump.
  • ⬆️ dependency upgrade.

5.1.0 (deprecated @vangware/micro)

  • 🔖 version bump.
  • 🏗 change exports/imports to use import type/export type when needed.

5.0.6 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.
  • 🏗 change code matching new linting settings.

5.0.5 (deprecated @vangware/micro)

  • ⬆️ version bump.
  • export time constants.

5.0.4 (deprecated @vangware/micro)

  • 🔧 update travis config.
  • ⬆️ version bump.
  • add time constants.

5.0.3 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.
  • 🔧 update ava config.

5.0.2 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.
  • 📝 update docs.

5.0.1 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.

5.0.0 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.
  • 🏗 update arrayFilter to avoid mutations even further.
  • 🏗 update arrayFilterTuple to avoid mutations even further.
  • 🏗 update arrayGroup to avoid mutations even further.
  • 🏗 update arrayInsert to avoid mutations even further.
  • 🏗 update arrayMap to avoid mutations even further.
  • 🏗 update arrayReduce to avoid mutations even further.
  • 🏗 update arrayReplace to avoid mutations even further.
  • 🏗 update arraySlice to avoid mutations even further.
  • 🏗 update arraySplit to avoid mutations even further.
  • 🏗 update objectCreate to be use a base besides the prototype.
  • 🏗 update objectEntries to avoid mutations even further.
  • add objectFreeze to be used by everything.

4.0.5 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.
  • 🏗 arrayFilterTuple doesn't use arrayReduce anymore.
  • 🏗 objectMap now uses objectEntries.
  • 📝 update docs.
  • 📄 update license year.
  • add arrayFilter.
  • add arraySlice.
  • add objectCreate.
  • add objectEntries.

4.0.4 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.
  • 📝 add CHANGELOG.md.

4.0.3 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔧 update settings.json.
  • 🔖 version bump.
  • 🔀 Merge branch 'master' of github.com:vangware/micro
  • 🚚 move docs and url to https://micro.vangware.com.
  • Create CNAME
  • 🚚 move docs to html in docs directory (for GH Pages)

4.0.2 (deprecated @vangware/micro)

  • update tests.
  • 📝 update README.md.
  • 🔖 version bump.

4.0.1 (deprecated @vangware/micro)

  • 🚑 isNullish should check undefined first.
  • minor test tweaks related to linter.

4.0.0 (deprecated @vangware/micro)

  • 🏗 functional rework.
  • 🔥 remove isMap (use immutable structures).
  • 🔥 remove isSet (use immutable structures).
  • 🔥 remove isWeakMap (use immutable structures).
  • 🔥 remove isWeakSet (use immutable structures).
  • 🔥 remove jsonParse (use JSON.parse).
  • 🔥 remove primitive class wrappers.
  • 🔥 remove tryCatch (avoid try/catch).
  • 🚚 rename arraySplitFilter -> arrayFilterTuple
  • update test to not use random.
  • 🏗 change arrayInsert to insert only one element.
  • 🏗 change arrayPush to insert only one element.
  • 🏗 change arrayReplace to replace only one element.
  • 🏗 noop to return the given value.
  • 🏗 tapObserver to return the given value.

3.0.1 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🎨 improve code to match new linter rules.
  • 🚨 update documentation based on line length changes.
  • 🔖 version bump.

3.0.0 (deprecated @vangware/micro)

  • 🔖 version 3.0.0
  • 🏗 change when to work with nullish instead of falsy.
  • 🏗 simplified stringMapReplace.
  • 🏗 change tslint with eslint.
  • add isNullish util.
  • add arrayPush util.
  • 🚚 rename config files (Prettier, linter, etc)
  • 📝 update documentation.

2.1.1 (deprecated @vangware/micro)

  • 📝 document with typedoc.
  • 🔖 version bump.

2.1.0 (deprecated @vangware/micro)

  • 🎨 improve objectMap to work with no object🚨

2.0.0 (deprecated @vangware/micro)

  • 🔥 remove typeOf (goodbye good fella).

1.5.0 (deprecated @vangware/micro)

  • add constants.
  • 📝 update README.md.
  • 🔖 version bump.

1.4.2 (deprecated @vangware/micro)

  • 🐛 fix mixing exports in index.
  • 🔖 version bump.

1.4.1 (deprecated @vangware/micro)

  • 🚚 rename isMapFunction to IsMapFunction (casing issue).
  • 🔖 version bump.

1.4.0 (deprecated @vangware/micro)

  • add isArray util.
  • add isBigInt util.
  • add isBoolean util.
  • add isDate util.
  • add isFunction util.
  • add isInstanceOf util.
  • add isMap util.
  • add isNull util.
  • add isNumber util.
  • add isObject util.
  • add isPromise util.
  • add isRegExp util.
  • add isSet util.
  • add isString util.
  • add isSymbol util.
  • add isUndefined util.
  • add isWeakMap util.
  • add isWeakSet util.
  • 📝 update README.md.
  • 🔥 deprecated typeOf util.
  • 🔧 update test configs.
  • 🚚 move testsUtils to test directory.
  • update tests.
  • 📝 update README.md to include more badges.
  • 💚 add CI comments.

1.3.1 (deprecated @vangware/micro)

  • Improved tests.
  • Add test coverage.
  • 🔧 update TS configurations.
  • 🔖 version bump.

1.3.0 (deprecated @vangware/micro)

  • add arrayReduce.
  • add arraySplit.
  • 🏗 change utils to use arrayReduce.
  • 🏗 change utils to use typeOf.
  • 📝 update README.md with new utils.
  • ⬆️ dependency upgrade.
  • 🔖 version bump.

1.2.1 (deprecated @vangware/micro)

  • ⬆️ dependency upgrade.
  • 🔖 version bump.

1.2.0 (deprecated @vangware/micro)

  • 👷 add Travis config.
  • add when util.
  • add test for when.
  • 🔖 version bump.
  • 📝 update README-md.

1.1.0 (deprecated @vangware/micro)

  • 🎨 improve types.
  • 🚨removed defaults and some optionals that didn't made any sense.
  • 🔖 version bump.

1.0.1 (deprecated @vangware/micro)

  • 🎨 improve noop types.
  • 🚨 version bump.
  • 📄 add MIT license file.

1.0.0 (deprecated @vangware/micro)

  • 🎉 initial commit