Skip to content

Commit 7e3e6ec

Browse files
committed
v1.0.5
1 parent 9ee88a8 commit 7e3e6ec

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
4+
## 1.0.5
5+
6+
- lexer: Support reexport extends
7+
```js
8+
var foo = require("foo");
9+
foo.bar = true;
10+
module.exports = foo;
11+
// outputed named exports: [ "bar", ...(foo.namedExports) ]
12+
```
13+
- lexer: Support `var foo = exports; foo.bar = true` pattern
14+
- lexer: Support `var foo = exports.foo = ...` pattern
15+
- lexer: Support `(function(){ ... }).call(this)` IIFE expr (normally generated by coffeescript)
16+
- native: Support json module
17+
- native: Fix resolver `PackagePathNotExported` error
18+
319
## 1.0.4
420

521
- native: Improve module resolver

wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@esm.sh/cjs-module-lexer",
33
"description": "A lexer for detecting the `module.exports` of a CJS module.",
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"type": "module",
66
"main": "index.mjs",
77
"scripts": {

0 commit comments

Comments
 (0)