Esm: 3.2.23 and 3.2.24 broken

Created on 16 May 2019  路  10Comments  路  Source: standard-things/esm

Now sure why yet, but 3.2.22 works.

Investigating...

bug

Most helpful comment

esm v3.2.25 is released :tada:

All 10 comments

hey @steida before you digg too deep, it's likely a duplicate of: https://github.com/standard-things/esm/issues/803 https://github.com/standard-things/esm/issues/804

This is very much still broken, and 803 and 804 claim it as closed.

@djMax there still seems to be a "leftover" regression regarding computed property names.

I would consider unpublishing 23 and 24.

Same experience with broken computed property names.

@jdalton repro:

export class Foo {
  ["bar"]() {}  // not working
}

_marking as "new" bug, since it was mentioned in the other [closed] thread._

I just run into the same problem, here is my minimal test case: https://github.com/gr2m/esm-bug

// index.js
require = require("esm")(module/*, options*/)

const { MyClass }= require("./module.js")
const mc = new MyClass()
mc[Symbol.iterator]()

// module.js
export class MyClass {
 [Symbol.iterator]() {
   console.log('test')
 }
}

esm v3.2.25 is released :tada:

That fixed it for me, cheers 馃憤

Fixed here as well. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Mensu picture Mensu  路  3Comments

OmgImAlexis picture OmgImAlexis  路  3Comments

StphamZ picture StphamZ  路  3Comments

MVSICA-FICTA picture MVSICA-FICTA  路  3Comments

tunnckoCore picture tunnckoCore  路  3Comments