Skip to content

v2 #23

Open
Open
v2#23
@CMEONE

Description

@CMEONE

For v2, we are planning a breaking change to organize methods into subcategories (.array, .object, .string, and .pad).

  • Update the code to add .array category (stringToArray => array.fromString and string.toArray, duplicateArray => array.duplicate, deepDuplicateArray => array.deepDuplicate, differenceOfArrays => array.difference, sumOfArrays => array.sum, mergeArrays => array.merge, shuffleArray => array.shuffle, reverseArray => array.reverse, chunkArray => array.chunk, average => array.average, flattenArray => array.flatten, deepFlattenArray => array.deepFlatten, fillArray => array.fill, partitionArray => array.partition)
  • Update the code to add .object category (duplicateObject => object.duplicate, deepDuplicateObject => object.deepDuplicate, differenceOfObjects => object.difference, mergeObjects => object.merge, partitionObject => object.partition)
  • Update the code to add .string category (stringToArray => string.toArray and array.fromString, capitalize => string.capitalize, escape => string.escape, unescape => string.unescape)
  • Update the code to add .pad category (pad => pad.string, padStart => pad.stringStart, padEnd => pad.stringEnd, padArray => pad.array, padArrayStart => pad.arrayStart, padArrayEnd => pad.arrayEnd)
  • Reorganize test cases for .array category
  • Reorganize test cases for .string category
  • Reorganize test cases for .pad category
  • Make minor modifications to the README for .array category
  • Make minor modifications to the README for .string category
  • Make minor modifications to the README for .pad category
  • Create migration guide from v1 to v2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions