-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly handling number key (#5328)
* handling __proto__ * handling __proto__ key * handling __proto__ key * handling __proto__ key * handling __proto__ key * handling __proto__ key * handling __proto__ key * handling __proto__ key * handling __proto__ key * handling __proto__ key * handling __proto__ key * handling __proto__ key * handling string key * handling __proto__ key * handling string name * handling __proto__ key * handling __proto__ key * handling string name * hanlding __proto__ key * handling __proto__ key * handling __proto__ key * handling string name * handling string name * handling string name * handling __proto__ key * handling __proto__ key * handling __proto__ key * Correctly handling number key * Correctly handling number key * Correctly handling number key
- Loading branch information
1 parent
c249413
commit 47e9bd1
Showing
10 changed files
with
98 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = defineTest({ | ||
description: 'index key', | ||
options: { | ||
external: ['x'], | ||
output: { | ||
globals: { | ||
x: 'x' | ||
} | ||
} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
define(['x'], (function (x$1) { 'use strict'; | ||
|
||
var x = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
"00": x$1["00"], | ||
"9007199254740993": x$1["9007199254740993"] | ||
}); | ||
|
||
console.log(x); | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
'use strict'; | ||
|
||
var x$1 = require('x'); | ||
|
||
var x = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
"00": x$1["00"], | ||
"9007199254740993": x$1["9007199254740993"] | ||
}); | ||
|
||
console.log(x); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { "00" as _00, "9007199254740993" as _9007199254740993 } from 'x'; | ||
|
||
var x = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
"00": _00, | ||
"9007199254740993": _9007199254740993 | ||
}); | ||
|
||
console.log(x); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
(function (x$1) { | ||
'use strict'; | ||
|
||
var x = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
"00": x$1["00"], | ||
"9007199254740993": x$1["9007199254740993"] | ||
}); | ||
|
||
console.log(x); | ||
|
||
})(x); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
System.register(['x'], (function () { | ||
'use strict'; | ||
var _00, _9007199254740993; | ||
return { | ||
setters: [function (module) { | ||
_00 = module["00"]; | ||
_9007199254740993 = module["9007199254740993"]; | ||
}], | ||
execute: (function () { | ||
|
||
var x = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
"00": _00, | ||
"9007199254740993": _9007199254740993 | ||
}); | ||
|
||
console.log(x); | ||
|
||
}) | ||
}; | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('x')) : | ||
typeof define === 'function' && define.amd ? define(['x'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.x)); | ||
})(this, (function (x$1) { 'use strict'; | ||
|
||
var x = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
"00": x$1["00"], | ||
"9007199254740993": x$1["9007199254740993"] | ||
}); | ||
|
||
console.log(x); | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import * as x from './x'; | ||
console.log(x); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { '00', '9007199254740993' } from 'x'; |