codemod-registry icon indicating copy to clipboard operation
codemod-registry copied to clipboard

[ImmutableJS] v3 to v4 - deprecate "Record"

Open alexbit-codemod opened this issue 3 years ago • 0 comments

  • Link to relevant docs, if available

  • [high level applicability]

    • Old code patterns to transform exist in the following versions of the package:
      • Versions: v.x-v.y
    • Relevant files
      • $.js|ts|tsx|jsx
  • Transformation logic/steps (ordered list of "atomic" changes, this makes codemod creation easier):

  1. DETECT X
  2. [file] CREATE F
  3. CREATE Y
  4. DELETE Z
  • Old code sample(s):

  • New code sample(s):

  • A test file/repo (that contains both code patterns that need to be transformed and those that should not be touched.)

alexbit-codemod avatar Jan 26 '23 21:01 alexbit-codemod