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 <[email protected]>
Co-authored-by: Michael Dawson <[email protected]>
Co-authored-by: Benjamin Gruenbaum <[email protected]>
Co-authored-by: Marco Ippolito <[email protected]>
Co-authored-by: Matteo Collina <[email protected]>
Co-authored-by: Michaël Zasso <[email protected]>
Co-authored-by: Antoine du Hamel <[email protected]>
Co-authored-by: Ruy Adorno <[email protected]>
Co-authored-by: James M Snell <[email protected]>
Co-authored-by: Yagiz Nizipli <[email protected]>
Co-authored-by: Rafael Gonzaga <[email protected]>
Co-authored-by: Richard Lau <[email protected]>
Co-authored-by: Chengzhong Wu <[email protected]>
Co-authored-by: Moshe Atlow <[email protected]>
Co-authored-by: Paolo Insogna <[email protected]>
Co-authored-by: Gireesh Punathil <[email protected]>
Co-authored-by: Ruben Bridgewater <[email protected]>
  • 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.