Skip to content

Conversation

LinusU
Copy link
Owner

@LinusU LinusU commented May 3, 2021

Migration Guide:

This relases changes the package from a Common JS module to an EcmaScript module, and drops support for older versions of Node.

  • The minimum version of Node.js supported is now: 12.20.0, 14.13.1, and 16.0.0
  • The package must now be imported using the native import syntax instead of with require
  • The exported functions have been renamed to have better stand-alone names:
    • get to getAttribute
    • set to setAttribute
    • remove to removeAttribute
    • list to listAttributes
    • getSync to getAttributeSync
    • setSync to setAttributeSync
    • removeSync to removeAttributeSync
    • listSync to listAttributesSync

@LinusU LinusU force-pushed the lu-fix branch 4 times, most recently from 4e4b8ea to 8659a7f Compare May 3, 2021 17:05
LinusU added 2 commits May 3, 2021 19:12
Migration Guide:

This relases changes the package from a Common JS module to an EcmaScript module, and drops support for older versions of Node.

- The minimum version of Node.js supported is now: `12.20.0`, `14.13.1`, and `16.0.0`
- The package must now be imported using the native `import` syntax instead of with `require`
- The exported functions have been renamed to have better stand-alone names:
  - `get` to `getAttribute`
  - `set` to `setAttribute`
  - `remove` to `removeAttribute`
  - `list` to `listAttributes`
  - `getSync` to `getAttributeSync`
  - `setSync` to `setAttributeSync`
  - `removeSync` to `removeAttributeSync`
  - `listSync` to `listAttributesSync`
@LinusU LinusU changed the title 🌹 Switch CI to GitHub Actions 💥 Convert package to ESM May 11, 2021
@LinusU LinusU merged commit 2179cce into master May 11, 2021
@LinusU LinusU deleted the lu-fix branch May 11, 2021 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant