* fix: webpack browser build - use UMD dist/less.js, add CJS bundle (#4423)
- Browser exports point to dist/less.js (UMD) instead of less-node
- Add CJS bundle (dist/less-node.cjs) for Node require() with module shim
- Remove dead index.js; index.cjs re-exports CJS bundle
- Add export tests: import-patterns, webpack-browser, test-cjs-suite
- CI and publish workflows run test:node (build + CJS + ESM tests)
* Beta publish script
* chore: clarify test:node runs ESM + CJS in workflow labels
* fix: normalize path separators in rollup plugin for Windows CI
The inlinePackageVersion plugin used forward-slash path check that
failed on Windows where rollup passes backslash-separated IDs,
leaving the require('../../package.json') unresolved at runtime.
* chore: bump version to 4.6.3 for release
* docs: enrich npm README with usage examples and feature highlights
version: 4.6.0
* fix: update README and tests to show ESM + promise/await usage
The package is ESM-only ("type": "module"), so the README now correctly
shows `import less from 'less'` with `await` instead of CJS `require()`.
The ES6 test now verifies both promise/await and callback APIs.
version: 4.6.0
* fix: add CJS compatibility wrapper so require('less') works
Adds index.cjs as a one-line wrapper that re-exports the ESM default.
The exports field now has both import and require conditions.
Adds test-cjs.cjs to verify CJS consumption alongside the existing
ESM test.
version: 4.6.0
* fix: lazy Proxy CJS wrapper for Node 18+ compatibility
Node 22+ uses native require(esm). Node 18-20 uses a lazy Proxy with
dynamic import() — transparent because render()/parse() already return
promises. Tested with render, callback, and version property access.
* fix: include Node 20.19+ in native require(esm) path
* fix: add alt text to README images for accessibility