Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate data programmatically #219

Merged
merged 7 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 5 additions & 40 deletions data/es2015.mjs
Original file line number Diff line number Diff line change
@@ -1,60 +1,25 @@
export default {
Array: false,
import {mergeGlobals} from '../utilities.mjs';
import es5Globals from './es5.mjs';

export default mergeGlobals(es5Globals, {
ArrayBuffer: false,
Boolean: false,
constructor: false,
DataView: false,
Date: false,
decodeURI: false,
decodeURIComponent: false,
encodeURI: false,
encodeURIComponent: false,
Error: false,
escape: false,
eval: false,
EvalError: false,
Float32Array: false,
Float64Array: false,
Function: false,
hasOwnProperty: false,
Infinity: false,
Int16Array: false,
Int32Array: false,
Int8Array: false,
Intl: false,
isFinite: false,
isNaN: false,
isPrototypeOf: false,
JSON: false,
Map: false,
Math: false,
NaN: false,
Number: false,
Object: false,
parseFloat: false,
parseInt: false,
Promise: false,
propertyIsEnumerable: false,
Proxy: false,
RangeError: false,
ReferenceError: false,
Reflect: false,
RegExp: false,
Set: false,
String: false,
Symbol: false,
SyntaxError: false,
toLocaleString: false,
toString: false,
TypeError: false,
Uint16Array: false,
Uint32Array: false,
Uint8Array: false,
Uint8ClampedArray: false,
undefined: false,
unescape: false,
URIError: false,
valueOf: false,
WeakMap: false,
WeakSet: false,
};
});
65 changes: 5 additions & 60 deletions data/es2017.mjs
Original file line number Diff line number Diff line change
@@ -1,62 +1,7 @@
export default {
Array: false,
ArrayBuffer: false,
import {mergeGlobals} from '../utilities.mjs';
import es2015Globals from './es2015.mjs';

export default mergeGlobals(es2015Globals, {
Atomics: false,
Boolean: false,
constructor: false,
DataView: false,
Date: false,
decodeURI: false,
decodeURIComponent: false,
encodeURI: false,
encodeURIComponent: false,
Error: false,
escape: false,
eval: false,
EvalError: false,
Float32Array: false,
Float64Array: false,
Function: false,
hasOwnProperty: false,
Infinity: false,
Int16Array: false,
Int32Array: false,
Int8Array: false,
Intl: false,
isFinite: false,
isNaN: false,
isPrototypeOf: false,
JSON: false,
Map: false,
Math: false,
NaN: false,
Number: false,
Object: false,
parseFloat: false,
parseInt: false,
Promise: false,
propertyIsEnumerable: false,
Proxy: false,
RangeError: false,
ReferenceError: false,
Reflect: false,
RegExp: false,
Set: false,
SharedArrayBuffer: false,
String: false,
Symbol: false,
SyntaxError: false,
toLocaleString: false,
toString: false,
TypeError: false,
Uint16Array: false,
Uint32Array: false,
Uint8Array: false,
Uint8ClampedArray: false,
undefined: false,
unescape: false,
URIError: false,
valueOf: false,
WeakMap: false,
WeakSet: false,
};
});
67 changes: 5 additions & 62 deletions data/es2020.mjs
Original file line number Diff line number Diff line change
@@ -1,66 +1,9 @@
export default {
Array: false,
ArrayBuffer: false,
Atomics: false,
import {mergeGlobals} from '../utilities.mjs';
import es2017Globals from './es2017.mjs';

export default mergeGlobals(es2017Globals, {
BigInt: false,
BigInt64Array: false,
BigUint64Array: false,
Boolean: false,
constructor: false,
DataView: false,
Date: false,
decodeURI: false,
decodeURIComponent: false,
encodeURI: false,
encodeURIComponent: false,
Error: false,
escape: false,
eval: false,
EvalError: false,
Float32Array: false,
Float64Array: false,
Function: false,
globalThis: false,
hasOwnProperty: false,
Infinity: false,
Int16Array: false,
Int32Array: false,
Int8Array: false,
Intl: false,
isFinite: false,
isNaN: false,
isPrototypeOf: false,
JSON: false,
Map: false,
Math: false,
NaN: false,
Number: false,
Object: false,
parseFloat: false,
parseInt: false,
Promise: false,
propertyIsEnumerable: false,
Proxy: false,
RangeError: false,
ReferenceError: false,
Reflect: false,
RegExp: false,
Set: false,
SharedArrayBuffer: false,
String: false,
Symbol: false,
SyntaxError: false,
toLocaleString: false,
toString: false,
TypeError: false,
Uint16Array: false,
Uint32Array: false,
Uint8Array: false,
Uint8ClampedArray: false,
undefined: false,
unescape: false,
URIError: false,
valueOf: false,
WeakMap: false,
WeakSet: false,
};
});
71 changes: 5 additions & 66 deletions data/es2021.mjs
Original file line number Diff line number Diff line change
@@ -1,69 +1,8 @@
export default {
import {mergeGlobals} from '../utilities.mjs';
import es2020Globals from './es2020.mjs';

export default mergeGlobals(es2020Globals, {
AggregateError: false,
Array: false,
ArrayBuffer: false,
Atomics: false,
BigInt: false,
BigInt64Array: false,
BigUint64Array: false,
Boolean: false,
constructor: false,
DataView: false,
Date: false,
decodeURI: false,
decodeURIComponent: false,
encodeURI: false,
encodeURIComponent: false,
Error: false,
escape: false,
eval: false,
EvalError: false,
FinalizationRegistry: false,
Float32Array: false,
Float64Array: false,
Function: false,
globalThis: false,
hasOwnProperty: false,
Infinity: false,
Int16Array: false,
Int32Array: false,
Int8Array: false,
Intl: false,
isFinite: false,
isNaN: false,
isPrototypeOf: false,
JSON: false,
Map: false,
Math: false,
NaN: false,
Number: false,
Object: false,
parseFloat: false,
parseInt: false,
Promise: false,
propertyIsEnumerable: false,
Proxy: false,
RangeError: false,
ReferenceError: false,
Reflect: false,
RegExp: false,
Set: false,
SharedArrayBuffer: false,
String: false,
Symbol: false,
SyntaxError: false,
toLocaleString: false,
toString: false,
TypeError: false,
Uint16Array: false,
Uint32Array: false,
Uint8Array: false,
Uint8ClampedArray: false,
undefined: false,
unescape: false,
URIError: false,
valueOf: false,
WeakMap: false,
WeakRef: false,
WeakSet: false,
};
});
80 changes: 8 additions & 72 deletions data/node.mjs
Original file line number Diff line number Diff line change
@@ -1,75 +1,11 @@
// This file is autogenerated by scripts
// Do NOT modify this file manually
import {sortObject} from '../utilities.mjs';
import commonjsGlobals from './commonjs.mjs';
import nodeBuiltinGlobals from './nodeBuiltin.mjs';

export default {
export default sortObject({
...nodeBuiltinGlobals,
...commonjsGlobals,
__dirname: false,
__filename: false,
AbortController: false,
AbortSignal: false,
atob: false,
Blob: false,
BroadcastChannel: false,
btoa: false,
Buffer: false,
ByteLengthQueuingStrategy: false,
clearImmediate: false,
clearInterval: false,
clearTimeout: false,
CompressionStream: false,
console: false,
CountQueuingStrategy: false,
crypto: false,
Crypto: false,
CryptoKey: false,
CustomEvent: false,
DecompressionStream: false,
DOMException: false,
Event: false,
EventTarget: false,
exports: true,
fetch: false,
File: false,
FormData: false,
global: false,
Headers: false,
MessageChannel: false,
MessageEvent: false,
MessagePort: false,
module: false,
performance: false,
Performance: false,
PerformanceEntry: false,
PerformanceMark: false,
PerformanceMeasure: false,
PerformanceObserver: false,
PerformanceObserverEntryList: false,
PerformanceResourceTiming: false,
process: false,
queueMicrotask: false,
ReadableByteStreamController: false,
ReadableStream: false,
ReadableStreamBYOBReader: false,
ReadableStreamBYOBRequest: false,
ReadableStreamDefaultController: false,
ReadableStreamDefaultReader: false,
Request: false,
require: false,
Response: false,
setImmediate: false,
setInterval: false,
setTimeout: false,
structuredClone: false,
SubtleCrypto: false,
TextDecoder: false,
TextDecoderStream: false,
TextEncoder: false,
TextEncoderStream: false,
TransformStream: false,
TransformStreamDefaultController: false,
URL: false,
URLSearchParams: false,
WebAssembly: false,
WritableStream: false,
WritableStreamDefaultController: false,
WritableStreamDefaultWriter: false,
};
});

Loading