Skip to content

Commit

Permalink
Choosing a marker to customize default exports returned by `require(e…
Browse files Browse the repository at this point in the history
…sm)` (#1622)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
Co-authored-by: Michael Dawson <mdawson@devrus.com>
Co-authored-by: Benjamin Gruenbaum <inglor@gmail.com>
Co-authored-by: Marco Ippolito <marcoippolito54@gmail.com>
Co-authored-by: Matteo Collina <hello@matteocollina.com>
Co-authored-by: Michaël Zasso <targos@protonmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Ruy Adorno <ruy@vlt.sh>
Co-authored-by: James M Snell <jasnell@gmail.com>
Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
Co-authored-by: Rafael Gonzaga <rafael.nunu@hotmail.com>
Co-authored-by: Richard Lau <rlau@redhat.com>
Co-authored-by: Chengzhong Wu <cwu631@bloomberg.net>
Co-authored-by: Moshe Atlow <moshe@atlow.co.il>
Co-authored-by: Paolo Insogna <paolo@cowtech.it>
Co-authored-by: Gireesh Punathil <gpunathi@in.ibm.com>
Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
18 people authored Oct 2, 2024
1 parent 3fbc93f commit f3746de
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions votes/2024-09-30-0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"description": "Choosing a marker to customize default exports returned by `require(esm)`",
"outcome": {
"winner(s)": [
"`export { foo as \"module.exports\" };`"
]
},
"votes": {
"aduh95": {
"`export const __cjsUnwrapDefault = true;`": 0,
"`export { foo as \"module.exports\" };`": 1
},
"anonrig": {
"`export const __cjsUnwrapDefault = true;`": 1,
"`export { foo as \"module.exports\" };`": 0
},
"benjamingr": {
"`export const __cjsUnwrapDefault = true;`": 1,
"`export { foo as \"module.exports\" };`": 1
},
"BridgeAR": {
"`export const __cjsUnwrapDefault = true;`": 0,
"`export { foo as \"module.exports\" };`": 1
},
"gireeshpunathil": {
"`export { foo as \"module.exports\" };`": 1,
"`export const __cjsUnwrapDefault = true;`": 0
},
"jasnell": {
"`export { foo as \"module.exports\" };`": 0,
"`export const __cjsUnwrapDefault = true;`": 1
},
"joyeecheung": {
"`export const __cjsUnwrapDefault = true;`": 0,
"`export { foo as \"module.exports\" };`": 1
},
"legendecas": {
"`export const __cjsUnwrapDefault = true;`": 0,
"`export { foo as \"module.exports\" };`": 1
},
"marco-ippolito": {
"`export const __cjsUnwrapDefault = true;`": 0,
"`export { foo as \"module.exports\" };`": 1
},
"mcollina": {
"`export const __cjsUnwrapDefault = true;`": 0,
"`export { foo as \"module.exports\" };`": 10
},
"mhdawson": {
"`export { foo as \"module.exports\" };`": 1,
"`export const __cjsUnwrapDefault = true;`": -1
},
"MoLow": {
"`export const __cjsUnwrapDefault = true;`": 0,
"`export { foo as \"module.exports\" };`": 1
},
"RafaelGSS": {
"`export { foo as \"module.exports\" };`": 0,
"`export const __cjsUnwrapDefault = true;`": 1
},
"richardlau": {
"`export const __cjsUnwrapDefault = true;`": 0,
"`export { foo as \"module.exports\" };`": 1
},
"ShogunPanda": {
"`export const __cjsUnwrapDefault = true;`": 0,
"`export { foo as \"module.exports\" };`": 110
},
"targos": {
"`export const __cjsUnwrapDefault = true;`": 1,
"`export { foo as \"module.exports\" };`": 0
}
},
"refs": "https://github.com/nodejs/TSC/pull/1622"
}

0 comments on commit f3746de

Please sign in to comment.