Release Notes
Samsung-Remote Plugin v2.0.1
Released on August 2, 2023
New Features
- N/A
Improvements
- Added
"type": "module"
topackage.json
to enable ES6 import/export syntax throughout the project. This resolves an issue where Node.js was incorrectly using CommonJS require() syntax, leading to the error:SyntaxError: Cannot use import statement outside a module
.
Bug Fixes
- Fixed an issue where the plugin was unable to load due to a syntax error related to module importation. Users operating on Node.js v16 and above should no longer experience this problem.
Breaking Changes
- Please be aware that with the addition of
"type": "module"
topackage.json
, all.js
files in this project will now be treated as ES6 modules by Node.js. If there are any.js
files that you need to be interpreted as CommonJS, they will need to be renamed with a.cjs
extension.
For any issues or further improvements, feel free to raise an issue at our GitHub repository.