chore: updating deps

This commit is contained in:
Joel Male 2024-03-28 12:25:32 +10:00
parent 0de33a6f62
commit c54aaa0ec6
779 changed files with 586284 additions and 1021524 deletions

View File

@ -1 +1,2 @@
dist/
dist
node_nodules

View File

@ -1,18 +1,28 @@
{
"env": {
"commonjs": true,
"es6": true,
"es2021": true,
"jest": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}

View File

@ -1,31 +1,31 @@
import { http } from '../src/http'
import {http} from '../src/http'
import {expect, test} from '@jest/globals'
test('it makes a post request', async () => {
const url = 'https://httpbin.org/post'
const body = '{"hello": "world"}'
const res = await http.make(url, body)
expect(res.status).toBe(200)
const url = 'https://httpbin.org/post'
const body = '{"hello": "world"}'
const res = await http.make(url, body)
expect(res.status).toBe(200)
})
test('it makes a post request with insecure', async () => {
const url = 'https://httpbin.org/post'
const body = '{"hello": "world"}'
const insecure = true
const res = await http.make(url, body, null, insecure)
expect(res.status).toBe(200)
const url = 'https://httpbin.org/post'
const body = '{"hello": "world"}'
const insecure = true
const res = await http.make(url, body, null, insecure)
expect(res.status).toBe(200)
})
test('it makes a post request with headers', async () => {
const url = 'https://httpbin.org/post'
const body = '{"hello": "world"}'
const headers = '{"Content-Type": "application/json"}'
const res = await http.make(url, body, headers)
expect(res.status).toBe(200)
const url = 'https://httpbin.org/post'
const body = '{"hello": "world"}'
const headers = '{"Content-Type": "application/json"}'
const res = await http.make(url, body, headers)
expect(res.status).toBe(200)
})
test('it doesnt require a body', async () => {
const url = 'https://httpbin.org/post'
const res = await http.make(url, null)
expect(res.status).toBe(200)
})
const url = 'https://httpbin.org/post'
const res = await http.make(url, null)
expect(res.status).toBe(200)
})

565
dist/index.js vendored
View File

@ -140,7 +140,7 @@ const file_command_1 = __nccwpck_require__(717);
const utils_1 = __nccwpck_require__(5278);
const os = __importStar(__nccwpck_require__(2037));
const path = __importStar(__nccwpck_require__(1017));
const oidc_utils_1 = __nccwpck_require__(8212);
const oidc_utils_1 = __nccwpck_require__(8041);
/**
* The code to exit an action
*/
@ -425,17 +425,17 @@ exports.getIDToken = getIDToken;
/**
* Summary exports
*/
var summary_1 = __nccwpck_require__(8660);
var summary_1 = __nccwpck_require__(1327);
Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } }));
/**
* @deprecated use core.summary
*/
var summary_2 = __nccwpck_require__(8660);
var summary_2 = __nccwpck_require__(1327);
Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } }));
/**
* Path exports
*/
var path_utils_1 = __nccwpck_require__(1987);
var path_utils_1 = __nccwpck_require__(2981);
Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } }));
Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } }));
Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }));
@ -508,6 +508,445 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage;
/***/ }),
/***/ 8041:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.OidcClient = void 0;
const http_client_1 = __nccwpck_require__(6255);
const auth_1 = __nccwpck_require__(5526);
const core_1 = __nccwpck_require__(2186);
class OidcClient {
static createHttpClient(allowRetry = true, maxRetry = 10) {
const requestOptions = {
allowRetries: allowRetry,
maxRetries: maxRetry
};
return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);
}
static getRequestToken() {
const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];
if (!token) {
throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');
}
return token;
}
static getIDTokenUrl() {
const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];
if (!runtimeUrl) {
throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');
}
return runtimeUrl;
}
static getCall(id_token_url) {
var _a;
return __awaiter(this, void 0, void 0, function* () {
const httpclient = OidcClient.createHttpClient();
const res = yield httpclient
.getJson(id_token_url)
.catch(error => {
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
Error Message: ${error.message}`);
});
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
if (!id_token) {
throw new Error('Response json body do not have ID Token field');
}
return id_token;
});
}
static getIDToken(audience) {
return __awaiter(this, void 0, void 0, function* () {
try {
// New ID Token is requested from action service
let id_token_url = OidcClient.getIDTokenUrl();
if (audience) {
const encodedAudience = encodeURIComponent(audience);
id_token_url = `${id_token_url}&audience=${encodedAudience}`;
}
core_1.debug(`ID token url is ${id_token_url}`);
const id_token = yield OidcClient.getCall(id_token_url);
core_1.setSecret(id_token);
return id_token;
}
catch (error) {
throw new Error(`Error message: ${error.message}`);
}
});
}
}
exports.OidcClient = OidcClient;
//# sourceMappingURL=oidc-utils.js.map
/***/ }),
/***/ 2981:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;
const path = __importStar(__nccwpck_require__(1017));
/**
* toPosixPath converts the given path to the posix form. On Windows, \\ will be
* replaced with /.
*
* @param pth. Path to transform.
* @return string Posix path.
*/
function toPosixPath(pth) {
return pth.replace(/[\\]/g, '/');
}
exports.toPosixPath = toPosixPath;
/**
* toWin32Path converts the given path to the win32 form. On Linux, / will be
* replaced with \\.
*
* @param pth. Path to transform.
* @return string Win32 path.
*/
function toWin32Path(pth) {
return pth.replace(/[/]/g, '\\');
}
exports.toWin32Path = toWin32Path;
/**
* toPlatformPath converts the given path to a platform-specific path. It does
* this by replacing instances of / and \ with the platform-specific path
* separator.
*
* @param pth The path to platformize.
* @return string The platform-specific path.
*/
function toPlatformPath(pth) {
return pth.replace(/[/\\]/g, path.sep);
}
exports.toPlatformPath = toPlatformPath;
//# sourceMappingURL=path-utils.js.map
/***/ }),
/***/ 1327:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;
const os_1 = __nccwpck_require__(2037);
const fs_1 = __nccwpck_require__(7147);
const { access, appendFile, writeFile } = fs_1.promises;
exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';
exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';
class Summary {
constructor() {
this._buffer = '';
}
/**
* Finds the summary file path from the environment, rejects if env var is not found or file does not exist
* Also checks r/w permissions.
*
* @returns step summary file path
*/
filePath() {
return __awaiter(this, void 0, void 0, function* () {
if (this._filePath) {
return this._filePath;
}
const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];
if (!pathFromEnv) {
throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);
}
try {
yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);
}
catch (_a) {
throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);
}
this._filePath = pathFromEnv;
return this._filePath;
});
}
/**
* Wraps content in an HTML tag, adding any HTML attributes
*
* @param {string} tag HTML tag to wrap
* @param {string | null} content content within the tag
* @param {[attribute: string]: string} attrs key-value list of HTML attributes to add
*
* @returns {string} content wrapped in HTML element
*/
wrap(tag, content, attrs = {}) {
const htmlAttrs = Object.entries(attrs)
.map(([key, value]) => ` ${key}="${value}"`)
.join('');
if (!content) {
return `<${tag}${htmlAttrs}>`;
}
return `<${tag}${htmlAttrs}>${content}</${tag}>`;
}
/**
* Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.
*
* @param {SummaryWriteOptions} [options] (optional) options for write operation
*
* @returns {Promise<Summary>} summary instance
*/
write(options) {
return __awaiter(this, void 0, void 0, function* () {
const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);
const filePath = yield this.filePath();
const writeFunc = overwrite ? writeFile : appendFile;
yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });
return this.emptyBuffer();
});
}
/**
* Clears the summary buffer and wipes the summary file
*
* @returns {Summary} summary instance
*/
clear() {
return __awaiter(this, void 0, void 0, function* () {
return this.emptyBuffer().write({ overwrite: true });
});
}
/**
* Returns the current summary buffer as a string
*
* @returns {string} string of summary buffer
*/
stringify() {
return this._buffer;
}
/**
* If the summary buffer is empty
*
* @returns {boolen} true if the buffer is empty
*/
isEmptyBuffer() {
return this._buffer.length === 0;
}
/**
* Resets the summary buffer without writing to summary file
*
* @returns {Summary} summary instance
*/
emptyBuffer() {
this._buffer = '';
return this;
}
/**
* Adds raw text to the summary buffer
*
* @param {string} text content to add
* @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)
*
* @returns {Summary} summary instance
*/
addRaw(text, addEOL = false) {
this._buffer += text;
return addEOL ? this.addEOL() : this;
}
/**
* Adds the operating system-specific end-of-line marker to the buffer
*
* @returns {Summary} summary instance
*/
addEOL() {
return this.addRaw(os_1.EOL);
}
/**
* Adds an HTML codeblock to the summary buffer
*
* @param {string} code content to render within fenced code block
* @param {string} lang (optional) language to syntax highlight code
*
* @returns {Summary} summary instance
*/
addCodeBlock(code, lang) {
const attrs = Object.assign({}, (lang && { lang }));
const element = this.wrap('pre', this.wrap('code', code), attrs);
return this.addRaw(element).addEOL();
}
/**
* Adds an HTML list to the summary buffer
*
* @param {string[]} items list of items to render
* @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)
*
* @returns {Summary} summary instance
*/
addList(items, ordered = false) {
const tag = ordered ? 'ol' : 'ul';
const listItems = items.map(item => this.wrap('li', item)).join('');
const element = this.wrap(tag, listItems);
return this.addRaw(element).addEOL();
}
/**
* Adds an HTML table to the summary buffer
*
* @param {SummaryTableCell[]} rows table rows
*
* @returns {Summary} summary instance
*/
addTable(rows) {
const tableBody = rows
.map(row => {
const cells = row
.map(cell => {
if (typeof cell === 'string') {
return this.wrap('td', cell);
}
const { header, data, colspan, rowspan } = cell;
const tag = header ? 'th' : 'td';
const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));
return this.wrap(tag, data, attrs);
})
.join('');
return this.wrap('tr', cells);
})
.join('');
const element = this.wrap('table', tableBody);
return this.addRaw(element).addEOL();
}
/**
* Adds a collapsable HTML details element to the summary buffer
*
* @param {string} label text for the closed state
* @param {string} content collapsable content
*
* @returns {Summary} summary instance
*/
addDetails(label, content) {
const element = this.wrap('details', this.wrap('summary', label) + content);
return this.addRaw(element).addEOL();
}
/**
* Adds an HTML image tag to the summary buffer
*
* @param {string} src path to the image you to embed
* @param {string} alt text description of the image
* @param {SummaryImageOptions} options (optional) addition image attributes
*
* @returns {Summary} summary instance
*/
addImage(src, alt, options) {
const { width, height } = options || {};
const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));
const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));
return this.addRaw(element).addEOL();
}
/**
* Adds an HTML section heading element
*
* @param {string} text heading text
* @param {number | string} [level=1] (optional) the heading level, default: 1
*
* @returns {Summary} summary instance
*/
addHeading(text, level) {
const tag = `h${level}`;
const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)
? tag
: 'h1';
const element = this.wrap(allowedTag, text);
return this.addRaw(element).addEOL();
}
/**
* Adds an HTML thematic break (<hr>) to the summary buffer
*
* @returns {Summary} summary instance
*/
addSeparator() {
const element = this.wrap('hr', null);
return this.addRaw(element).addEOL();
}
/**
* Adds an HTML line break (<br>) to the summary buffer
*
* @returns {Summary} summary instance
*/
addBreak() {
const element = this.wrap('br', null);
return this.addRaw(element).addEOL();
}
/**
* Adds an HTML blockquote to the summary buffer
*
* @param {string} text quote text
* @param {string} cite (optional) citation url
*
* @returns {Summary} summary instance
*/
addQuote(text, cite) {
const attrs = Object.assign({}, (cite && { cite }));
const element = this.wrap('blockquote', text, attrs);
return this.addRaw(element).addEOL();
}
/**
* Adds an HTML anchor tag to the summary buffer
*
* @param {string} text link text/content
* @param {string} href hyperlink
*
* @returns {Summary} summary instance
*/
addLink(text, href) {
const element = this.wrap('a', text, { href });
return this.addRaw(element).addEOL();
}
}
const _summary = new Summary();
/**
* @deprecated use `core.summary`
*/
exports.markdownSummary = _summary;
exports.summary = _summary;
//# sourceMappingURL=summary.js.map
/***/ }),
/***/ 5278:
/***/ ((__unused_webpack_module, exports) => {
@ -1454,6 +1893,94 @@ exports.getOctokitOptions = getOctokitOptions;
/***/ }),
/***/ 5526:
/***/ (function(__unused_webpack_module, exports) {
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;
class BasicCredentialHandler {
constructor(username, password) {
this.username = username;
this.password = password;
}
prepareRequest(options) {
if (!options.headers) {
throw Error('The request has no headers');
}
options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;
}
// This handler cannot handle 401
canHandleAuthentication() {
return false;
}
handleAuthentication() {
return __awaiter(this, void 0, void 0, function* () {
throw new Error('not implemented');
});
}
}
exports.BasicCredentialHandler = BasicCredentialHandler;
class BearerCredentialHandler {
constructor(token) {
this.token = token;
}
// currently implements pre-authorization
// TODO: support preAuth = false where it hooks on 401
prepareRequest(options) {
if (!options.headers) {
throw Error('The request has no headers');
}
options.headers['Authorization'] = `Bearer ${this.token}`;
}
// This handler cannot handle 401
canHandleAuthentication() {
return false;
}
handleAuthentication() {
return __awaiter(this, void 0, void 0, function* () {
throw new Error('not implemented');
});
}
}
exports.BearerCredentialHandler = BearerCredentialHandler;
class PersonalAccessTokenCredentialHandler {
constructor(token) {
this.token = token;
}
// currently implements pre-authorization
// TODO: support preAuth = false where it hooks on 401
prepareRequest(options) {
if (!options.headers) {
throw Error('The request has no headers');
}
options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;
}
// This handler cannot handle 401
canHandleAuthentication() {
return false;
}
handleAuthentication() {
return __awaiter(this, void 0, void 0, function* () {
throw new Error('not implemented');
});
}
}
exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;
//# sourceMappingURL=auth.js.map
/***/ }),
/***/ 6255:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
@ -33219,10 +33746,10 @@ function wrappy (fn, cb) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.http = void 0;
const node_fetch_1 = __nccwpck_require__(1793);
var https = __nccwpck_require__(5687);
const https = __nccwpck_require__(5687);
class Http {
make(url, body, headers = null, ignoreCertificate = false) {
return new Promise((resolve, reject) => {
return new Promise(resolve => {
(0, node_fetch_1.default)(url, this.getOptions('post', headers, body, ignoreCertificate)).then((res) => resolve(res));
});
}
@ -33276,7 +33803,7 @@ function run() {
: process.env.headers
? process.env.headers
: null;
var body = core.getInput('body')
let body = core.getInput('body')
? core.getInput('body')
: process.env.data
? process.env.data
@ -33318,30 +33845,6 @@ function error(statusCode) {
run();
/***/ }),
/***/ 8212:
/***/ ((module) => {
module.exports = eval("require")("./oidc-utils");
/***/ }),
/***/ 1987:
/***/ ((module) => {
module.exports = eval("require")("./path-utils");
/***/ }),
/***/ 8660:
/***/ ((module) => {
module.exports = eval("require")("./summary");
/***/ }),
/***/ 9491:

View File

@ -121,7 +121,7 @@ const result = await core.group('Do something async', async () => {
This library has 3 methods that will produce [annotations](https://docs.github.com/en/rest/reference/checks#create-a-check-run).
```js
core.error('This is a bad error. This will also fail the build.')
core.error('This is a bad error, action may still succeed though.')
core.warning('Something went wrong, but it\'s not bad enough to fail the build.')
@ -163,7 +163,7 @@ export interface AnnotationProperties {
startColumn?: number
/**
* The start column for the annotation. Cannot be sent when `startLine` and `endLine` are different values.
* The end column for the annotation. Cannot be sent when `startLine` and `endLine` are different values.
* Defaults to `startColumn` when `startColumn` is provided.
*/
endColumn?: number

View File

@ -21,7 +21,7 @@ export declare enum ExitCode {
Failure = 1
}
/**
* Optional properties that can be sent with annotatation commands (notice, error, and warning)
* Optional properties that can be sent with annotation commands (notice, error, and warning)
* See: https://docs.github.com/en/rest/reference/checks#create-a-check-run for more information about annotations.
*/
export interface AnnotationProperties {
@ -46,7 +46,7 @@ export interface AnnotationProperties {
*/
startColumn?: number;
/**
* The start column for the annotation. Cannot be sent when `startLine` and `endLine` are different values.
* The end column for the annotation. Cannot be sent when `startLine` and `endLine` are different values.
* Defaults to `startColumn` when `startColumn` is provided.
*/
endColumn?: number;

View File

@ -1,6 +1,6 @@
{
"name": "@actions/core",
"version": "1.10.0",
"version": "1.10.1",
"description": "Actions core lib",
"keywords": [
"github",
@ -30,7 +30,7 @@
"scripts": {
"audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json",
"test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc"
"tsc": "tsc -p tsconfig.json"
},
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
@ -43,4 +43,4 @@
"@types/node": "^12.0.2",
"@types/uuid": "^8.3.4"
}
}
}

View File

@ -4,11 +4,11 @@ Copyright JS Foundation and other contributors, https://js.foundation
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE

View File

@ -1,304 +1,10 @@
<h1 align="center">TypeScript ESLint Parser</h1>
# `@typescript-eslint/parser`
<p align="center">An ESLint parser which leverages <a href="https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/typescript-estree">TypeScript ESTree</a> to allow for ESLint to lint TypeScript source code.</p>
> An ESLint parser which leverages <a href="https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/typescript-estree">TypeScript ESTree</a> to allow for ESLint to lint TypeScript source code.
<p align="center">
<img src="https://github.com/typescript-eslint/typescript-eslint/workflows/CI/badge.svg" alt="CI" />
<a href="https://www.npmjs.com/package/@typescript-eslint/parser"><img src="https://img.shields.io/npm/v/@typescript-eslint/parser.svg?style=flat-square" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/package/@typescript-eslint/parser"><img src="https://img.shields.io/npm/dm/@typescript-eslint/parser.svg?style=flat-square" alt="NPM Downloads" /></a>
</p>
[![NPM Version](https://img.shields.io/npm/v/@typescript-eslint/parser.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/parser)
[![NPM Downloads](https://img.shields.io/npm/dm/@typescript-eslint/parser.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/parser)
## Getting Started
👉 See **https://typescript-eslint.io/packages/parser** for documentation on this package.
**[You can find our Getting Started docs here](https://typescript-eslint.io/docs)**
These docs walk you through setting up ESLint, this parser, and our plugin. If you know what you're doing and just want to quick start, read on...
## Quick-start
### Installation
```bash
$ yarn add -D typescript @typescript-eslint/parser
$ npm i --save-dev typescript @typescript-eslint/parser
```
### Usage
In your ESLint configuration file, set the `parser` property:
```json
{
"parser": "@typescript-eslint/parser"
}
```
There is sometimes an incorrect assumption that the parser itself is what does everything necessary to facilitate the use of ESLint with TypeScript. In actuality, it is the combination of the parser _and_ one or more plugins which allow you to maximize your usage of ESLint with TypeScript.
For example, once this parser successfully produces an AST for the TypeScript source code, it might well contain some information which simply does not exist in a standard JavaScript context, such as the data for a TypeScript-specific construct, like an `interface`.
The core rules built into ESLint, such as `indent` have no knowledge of such constructs, so it is impossible to expect them to work out of the box with them.
Instead, you also need to make use of one more plugins which will add or extend rules with TypeScript-specific features.
By far the most common case will be installing the [`@typescript-eslint/eslint-plugin`](https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin) plugin, but there are also other relevant options available such a [`@typescript-eslint/eslint-plugin-tslint`](https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin-tslint).
## Configuration
The following additional configuration options are available by specifying them in [`parserOptions`](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options) in your ESLint configuration file.
```ts
interface ParserOptions {
ecmaFeatures?: {
jsx?: boolean;
globalReturn?: boolean;
};
ecmaVersion?: number | 'latest';
jsxPragma?: string | null;
jsxFragmentName?: string | null;
lib?: string[];
project?: string | string[];
projectFolderIgnoreList?: string[];
tsconfigRootDir?: string;
extraFileExtensions?: string[];
warnOnUnsupportedTypeScriptVersion?: boolean;
program?: import('typescript').Program;
moduleResolver?: string;
emitDecoratorMetadata?: boolean;
}
```
### `parserOptions.ecmaFeatures.jsx`
Default `false`.
Enable parsing JSX when `true`. More details can be found [here](https://www.typescriptlang.org/docs/handbook/jsx.html).
**NOTE:** this setting does not affect known file types (`.js`, `.mjs`, `.cjs`, `.jsx`, `.ts`, `.mts`, `.cts`, `.tsx`, `.json`) because the TypeScript compiler has its own internal handling for known file extensions.
<!-- https://github.com/microsoft/TypeScript/blob/d6e483b8dabd8fd37c00954c3f2184bb7f1eb90c/src/compiler/utilities.ts#L6281-L6285 -->
The exact behavior is as follows:
- `.js`, `.mjs`, `.cjs`, `.jsx`, `.tsx` files are always parsed as if this is `true`.
- `.ts`, `.mts`, `.cts` files are always parsed as if this is `false`.
- For "unknown" extensions (`.md`, `.vue`):
- If `parserOptions.project` is _not_ provided:
- The setting will be respected.
- If `parserOptions.project` is provided (i.e. you are using rules with type information):
- **always parsed as if this is `false`**
### `parserOptions.ecmaFeatures.globalReturn`
Default `false`.
This options allows you to tell the parser if you want to allow global `return` statements in your codebase.
### `parserOptions.ecmaVersion`
Default `2018`.
Accepts any valid ECMAScript version number or `'latest'`:
- A version: es3, es5, es6, es7, es8, es9, es10, es11, es12, es13, ..., or
- A year: es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, ..., or
- `'latest'`
When it's a version or a year, the value **must** be a number - so do not include the `es` prefix.
Specifies the version of ECMAScript syntax you want to use. This is used by the parser to determine how to perform scope analysis, and it affects the default
### `parserOptions.jsxPragma`
Default `'React'`
The identifier that's used for JSX Elements creation (after transpilation).
If you're using a library other than React (like `preact`), then you should change this value. If you are using the [new JSX transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) you can set this to `null`.
This should not be a member expression - just the root identifier (i.e. use `"React"` instead of `"React.createElement"`).
If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler.
### `parserOptions.jsxFragmentName`
Default `null`
The identifier that's used for JSX fragment elements (after transpilation).
If `null`, assumes transpilation will always use a member of the configured `jsxPragma`.
This should not be a member expression - just the root identifier (i.e. use `"h"` instead of `"h.Fragment"`).
If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler.
### `parserOptions.lib`
Default `['es2018']`
For valid options, see the [TypeScript compiler options](https://www.typescriptlang.org/tsconfig#lib).
Specifies the TypeScript `lib`s that are available. This is used by the scope analyser to ensure there are global variables declared for the types exposed by TypeScript.
If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler.
### `parserOptions.project`
Default `undefined`.
This option allows you to provide a path to your project's `tsconfig.json`. **This setting is required if you want to use rules which require type information**. Relative paths are interpreted relative to the current working directory if `tsconfigRootDir` is not set. If you intend on running ESLint from directories other than the project root, you should consider using `tsconfigRootDir`.
- Accepted values:
```js
// path
project: './tsconfig.json';
// glob pattern
project: './packages/**/tsconfig.json';
// array of paths and/or glob patterns
project: ['./packages/**/tsconfig.json', './separate-package/tsconfig.json'];
```
- If you use project references, TypeScript will not automatically use project references to resolve files. This means that you will have to add each referenced tsconfig to the `project` field either separately, or via a glob.
- Note that using wide globs `**` in your `parserOptions.project` may cause performance implications. Instead of globs that use `**` to recursively check all folders, prefer paths that use a single `*` at a time. For more info see [#2611](https://github.com/typescript-eslint/typescript-eslint/issues/2611).
- TypeScript will ignore files with duplicate filenames in the same folder (for example, `src/file.ts` and `src/file.js`). TypeScript purposely ignore all but one of the files, only keeping the one file with the highest priority extension (the extension priority order (from highest to lowest) is `.ts`, `.tsx`, `.d.ts`, `.js`, `.jsx`). For more info see #955.
- Note that if this setting is specified and `createDefaultProgram` is not, you must only lint files that are included in the projects as defined by the provided `tsconfig.json` files. If your existing configuration does not include all of the files you would like to lint, you can create a separate `tsconfig.eslint.json` as follows:
```jsonc
{
// extend your base config so you don't have to redefine your compilerOptions
"extends": "./tsconfig.json",
"include": [
"src/**/*.ts",
"test/**/*.ts",
"typings/**/*.ts",
// etc
// if you have a mixed JS/TS codebase, don't forget to include your JS files
"src/**/*.js"
]
}
```
### `parserOptions.tsconfigRootDir`
Default `undefined`.
This option allows you to provide the root directory for relative tsconfig paths specified in the `project` option above.
### `parserOptions.projectFolderIgnoreList`
Default `["**/node_modules/**"]`.
This option allows you to ignore folders from being included in your provided list of `project`s.
This is useful if you have configured glob patterns, but want to make sure you ignore certain folders.
It accepts an array of globs to exclude from the `project` globs.
For example, by default it will ensure that a glob like `./**/tsconfig.json` will not match any `tsconfig`s within your `node_modules` folder (some npm packages do not exclude their source files from their published packages).
### `parserOptions.extraFileExtensions`
Default `undefined`.
This option allows you to provide one or more additional file extensions which should be considered in the TypeScript Program compilation.
The default extensions are `['.js', '.mjs', '.cjs', '.jsx', '.ts', '.mts', '.cts', '.tsx']`.
Add extensions starting with `.`, followed by the file extension. E.g. for a `.vue` file use `"extraFileExtensions": [".vue"]`.
### `parserOptions.warnOnUnsupportedTypeScriptVersion`
Default `true`.
This option allows you to toggle the warning that the parser will give you if you use a version of TypeScript which is not explicitly supported
### `parserOptions.createDefaultProgram`
Default `false`.
This option allows you to request that when the `project` setting is specified, files will be allowed when not included in the projects defined by the provided `tsconfig.json` files. **Using this option will incur significant performance costs. This option is primarily included for backwards-compatibility.** See the **`project`** section above for more information.
### `parserOptions.programs`
Default `undefined`.
This option allows you to programmatically provide an array of one or more instances of a TypeScript Program object that will provide type information to rules.
This will override any programs that would have been computed from `parserOptions.project` or `parserOptions.createDefaultProgram`.
All linted files must be part of the provided program(s).
### `parserOptions.moduleResolver`
Default `undefined`.
This option allows you to provide a custom module resolution. The value should point to a JS file that default exports (`export default`, or `module.exports =`, or `export =`) a file with the following interface:
```ts
interface ModuleResolver {
version: 1;
resolveModuleNames(
moduleNames: string[],
containingFile: string,
reusedNames: string[] | undefined,
redirectedReference: ts.ResolvedProjectReference | undefined,
options: ts.CompilerOptions,
): (ts.ResolvedModule | undefined)[];
}
```
[Refer to the TypeScript Wiki for an example on how to write the `resolveModuleNames` function](https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#customizing-module-resolution).
Note that if you pass custom programs via `options.programs` this option will not have any effect over them (you can simply add the custom resolution on them directly).
### `parserOptions.emitDecoratorMetadata`
Default `undefined`.
This option allow you to tell parser to act as if `emitDecoratorMetadata: true` is set in `tsconfig.json`, but without [type-aware linting](https://typescript-eslint.io/docs/linting/typed-linting). In other words, you don't have to specify `parserOptions.project` in this case, making the linting process faster.
## Utilities
### `createProgram(configFile, projectDirectory)`
This serves as a utility method for users of the `parserOptions.programs` feature to create a TypeScript program instance from a config file.
```ts
declare function createProgram(
configFile: string,
projectDirectory?: string,
): import('typescript').Program;
```
Example usage in .eslintrc.js:
```js
const parser = require('@typescript-eslint/parser');
const programs = [parser.createProgram('tsconfig.json')];
module.exports = {
parserOptions: {
programs,
},
};
```
## Supported TypeScript Version
Please see [`typescript-eslint`](https://github.com/typescript-eslint/typescript-eslint) for the supported TypeScript version.
**Please ensure that you are using a supported version before submitting any issues/bug reports.**
## Reporting Issues
Please use the `@typescript-eslint/parser` issue template when creating your issue and fill out the information requested as best you can. This will really help us when looking into your issue.
## License
TypeScript ESLint Parser is licensed under a permissive BSD 2-clause license.
## Contributing
[See the contributing guide here](../../CONTRIBUTING.md)
> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.

View File

@ -1,4 +1,8 @@
export { parse, parseForESLint, ParserOptions } from './parser';
export { ParserServices, clearCaches, createProgram, } from '@typescript-eslint/typescript-estree';
export declare const version: string;
export declare const meta: {
name: string;
version: string;
};
//# sourceMappingURL=index.d.ts.map

View File

@ -1 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EACL,cAAc,EACd,WAAW,EACX,aAAa,GACd,MAAM,sCAAsC,CAAC;AAI9C,eAAO,MAAM,OAAO,EAAE,MAA2C,CAAC"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EACL,cAAc,EACd,WAAW,EACX,aAAa,GACd,MAAM,sCAAsC,CAAC;AAI9C,eAAO,MAAM,OAAO,EAAE,MAA2C,CAAC;AAElE,eAAO,MAAM,IAAI;;;CAGhB,CAAC"}

View File

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = exports.createProgram = exports.clearCaches = exports.parseForESLint = exports.parse = void 0;
exports.meta = exports.version = exports.createProgram = exports.clearCaches = exports.parseForESLint = exports.parse = void 0;
var parser_1 = require("./parser");
Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return parser_1.parse; } });
Object.defineProperty(exports, "parseForESLint", { enumerable: true, get: function () { return parser_1.parseForESLint; } });
@ -10,4 +10,8 @@ Object.defineProperty(exports, "createProgram", { enumerable: true, get: functio
// note - cannot migrate this to an import statement because it will make TSC copy the package.json to the dist folder
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
exports.version = require('../package.json').version;
exports.meta = {
name: 'typescript-eslint/parser',
version: exports.version,
};
//# sourceMappingURL=index.js.map

View File

@ -1 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAAgE;AAAvD,+FAAA,KAAK,OAAA;AAAE,wGAAA,cAAc,OAAA;AAC9B,0EAI8C;AAF5C,gHAAA,WAAW,OAAA;AACX,kHAAA,aAAa,OAAA;AAGf,sHAAsH;AACtH,+GAA+G;AAClG,QAAA,OAAO,GAAW,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAAgE;AAAvD,+FAAA,KAAK,OAAA;AAAE,wGAAA,cAAc,OAAA;AAC9B,0EAI8C;AAF5C,gHAAA,WAAW,OAAA;AACX,kHAAA,aAAa,OAAA;AAGf,sHAAsH;AACtH,+GAA+G;AAClG,QAAA,OAAO,GAAW,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC;AAErD,QAAA,IAAI,GAAG;IAClB,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAP,eAAO;CACR,CAAC"}

View File

@ -1 +1 @@
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA,OAAO,KA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C;AAO9C,UAAU,oBAAoB;IAC5B,GAAG,EAAE,QAAQ,CAAC,OAAO,GAAG;QACtB,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACzB,MAAM,CAAC,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;QAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;KAC/B,CAAC;IACF,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,OAAO,WAAW,CAAC;IAChC,YAAY,EAAE,YAAY,CAAC;CAC5B;AAmDD,iBAAS,KAAK,CACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,aAAa,GACtB,oBAAoB,CAAC,KAAK,CAAC,CAE7B;AAED,iBAAS,cAAc,CACrB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,GAC7B,oBAAoB,CAsFtB;AAED,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}

View File

@ -28,10 +28,14 @@ function getLib(compilerOptions) {
}, []);
}
const target = (_a = compilerOptions.target) !== null && _a !== void 0 ? _a : typescript_1.ScriptTarget.ES5;
// https://github.com/Microsoft/TypeScript/blob/59ad375234dc2efe38d8ee0ba58414474c1d5169/src/compiler/utilitiesPublic.ts#L13-L32
// https://github.com/microsoft/TypeScript/blob/ae582a22ee1bb052e19b7c1bc4cac60509b574e0/src/compiler/utilitiesPublic.ts#L13-L36
switch (target) {
case typescript_1.ScriptTarget.ESNext:
return ['esnext.full'];
case typescript_1.ScriptTarget.ES2022:
return ['es2022.full'];
case typescript_1.ScriptTarget.ES2021:
return ['es2021.full'];
case typescript_1.ScriptTarget.ES2020:
return ['es2020.full'];
case typescript_1.ScriptTarget.ES2019:
@ -97,23 +101,21 @@ function parseForESLint(code, options) {
analyzeOptions.lib = getLib(compilerOptions);
log('Resolved libs from program: %o', analyzeOptions.lib);
}
if (parserOptions.jsx === true) {
if (analyzeOptions.jsxPragma === undefined &&
compilerOptions.jsxFactory != null) {
// in case the user has specified something like "preact.h"
const factory = compilerOptions.jsxFactory.split('.')[0].trim();
analyzeOptions.jsxPragma = factory;
log('Resolved jsxPragma from program: %s', analyzeOptions.jsxPragma);
}
if (analyzeOptions.jsxFragmentName === undefined &&
compilerOptions.jsxFragmentFactory != null) {
// in case the user has specified something like "preact.Fragment"
const fragFactory = compilerOptions.jsxFragmentFactory
.split('.')[0]
.trim();
analyzeOptions.jsxFragmentName = fragFactory;
log('Resolved jsxFragmentName from program: %s', analyzeOptions.jsxFragmentName);
}
if (analyzeOptions.jsxPragma === undefined &&
compilerOptions.jsxFactory != null) {
// in case the user has specified something like "preact.h"
const factory = compilerOptions.jsxFactory.split('.')[0].trim();
analyzeOptions.jsxPragma = factory;
log('Resolved jsxPragma from program: %s', analyzeOptions.jsxPragma);
}
if (analyzeOptions.jsxFragmentName === undefined &&
compilerOptions.jsxFragmentFactory != null) {
// in case the user has specified something like "preact.Fragment"
const fragFactory = compilerOptions.jsxFragmentFactory
.split('.')[0]
.trim();
analyzeOptions.jsxFragmentName = fragFactory;
log('Resolved jsxFragmentName from program: %s', analyzeOptions.jsxFragmentName);
}
if (compilerOptions.emitDecoratorMetadata === true) {
emitDecoratorMetadata = true;

View File

@ -1 +1 @@
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;;AAIA,oEAA2D;AAO3D,4EAG8C;AAC9C,kDAA0B;AAE1B,2CAA0C;AAE1C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,iCAAiC,CAAC,CAAC;AAarD,SAAS,eAAe,CACtB,KAA0B,EAC1B,QAAQ,GAAG,KAAK;IAEhB,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE;QAC9B,OAAO,QAAQ,CAAC;KACjB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;AACpD,SAAS,MAAM,C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,CAAC,UAAU,IAAI,IAAI,EAClC;YACA,2DAA2D;YAC3D,MAAM,OAAO,GAAG,eAAe,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;YAChE,cAAc,CAAC,SAAS,GAAG,OAAO,CAAC;YACnC,GAAG,CAAC,qCAAqC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;SACtE;QACD,IACE,cAAc,CAAC,eAAe,KAAK,SAAS;YAC5C,eAAe,CAAC,kBAAkB,IAAI,IAAI,EAC1C;YACA,kEAAkE;YAClE,MAAM,WAAW,GAAG,eAAe,CAAC,kBAAkB;iBACnD,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;iBACb,IAAI,EAAE,CAAC;YACV,cAAc,CAAC,eAAe,GAAG,WAAW,CAAC;YAC7C,GAAG,CACD,2CAA2C,EAC3C,cAAc,CAAC,eAAe,CAC/B,CAAC;SACH;QACD,IAAI,eAAe,CAAC,qBAAqB,KAAK,IAAI,EAAE;YAClD,qBAAqB,GAAG,IAAI,CAAC;SAC9B;KACF;IAED,IAAI,qBAAqB,EAAE;QACzB,cAAc,CAAC,qBAAqB,GAAG,IAAI,CAAC;KAC7C;IAED,MAAM,YAAY,GAAG,IAAA,uBAAO,EAAC,GAAG,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAX,+BAAW,EAAE,CAAC;AACtD,CAAC;AAEe,wCAAc"}

View File

@ -1 +0,0 @@
../../../../eslint/bin/eslint.js

View File

@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/parser",
"version": "5.42.1",
"version": "5.62.0",
"description": "An ESLint custom parser which leverages TypeScript ESTree",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -37,7 +37,7 @@
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "eslint . --ignore-path='../../.eslintignore'",
"lint": "nx lint",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
@ -45,9 +45,9 @@
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
},
"dependencies": {
"@typescript-eslint/scope-manager": "5.42.1",
"@typescript-eslint/types": "5.42.1",
"@typescript-eslint/typescript-estree": "5.42.1",
"@typescript-eslint/scope-manager": "5.62.0",
"@typescript-eslint/types": "5.62.0",
"@typescript-eslint/typescript-estree": "5.62.0",
"debug": "^4.3.4"
},
"devDependencies": {
@ -71,5 +71,5 @@
]
}
},
"gitHead": "b8b24c211695c00317c93e1da1bf80b6d9c6837c"
"gitHead": "cba0d113bba1bbcee69149c954dc6bd4c658c714"
}

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019 TypeScript ESLint and other contributors
Copyright (c) 2019 typescript-eslint and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,120 +1,10 @@
<h1 align="center">TypeScript Scope Manager</h1>
# `@typescript-eslint/scope-manager`
<p align="center">
<img src="https://github.com/typescript-eslint/typescript-eslint/workflows/CI/badge.svg" alt="CI" />
<a href="https://www.npmjs.com/package/@typescript-eslint/scope-manager"><img src="https://img.shields.io/npm/v/@typescript-eslint/scope-manager.svg?style=flat-square" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/package/@typescript-eslint/scope-manager"><img src="https://img.shields.io/npm/dm/@typescript-eslint/scope-manager.svg?style=flat-square" alt="NPM Downloads" /></a>
</p>
[![NPM Version](https://img.shields.io/npm/v/@typescript-eslint/scope-manager.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/scope-manager)
[![NPM Downloads](https://img.shields.io/npm/dm/@typescript-eslint/scope-manager.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/scope-manager)
This is a fork of [`eslint-scope`](https://github.com/eslint/eslint-scope), enhanced to support TypeScript functionality.
[You can view the original license for the code here](https://github.com/eslint/eslint-scope/blob/dbddf14d5771b21b5da704213e4508c660ca1c64/LICENSE).
👉 See **https://typescript-eslint.io/packages/scope-manager** for documentation on this package.
This package is consumed automatically by [`@typescript-eslint/parser`](../parser).
You probably don't want to use it directly.
> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.
## Getting Started
**[You can find our Getting Started docs here](https://typescript-eslint.io/docs)**
## Installation
```bash
$ yarn add -D typescript @typescript-eslint/scope-manager
$ npm i --save-dev typescript @typescript-eslint/scope-manager
```
## API
### `analyze(tree, options)`
Analyses a given AST and returns the resulting `ScopeManager`.
```ts
interface AnalyzeOptions {
/**
* Known visitor keys.
*/
childVisitorKeys?: Record<string, string[]> | null;
/**
* Which ECMAScript version is considered.
* Defaults to `2018`.
* `'latest'` is converted to 1e8 at parser.
*/
ecmaVersion?: EcmaVersion | 1e8;
/**
* Whether the whole script is executed under node.js environment.
* When enabled, the scope manager adds a function scope immediately following the global scope.
* Defaults to `false`.
*/
globalReturn?: boolean;
/**
* Implied strict mode (if ecmaVersion >= 5).
* Defaults to `false`.
*/
impliedStrict?: boolean;
/**
* The identifier that's used for JSX Element creation (after transpilation).
* This should not be a member expression - just the root identifier (i.e. use "React" instead of "React.createElement").
* Defaults to `"React"`.
*/
jsxPragma?: string;
/**
* The identifier that's used for JSX fragment elements (after transpilation).
* If `null`, assumes transpilation will always use a member on `jsxFactory` (i.e. React.Fragment).
* This should not be a member expression - just the root identifier (i.e. use "h" instead of "h.Fragment").
* Defaults to `null`.
*/
jsxFragmentName?: string | null;
/**
* The lib used by the project.
* This automatically defines a type variable for any types provided by the configured TS libs.
* For more information, see https://www.typescriptlang.org/tsconfig#lib
*
* Defaults to the lib for the provided `ecmaVersion`.
*/
lib?: Lib[];
/**
* The source type of the script.
*/
sourceType?: 'script' | 'module';
/**
* Emit design-type metadata for decorated declarations in source.
* Defaults to `false`.
*/
emitDecoratorMetadata?: boolean;
}
```
Example usage:
```ts
import { analyze } from '@typescript-eslint/scope-manager';
import { parse } from '@typescript-eslint/typescript-estree';
const code = `const hello: string = 'world';`;
const ast = parse(code, {
// note that scope-manager requires ranges on the AST
range: true,
});
const scope = analyze(ast, {
ecmaVersion: 2020,
sourceType: 'module',
});
```
## References
- https://eslint.org/docs/developer-guide/scope-manager-interface
- https://github.com/eslint/eslint-scope
## Contributing
[See the contributing guide here](../../CONTRIBUTING.md)
<!-- Local path for docs: docs/packages/Scope_Manager.mdx -->

View File

@ -7,8 +7,7 @@ function createIdGenerator() {
const key = (NEXT_KEY += 1);
ID_CACHE.set(key, 0);
return () => {
var _a;
const current = (_a = ID_CACHE.get(key)) !== null && _a !== void 0 ? _a : 0;
const current = ID_CACHE.get(key) ?? 0;
const next = current + 1;
ID_CACHE.set(key, next);
return next;

View File

@ -1 +1 @@
{"version":3,"file":"ID.js","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":";;;AAAA,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC3C,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB,SAAS,iBAAiB;IACxB,MAAM,GAAG,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;IAC5B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAErB,OAAO,GAAW,EAAE;;QAClB,MAAM,OAAO,GAAG,MAAA,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,mCAAI,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,OAAO,GAAG,CAAC,CAAC;QACzB,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAMQ,8CAAiB;AAJ1B,SAAS,QAAQ;IACf,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC;AAE2B,4BAAQ"}
{"version":3,"file":"ID.js","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":";;;AAAA,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC3C,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB,SAAS,iBAAiB;IACxB,MAAM,GAAG,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;IAC5B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAErB,OAAO,GAAW,EAAE;QAClB,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,OAAO,GAAG,CAAC,CAAC;QACzB,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAMQ,8CAAiB;AAJ1B,SAAS,QAAQ;IACf,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC;AAE2B,4BAAQ"}

View File

@ -1,4 +1,4 @@
import type { TSESTree } from '@typescript-eslint/types';
import type { SourceType, TSESTree } from '@typescript-eslint/types';
import type { Scope } from './scope';
import { BlockScope, CatchScope, ClassScope, ConditionalTypeScope, ForScope, FunctionExpressionNameScope, FunctionScope, FunctionTypeScope, GlobalScope, MappedTypeScope, ModuleScope, SwitchScope, TSEnumScope, TSModuleScope, TypeScope, WithScope } from './scope';
import { ClassFieldInitializerScope } from './scope/ClassFieldInitializerScope';
@ -6,17 +6,18 @@ import { ClassStaticBlockScope } from './scope/ClassStaticBlockScope';
import type { Variable } from './variable';
interface ScopeManagerOptions {
globalReturn?: boolean;
sourceType?: 'module' | 'script';
impliedStrict?: boolean;
ecmaVersion?: number;
sourceType?: SourceType;
}
/**
* @see https://eslint.org/docs/latest/developer-guide/scope-manager-interface#scopemanager-interface
*/
declare class ScopeManager {
#private;
currentScope: Scope | null;
readonly declaredVariables: WeakMap<TSESTree.Node, Variable[]>;
/**
* The root scope
* @public
*/
globalScope: GlobalScope | null;
readonly nodeToScope: WeakMap<TSESTree.Node, Scope[]>;
@ -36,7 +37,6 @@ declare class ScopeManager {
* Get the variables that a given AST node defines. The gotten variables' `def[].node`/`def[].parent` property is the node.
* If the node does not define any variable, this returns an empty array.
* @param node An AST node to get their variables.
* @public
*/
getDeclaredVariables(node: TSESTree.Node): Variable[];
/**
@ -46,7 +46,6 @@ declare class ScopeManager {
* @param node An AST node to get their scope.
* @param inner If the node has multiple scopes, this returns the outermost scope normally.
* If `inner` is `true` then this returns the innermost scope.
* @public
*/
acquire(node: TSESTree.Node, inner?: boolean): Scope | null;
protected nestScope<T extends Scope>(scope: T): T;

View File

@ -1 +1 @@
{"version":3,"file":"ScopeManager.d.ts","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EACL,UAAU,EACV,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,QAAQ,EACR,2BAA2B,EAC3B,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,WAAW,EACX,WAAW,EACX,WAAW,EACX,aAAa,EACb,SAAS,EACT,SAAS,EACV,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,UAAU,mBAAmB;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CA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,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAKlD,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;CAI1D;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}

View File

@ -17,16 +17,10 @@ const assert_1 = require("./assert");
const scope_1 = require("./scope");
const ClassFieldInitializerScope_1 = require("./scope/ClassFieldInitializerScope");
const ClassStaticBlockScope_1 = require("./scope/ClassStaticBlockScope");
/**
* @see https://eslint.org/docs/latest/developer-guide/scope-manager-interface#scopemanager-interface
*/
class ScopeManager {
constructor(options) {
_ScopeManager_options.set(this, void 0);
this.scopes = [];
this.globalScope = null;
this.nodeToScope = new WeakMap();
this.currentScope = null;
__classPrivateFieldSet(this, _ScopeManager_options, options, "f");
this.declaredVariables = new WeakMap();
}
get variables() {
const variables = new Set();
function recurse(scope) {
@ -36,6 +30,15 @@ class ScopeManager {
this.scopes.forEach(recurse);
return Array.from(variables).sort((a, b) => a.$id - b.$id);
}
constructor(options) {
_ScopeManager_options.set(this, void 0);
this.scopes = [];
this.globalScope = null;
this.nodeToScope = new WeakMap();
this.currentScope = null;
__classPrivateFieldSet(this, _ScopeManager_options, options, "f");
this.declaredVariables = new WeakMap();
}
isGlobalReturn() {
return __classPrivateFieldGet(this, _ScopeManager_options, "f").globalReturn === true;
}
@ -46,20 +49,18 @@ class ScopeManager {
return __classPrivateFieldGet(this, _ScopeManager_options, "f").impliedStrict === true;
}
isStrictModeSupported() {
return __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion != null && __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion >= 5;
return true;
}
isES6() {
return __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion != null && __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion >= 6;
return true;
}
/**
* Get the variables that a given AST node defines. The gotten variables' `def[].node`/`def[].parent` property is the node.
* If the node does not define any variable, this returns an empty array.
* @param node An AST node to get their variables.
* @public
*/
getDeclaredVariables(node) {
var _a;
return (_a = this.declaredVariables.get(node)) !== null && _a !== void 0 ? _a : [];
return this.declaredVariables.get(node) ?? [];
}
/**
* Get the scope of a given AST node. The gotten scope's `block` property is the node.
@ -68,12 +69,11 @@ class ScopeManager {
* @param node An AST node to get their scope.
* @param inner If the node has multiple scopes, this returns the outermost scope normally.
* If `inner` is `true` then this returns the innermost scope.
* @public
*/
acquire(node, inner = false) {
var _a;
function predicate(testScope) {
if (testScope.type === 'function' && testScope.functionExpressionScope) {
if (testScope.type === scope_1.ScopeType.function &&
testScope.functionExpressionScope) {
return false;
}
return true;
@ -96,11 +96,11 @@ class ScopeManager {
}
return null;
}
return (_a = scopes.find(predicate)) !== null && _a !== void 0 ? _a : null;
return scopes.find(predicate) ?? null;
}
nestScope(scope) {
if (scope instanceof scope_1.GlobalScope) {
(0, assert_1.assert)(this.currentScope === null);
(0, assert_1.assert)(this.currentScope == null);
this.globalScope = scope;
}
this.currentScope = scope;

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import type { EcmaVersion, Lib, TSESTree } from '@typescript-eslint/types';
import type { Lib, SourceType, TSESTree } from '@typescript-eslint/types';
import type { ReferencerOptions } from './referencer';
import { ScopeManager } from './ScopeManager';
interface AnalyzeOptions {
@ -6,12 +6,6 @@ interface AnalyzeOptions {
* Known visitor keys.
*/
childVisitorKeys?: ReferencerOptions['childVisitorKeys'];
/**
* Which ECMAScript version is considered.
* Defaults to `2018`.
* `'latest'` is converted to 1e8 at parser.
*/
ecmaVersion?: EcmaVersion | 1e8;
/**
* Whether the whole script is executed under node.js environment.
* When enabled, the scope manager adds a function scope immediately following the global scope.
@ -19,7 +13,7 @@ interface AnalyzeOptions {
*/
globalReturn?: boolean;
/**
* Implied strict mode (if ecmaVersion >= 5).
* Implied strict mode.
* Defaults to `false`.
*/
impliedStrict?: boolean;
@ -39,7 +33,7 @@ interface AnalyzeOptions {
/**
* The lib used by the project.
* This automatically defines a type variable for any types provided by the configured TS libs.
* Defaults to the lib for the provided `ecmaVersion`.
* Defaults to ['esnext'].
*
* https://www.typescriptlang.org/tsconfig#lib
*/
@ -47,10 +41,9 @@ interface AnalyzeOptions {
/**
* The source type of the script.
*/
sourceType?: 'script' | 'module';
sourceType?: SourceType;
/**
* Emit design-type metadata for decorated declarations in source.
* Defaults to `false`.
* @deprecated This option never did what it was intended for and will be removed in a future major release.
*/
emitDecoratorMetadata?: boolean;
}

View File

@ -1 +1 @@
{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,UAAU,cAAc;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAEzD;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,GAAG,GAAG,CAAC;IAEhC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAEjC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AA6BD;;GAEG;AACH,iBAAS,OAAO,CACd,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CAgCd;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC"}
{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAG1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,UAAU,cAAc;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAEzD;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAaD;;GAEG;AACH,iBAAS,OAAO,CACd,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CA2Bd;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC"}

View File

@ -2,12 +2,10 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.analyze = void 0;
const visitor_keys_1 = require("@typescript-eslint/visitor-keys");
const lib_1 = require("./lib");
const referencer_1 = require("./referencer");
const ScopeManager_1 = require("./ScopeManager");
const DEFAULT_OPTIONS = {
childVisitorKeys: visitor_keys_1.visitorKeys,
ecmaVersion: 2018,
globalReturn: false,
impliedStrict: false,
jsxPragma: 'React',
@ -16,36 +14,21 @@ const DEFAULT_OPTIONS = {
sourceType: 'script',
emitDecoratorMetadata: false,
};
/**
* Convert ecmaVersion to lib.
* `'latest'` is converted to 1e8 at parser.
*/
function mapEcmaVersion(version) {
if (version == null || version === 3 || version === 5) {
return 'es5';
}
const year = version > 2000 ? version : 2015 + (version - 6);
const lib = `es${year}`;
return lib in lib_1.lib ? lib : year > 2020 ? 'esnext' : 'es5';
}
/**
* Takes an AST and returns the analyzed scopes.
*/
function analyze(tree, providedOptions) {
var _a, _b, _c, _d, _e, _f, _g, _h;
const ecmaVersion = (_a = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.ecmaVersion) !== null && _a !== void 0 ? _a : DEFAULT_OPTIONS.ecmaVersion;
const options = {
childVisitorKeys: (_b = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.childVisitorKeys) !== null && _b !== void 0 ? _b : DEFAULT_OPTIONS.childVisitorKeys,
ecmaVersion,
globalReturn: (_c = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.globalReturn) !== null && _c !== void 0 ? _c : DEFAULT_OPTIONS.globalReturn,
impliedStrict: (_d = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.impliedStrict) !== null && _d !== void 0 ? _d : DEFAULT_OPTIONS.impliedStrict,
jsxPragma: (providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.jsxPragma) === undefined
childVisitorKeys: providedOptions?.childVisitorKeys ?? DEFAULT_OPTIONS.childVisitorKeys,
globalReturn: providedOptions?.globalReturn ?? DEFAULT_OPTIONS.globalReturn,
impliedStrict: providedOptions?.impliedStrict ?? DEFAULT_OPTIONS.impliedStrict,
jsxPragma: providedOptions?.jsxPragma === undefined
? DEFAULT_OPTIONS.jsxPragma
: providedOptions.jsxPragma,
jsxFragmentName: (_e = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.jsxFragmentName) !== null && _e !== void 0 ? _e : DEFAULT_OPTIONS.jsxFragmentName,
sourceType: (_f = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.sourceType) !== null && _f !== void 0 ? _f : DEFAULT_OPTIONS.sourceType,
lib: (_g = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.lib) !== null && _g !== void 0 ? _g : [mapEcmaVersion(ecmaVersion)],
emitDecoratorMetadata: (_h = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.emitDecoratorMetadata) !== null && _h !== void 0 ? _h : DEFAULT_OPTIONS.emitDecoratorMetadata,
jsxFragmentName: providedOptions?.jsxFragmentName ?? DEFAULT_OPTIONS.jsxFragmentName,
sourceType: providedOptions?.sourceType ?? DEFAULT_OPTIONS.sourceType,
lib: providedOptions?.lib ?? ['esnext'],
emitDecoratorMetadata: false,
};
// ensure the option is lower cased
options.lib = options.lib.map(l => l.toLowerCase());

View File

@ -1 +1 @@
{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;AACA,kEAA8D;AAE9D,+BAA2C;AAE3C,6CAA0C;AAC1C,iDAA8C;AAoE9C,MAAM,eAAe,GAA6B;IAChD,gBAAgB,EAAE,0BAAW;IAC7B,WAAW,EAAE,IAAI;IACjB,YAAY,EAAE,KAAK;IACnB,aAAa,EAAE,KAAK;IACpB,SAAS,EAAE,OAAO;IAClB,eAAe,EAAE,IAAI;IACrB,GAAG,EAAE,CAAC,QAAQ,CAAC;IACf,UAAU,EAAE,QAAQ;IACpB,qBAAqB,EAAE,KAAK;CAC7B,CAAC;AAEF;;;GAGG;AACH,SAAS,cAAc,CAAC,OAAsC;IAC5D,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,CAAC,IAAI,OAAO,KAAK,CAAC,EAAE;QACrD,OAAO,KAAK,CAAC;KACd;IAED,MAAM,IAAI,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;IAC7D,MAAM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U,IAAI,eAAe,CAAC,UAAU;QACrE,GAAG,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC;QACvC,qBAAqB,EAAE,KAAK;KAC7B,CAAC;IAEF,mCAAmC;IACnC,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAS,CAAC,CAAC;IAE3D,MAAM,YAAY,GAAG,IAAI,2BAAY,CAAC,OAAO,CAAC,CAAC;IAC/C,MAAM,UAAU,GAAG,IAAI,uBAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IAEzD,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEvB,OAAO,YAAY,CAAC;AACtB,CAAC;AAEQ,0BAAO"}

View File

@ -1 +1 @@
{"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,SAAS,MAAM,CAAC,KAAc,EAAE,OAAgB;IAC9C,IAAI,KAAK,IAAI,IAAI,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;KAC1B;AACH,CAAC;AAEQ,wBAAM"}
{"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,SAAS,MAAM,CAAC,KAAc,EAAE,OAAgB;IAC9C,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC;AAEQ,wBAAM"}

View File

@ -9,6 +9,6 @@ import type { TSEnumNameDefinition } from './TSEnumNameDefinition';
import type { TSModuleNameDefinition } from './TSModuleNameDefinition';
import type { TypeDefinition } from './TypeDefinition';
import type { VariableDefinition } from './VariableDefinition';
declare type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition;
type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition;
export { Definition };
//# sourceMappingURL=Definition.d.ts.map

View File

@ -1 +1 @@
{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,aAAK,UAAU,GACX,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,gCAAgC,GAChC,uBAAuB,GACvB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,GACd,kBAAkB,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,CAAC"}
{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,KAAK,UAAU,GACX,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,gCAAgC,GAChC,uBAAuB,GACvB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,GACd,kBAAkB,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,CAAC"}

View File

@ -1,31 +1,27 @@
import type { TSESTree } from '@typescript-eslint/types';
import type { DefinitionType } from './DefinitionType';
declare abstract class DefinitionBase<TType extends DefinitionType, TNode extends TSESTree.Node, TParent extends TSESTree.Node | null, TName extends TSESTree.Node = TSESTree.BindingName> {
declare abstract class DefinitionBase<Type extends DefinitionType, Node extends TSESTree.Node, Parent extends TSESTree.Node | null, Name extends TSESTree.Node> {
/**
* A unique ID for this instance - primarily used to help debugging and testing
*/
readonly $id: number;
/**
* The type of the definition
* @public
*/
readonly type: TType;
readonly type: Type;
/**
* The `Identifier` node of this definition
* @public
*/
readonly name: TName;
readonly name: Name;
/**
* The enclosing node of the name.
* @public
*/
readonly node: TNode;
readonly node: Node;
/**
* the enclosing statement node of the identifier.
* @public
*/
readonly parent: TParent;
constructor(type: TType, name: TName, node: TNode, parent: TParent);
readonly parent: Parent;
constructor(type: Type, name: Name, node: Node, parent: Parent);
/**
* `true` if the variable is valid in a type context, false otherwise
*/

View File

@ -1 +1 @@
{"version":3,"file":"DefinitionBase.d.ts","sourceRoot":"","sources":["../../src/definition/DefinitionBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIvD,uBAAe,cAAc,CAC3B,KAAK,SAAS,cAAc,EAC5B,KAAK,SAAS,QAAQ,CAAC,IAAI,EAC3B,OAAO,SAAS,QAAQ,CAAC,IAAI,GAAG,IAAI,EACpC,KAAK,SAAS,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,WAAW;IAElD;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAE1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,MAAM,EAAE,OAAO,CAAC;gBAEpB,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO;IAOlE;;OAEG;IACH,kBAAyB,gBAAgB,EAAE,OAAO,CAAC;IAEnD;;OAEG;IACH,kBAAyB,oBAAoB,EAAE,OAAO,CAAC;CACxD;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
{"version":3,"file":"DefinitionBase.d.ts","sourceRoot":"","sources":["../../src/definition/DefinitionBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIvD,uBAAe,cAAc,CAC3B,IAAI,SAAS,cAAc,EAC3B,IAAI,SAAS,QAAQ,CAAC,IAAI,EAC1B,MAAM,SAAS,QAAQ,CAAC,IAAI,GAAG,IAAI,EACnC,IAAI,SAAS,QAAQ,CAAC,IAAI;IAE1B;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAE1C,SAAgB,IAAI,EAAE,IAAI,CAAC;IAE3B;;;OAGG;IACH,SAAgB,IAAI,EAAE,IAAI,CAAC;IAE3B;;;OAGG;IACH,SAAgB,IAAI,EAAE,IAAI,CAAC;IAE3B;;;OAGG;IACH,SAAgB,MAAM,EAAE,MAAM,CAAC;gBAEnB,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM;IAO9D;;OAEG;IACH,kBAAyB,gBAAgB,EAAE,OAAO,CAAC;IAEnD;;OAEG;IACH,kBAAyB,oBAAoB,EAAE,OAAO,CAAC;CACxD;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}

View File

@ -1 +1 @@
{"version":3,"file":"DefinitionBase.js","sourceRoot":"","sources":["../../src/definition/DefinitionBase.ts"],"names":[],"mappings":";;;AAEA,8BAA0C;AAG1C,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,MAAe,cAAc;IAmC3B,YAAY,IAAW,EAAE,IAAW,EAAE,IAAW,EAAE,MAAe;QA7BlE;;WAEG;QACa,QAAG,GAAW,SAAS,EAAE,CAAC;QA2BxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CAWF;AAEQ,wCAAc"}
{"version":3,"file":"DefinitionBase.js","sourceRoot":"","sources":["../../src/definition/DefinitionBase.ts"],"names":[],"mappings":";;;AAEA,8BAA0C;AAG1C,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,MAAe,cAAc;IA+B3B,YAAY,IAAU,EAAE,IAAU,EAAE,IAAU,EAAE,MAAc;QAzB9D;;WAEG;QACa,QAAG,GAAW,SAAS,EAAE,CAAC;QAuBxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CAWF;AAEQ,wCAAc"}

View File

@ -14,6 +14,5 @@ var DefinitionType;
DefinitionType["TSModuleName"] = "TSModuleName";
DefinitionType["Type"] = "Type";
DefinitionType["Variable"] = "Variable";
})(DefinitionType || (DefinitionType = {}));
exports.DefinitionType = DefinitionType;
})(DefinitionType || (exports.DefinitionType = DefinitionType = {}));
//# sourceMappingURL=DefinitionType.js.map

View File

@ -1 +1 @@
{"version":3,"file":"DefinitionType.js","sourceRoot":"","sources":["../../src/definition/DefinitionType.ts"],"names":[],"mappings":";;;AAAA,IAAK,cAYJ;AAZD,WAAK,cAAc;IACjB,6CAA2B,CAAA;IAC3B,yCAAuB,CAAA;IACvB,+CAA6B,CAAA;IAC7B,mEAAiD,CAAA;IACjD,iDAA+B,CAAA;IAC/B,yCAAuB,CAAA;IACvB,2CAAyB,CAAA;IACzB,mDAAiC,CAAA;IACjC,+CAA6B,CAAA;IAC7B,+BAAa,CAAA;IACb,uCAAqB,CAAA;AACvB,CAAC,EAZI,cAAc,KAAd,cAAc,QAYlB;AAEQ,wCAAc"}
{"version":3,"file":"DefinitionType.js","sourceRoot":"","sources":["../../src/definition/DefinitionType.ts"],"names":[],"mappings":";;;AAAA,IAAK,cAYJ;AAZD,WAAK,cAAc;IACjB,6CAA2B,CAAA;IAC3B,yCAAuB,CAAA;IACvB,+CAA6B,CAAA;IAC7B,mEAAiD,CAAA;IACjD,iDAA+B,CAAA;IAC/B,yCAAuB,CAAA;IACvB,2CAAyB,CAAA;IACzB,mDAAiC,CAAA;IACjC,+CAA6B,CAAA;IAC7B,+BAAa,CAAA;IACb,uCAAqB,CAAA;AACvB,CAAC,EAZI,cAAc,8BAAd,cAAc,QAYlB"}

View File

@ -1,7 +1,7 @@
import type { TSESTree } from '@typescript-eslint/types';
import { DefinitionBase } from './DefinitionBase';
import { DefinitionType } from './DefinitionType';
declare class ImportBindingDefinition extends DefinitionBase<DefinitionType.ImportBinding, TSESTree.ImportSpecifier | TSESTree.ImportDefaultSpecifier | TSESTree.ImportNamespaceSpecifier | TSESTree.TSImportEqualsDeclaration, TSESTree.ImportDeclaration | TSESTree.TSImportEqualsDeclaration, TSESTree.Identifier> {
declare class ImportBindingDefinition extends DefinitionBase<DefinitionType.ImportBinding, TSESTree.ImportDefaultSpecifier | TSESTree.ImportNamespaceSpecifier | TSESTree.ImportSpecifier | TSESTree.TSImportEqualsDeclaration, TSESTree.ImportDeclaration | TSESTree.TSImportEqualsDeclaration, TSESTree.Identifier> {
constructor(name: TSESTree.Identifier, node: TSESTree.TSImportEqualsDeclaration, decl: TSESTree.TSImportEqualsDeclaration);
constructor(name: TSESTree.Identifier, node: Exclude<ImportBindingDefinition['node'], TSESTree.TSImportEqualsDeclaration>, decl: TSESTree.ImportDeclaration);
readonly isTypeDefinition = true;

View File

@ -1 +1 @@
{"version":3,"file":"ImportBindingDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EA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,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,QAAQ,CAAC,yBAAyB,EACxC,IAAI,EAAE,QAAQ,CAAC,yBAAyB;gBAGxC,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,OAAO,CACX,uBAAuB,CAAC,MAAM,CAAC,EAC/B,QAAQ,CAAC,yBAAyB,CACnC,EACD,IAAI,EAAE,QAAQ,CAAC,iBAAiB;IAUlC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAC"}

View File

@ -1 +1 @@
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/lib/dom.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAG9D,eAAO,MAAM,GAAG,4CAyvC+B,CAAC"}
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/lib/dom.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAG9D,eAAO,MAAM,GAAG,4CAw5C+B,CAAC"}

View File

@ -1 +1 @@
{"version":3,"file":"dom.iterable.d.ts","sourceRoot":"","sources":["../../src/lib/dom.iterable.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAG9D,eAAO,MAAM,YAAY,4CAwDsB,CAAC"}
{"version":3,"file":"dom.iterable.d.ts","sourceRoot":"","sources":["../../src/lib/dom.iterable.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAG9D,eAAO,MAAM,YAAY,4CAmEsB,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.dom_iterable = void 0;
const base_config_1 = require("./base-config");
@ -10,9 +10,14 @@ exports.dom_iterable = {
AudioParam: base_config_1.TYPE,
AudioParamMap: base_config_1.TYPE,
BaseAudioContext: base_config_1.TYPE,
CSSKeyframesRule: base_config_1.TYPE,
CSSNumericArray: base_config_1.TYPE,
CSSRuleList: base_config_1.TYPE,
CSSStyleDeclaration: base_config_1.TYPE,
CSSTransformValue: base_config_1.TYPE,
CSSUnparsedValue: base_config_1.TYPE,
Cache: base_config_1.TYPE,
CanvasPath: base_config_1.TYPE,
CanvasPathDrawingStyles: base_config_1.TYPE,
DOMRectList: base_config_1.TYPE,
DOMStringList: base_config_1.TYPE,
@ -28,8 +33,13 @@ exports.dom_iterable = {
HTMLFormElement: base_config_1.TYPE,
HTMLSelectElement: base_config_1.TYPE,
Headers: base_config_1.TYPE,
Highlight: base_config_1.TYPE,
HighlightRegistry: base_config_1.TYPE,
IDBDatabase: base_config_1.TYPE,
IDBObjectStore: base_config_1.TYPE,
MIDIInputMap: base_config_1.TYPE,
MIDIOutput: base_config_1.TYPE,
MIDIOutputMap: base_config_1.TYPE,
MediaKeyStatusMap: base_config_1.TYPE,
MediaList: base_config_1.TYPE,
MessageEvent: base_config_1.TYPE,
@ -50,6 +60,7 @@ exports.dom_iterable = {
SourceBufferList: base_config_1.TYPE,
SpeechRecognitionResult: base_config_1.TYPE,
SpeechRecognitionResultList: base_config_1.TYPE,
StylePropertyMapReadOnly: base_config_1.TYPE,
StyleSheetList: base_config_1.TYPE,
SubtleCrypto: base_config_1.TYPE,
TextTrackCueList: base_config_1.TYPE,

View File

@ -1 +1 @@
{"version":3,"file":"dom.iterable.js","sourceRoot":"","sources":["../../src/lib/dom.iterable.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAu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YAAY,EAAE,kBAAI;IAClB,UAAU,EAAE,kBAAI;IAChB,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,kBAAI;IACvB,SAAS,EAAE,kBAAI;IACf,YAAY,EAAE,kBAAI;IAClB,aAAa,EAAE,kBAAI;IACnB,YAAY,EAAE,kBAAI;IAClB,SAAS,EAAE,kBAAI;IACf,QAAQ,EAAE,kBAAI;IACd,UAAU,EAAE,kBAAI;IAChB,MAAM,EAAE,kBAAI;IACZ,WAAW,EAAE,kBAAI;IACjB,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,kBAAI;IACpB,aAAa,EAAE,kBAAI;IACnB,aAAa,EAAE,kBAAI;IACnB,YAAY,EAAE,kBAAI;IAClB,aAAa,EAAE,kBAAI;IACnB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,kBAAI;IACtB,uBAAuB,EAAE,kBAAI;IAC7B,2BAA2B,EAAE,kBAAI;IACjC,wBAAwB,EAAE,kBAAI;IAC9B,cAAc,EAAE,kBAAI;IACpB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;IACtB,aAAa,EAAE,kBAAI;IACnB,SAAS,EAAE,kBAAI;IACf,eAAe,EAAE,kBAAI;IACrB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,0BAA0B,EAAE,kBAAI;IAChC,+BAA+B,EAAE,kBAAI;IACrC,yBAAyB,EAAE,kBAAI;IAC/B,8BAA8B,EAAE,kBAAI;CACS,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.dom = void 0;
const base_config_1 = require("./base-config");
@ -30,14 +30,18 @@ exports.dom = {
AuthenticationExtensionsClientInputs: base_config_1.TYPE,
AuthenticationExtensionsClientOutputs: base_config_1.TYPE,
AuthenticatorSelectionCriteria: base_config_1.TYPE,
AvcEncoderConfig: base_config_1.TYPE,
BiquadFilterOptions: base_config_1.TYPE,
BlobEventInit: base_config_1.TYPE,
BlobPropertyBag: base_config_1.TYPE,
CSSMatrixComponentOptions: base_config_1.TYPE,
CSSNumericType: base_config_1.TYPE,
CSSStyleSheetInit: base_config_1.TYPE,
CacheQueryOptions: base_config_1.TYPE,
CanvasRenderingContext2DSettings: base_config_1.TYPE,
ChannelMergerOptions: base_config_1.TYPE,
ChannelSplitterOptions: base_config_1.TYPE,
CheckVisibilityOptions: base_config_1.TYPE,
ClientQueryOptions: base_config_1.TYPE,
ClipboardEventInit: base_config_1.TYPE,
ClipboardItemOptions: base_config_1.TYPE,
@ -66,7 +70,7 @@ exports.dom = {
DeviceMotionEventInit: base_config_1.TYPE,
DeviceMotionEventRotationRateInit: base_config_1.TYPE,
DeviceOrientationEventInit: base_config_1.TYPE,
DisplayMediaStreamConstraints: base_config_1.TYPE,
DisplayMediaStreamOptions: base_config_1.TYPE,
DocumentTimelineOptions: base_config_1.TYPE,
DoubleRange: base_config_1.TYPE,
DragEventInit: base_config_1.TYPE,
@ -79,12 +83,15 @@ exports.dom = {
EffectTiming: base_config_1.TYPE,
ElementCreationOptions: base_config_1.TYPE,
ElementDefinitionOptions: base_config_1.TYPE,
EncodedVideoChunkInit: base_config_1.TYPE,
EncodedVideoChunkMetadata: base_config_1.TYPE,
ErrorEventInit: base_config_1.TYPE,
EventInit: base_config_1.TYPE,
EventListenerOptions: base_config_1.TYPE,
EventModifierInit: base_config_1.TYPE,
EventSourceInit: base_config_1.TYPE,
FilePropertyBag: base_config_1.TYPE,
FileSystemCreateWritableOptions: base_config_1.TYPE,
FileSystemFlags: base_config_1.TYPE,
FileSystemGetDirectoryOptions: base_config_1.TYPE,
FileSystemGetFileOptions: base_config_1.TYPE,
@ -96,6 +103,7 @@ exports.dom = {
FormDataEventInit: base_config_1.TYPE,
FullscreenOptions: base_config_1.TYPE,
GainOptions: base_config_1.TYPE,
GamepadEffectParameters: base_config_1.TYPE,
GamepadEventInit: base_config_1.TYPE,
GetAnimationsOptions: base_config_1.TYPE,
GetNotificationOptions: base_config_1.TYPE,
@ -115,6 +123,7 @@ exports.dom = {
ImageBitmapOptions: base_config_1.TYPE,
ImageBitmapRenderingContextSettings: base_config_1.TYPE,
ImageDataSettings: base_config_1.TYPE,
ImageEncodeOptions: base_config_1.TYPE,
ImportMeta: base_config_1.TYPE,
InputEventInit: base_config_1.TYPE,
IntersectionObserverEntryInit: base_config_1.TYPE,
@ -128,6 +137,9 @@ exports.dom = {
LockInfo: base_config_1.TYPE,
LockManagerSnapshot: base_config_1.TYPE,
LockOptions: base_config_1.TYPE,
MIDIConnectionEventInit: base_config_1.TYPE,
MIDIMessageEventInit: base_config_1.TYPE,
MIDIOptions: base_config_1.TYPE,
MediaCapabilitiesDecodingInfo: base_config_1.TYPE,
MediaCapabilitiesEncodingInfo: base_config_1.TYPE,
MediaCapabilitiesInfo: base_config_1.TYPE,
@ -143,7 +155,6 @@ exports.dom = {
MediaMetadataInit: base_config_1.TYPE,
MediaPositionState: base_config_1.TYPE,
MediaQueryListEventInit: base_config_1.TYPE,
MediaRecorderErrorEventInit: base_config_1.TYPE,
MediaRecorderOptions: base_config_1.TYPE,
MediaSessionActionDetails: base_config_1.TYPE,
MediaStreamAudioSourceOptions: base_config_1.TYPE,
@ -159,7 +170,6 @@ exports.dom = {
MultiCacheQueryOptions: base_config_1.TYPE,
MutationObserverInit: base_config_1.TYPE,
NavigationPreloadState: base_config_1.TYPE,
NotificationAction: base_config_1.TYPE,
NotificationOptions: base_config_1.TYPE,
OfflineAudioCompletionEventInit: base_config_1.TYPE,
OfflineAudioContextOptions: base_config_1.TYPE,
@ -184,11 +194,14 @@ exports.dom = {
PeriodicWaveConstraints: base_config_1.TYPE,
PeriodicWaveOptions: base_config_1.TYPE,
PermissionDescriptor: base_config_1.TYPE,
PictureInPictureEventInit: base_config_1.TYPE,
PlaneLayout: base_config_1.TYPE,
PointerEventInit: base_config_1.TYPE,
PopStateEventInit: base_config_1.TYPE,
PositionOptions: base_config_1.TYPE,
ProgressEventInit: base_config_1.TYPE,
PromiseRejectionEventInit: base_config_1.TYPE,
PropertyDefinition: base_config_1.TYPE,
PropertyIndexedKeyframes: base_config_1.TYPE,
PublicKeyCredentialCreationOptions: base_config_1.TYPE,
PublicKeyCredentialDescriptor: base_config_1.TYPE,
@ -213,6 +226,7 @@ exports.dom = {
RTCErrorEventInit: base_config_1.TYPE,
RTCErrorInit: base_config_1.TYPE,
RTCIceCandidateInit: base_config_1.TYPE,
RTCIceCandidatePair: base_config_1.TYPE,
RTCIceCandidatePairStats: base_config_1.TYPE,
RTCIceServer: base_config_1.TYPE,
RTCInboundRtpStreamStats: base_config_1.TYPE,
@ -225,6 +239,7 @@ exports.dom = {
RTCReceivedRtpStreamStats: base_config_1.TYPE,
RTCRtcpParameters: base_config_1.TYPE,
RTCRtpCapabilities: base_config_1.TYPE,
RTCRtpCodec: base_config_1.TYPE,
RTCRtpCodecCapability: base_config_1.TYPE,
RTCRtpCodecParameters: base_config_1.TYPE,
RTCRtpCodingParameters: base_config_1.TYPE,
@ -240,13 +255,16 @@ exports.dom = {
RTCRtpTransceiverInit: base_config_1.TYPE,
RTCSentRtpStreamStats: base_config_1.TYPE,
RTCSessionDescriptionInit: base_config_1.TYPE,
RTCSetParameterOptions: base_config_1.TYPE,
RTCStats: base_config_1.TYPE,
RTCTrackEventInit: base_config_1.TYPE,
RTCTransportStats: base_config_1.TYPE,
ReadableStreamGetReaderOptions: base_config_1.TYPE,
ReadableStreamReadDoneResult: base_config_1.TYPE,
ReadableStreamReadValueResult: base_config_1.TYPE,
ReadableWritablePair: base_config_1.TYPE,
RegistrationOptions: base_config_1.TYPE,
ReportingObserverOptions: base_config_1.TYPE,
RequestInit: base_config_1.TYPE,
ResizeObserverOptions: base_config_1.TYPE,
ResponseInit: base_config_1.TYPE,
@ -277,6 +295,7 @@ exports.dom = {
TextDecodeOptions: base_config_1.TYPE,
TextDecoderOptions: base_config_1.TYPE,
TextEncoderEncodeIntoResult: base_config_1.TYPE,
ToggleEventInit: base_config_1.TYPE,
TouchEventInit: base_config_1.TYPE,
TouchInit: base_config_1.TYPE,
TrackEventInit: base_config_1.TYPE,
@ -284,19 +303,37 @@ exports.dom = {
TransitionEventInit: base_config_1.TYPE,
UIEventInit: base_config_1.TYPE,
ULongRange: base_config_1.TYPE,
UnderlyingByteSource: base_config_1.TYPE,
UnderlyingDefaultSource: base_config_1.TYPE,
UnderlyingSink: base_config_1.TYPE,
UnderlyingSource: base_config_1.TYPE,
ValidityStateFlags: base_config_1.TYPE,
VideoColorSpaceInit: base_config_1.TYPE,
VideoConfiguration: base_config_1.TYPE,
VideoFrameMetadata: base_config_1.TYPE,
VideoDecoderConfig: base_config_1.TYPE,
VideoDecoderInit: base_config_1.TYPE,
VideoDecoderSupport: base_config_1.TYPE,
VideoEncoderConfig: base_config_1.TYPE,
VideoEncoderEncodeOptions: base_config_1.TYPE,
VideoEncoderInit: base_config_1.TYPE,
VideoEncoderSupport: base_config_1.TYPE,
VideoFrameBufferInit: base_config_1.TYPE,
VideoFrameCallbackMetadata: base_config_1.TYPE,
VideoFrameCopyToOptions: base_config_1.TYPE,
VideoFrameInit: base_config_1.TYPE,
WaveShaperOptions: base_config_1.TYPE,
WebGLContextAttributes: base_config_1.TYPE,
WebGLContextEventInit: base_config_1.TYPE,
WebTransportCloseInfo: base_config_1.TYPE,
WebTransportErrorOptions: base_config_1.TYPE,
WebTransportHash: base_config_1.TYPE,
WebTransportOptions: base_config_1.TYPE,
WebTransportSendStreamOptions: base_config_1.TYPE,
WheelEventInit: base_config_1.TYPE,
WindowPostMessageOptions: base_config_1.TYPE,
WorkerOptions: base_config_1.TYPE,
WorkletOptions: base_config_1.TYPE,
WriteParams: base_config_1.TYPE,
NodeFilter: base_config_1.TYPE_VALUE,
XPathNSResolver: base_config_1.TYPE,
ANGLE_instanced_arrays: base_config_1.TYPE,
@ -348,22 +385,54 @@ exports.dom = {
CDATASection: base_config_1.TYPE_VALUE,
CSSAnimation: base_config_1.TYPE_VALUE,
CSSConditionRule: base_config_1.TYPE_VALUE,
CSSContainerRule: base_config_1.TYPE_VALUE,
CSSCounterStyleRule: base_config_1.TYPE_VALUE,
CSSFontFaceRule: base_config_1.TYPE_VALUE,
CSSFontFeatureValuesRule: base_config_1.TYPE_VALUE,
CSSFontPaletteValuesRule: base_config_1.TYPE_VALUE,
CSSGroupingRule: base_config_1.TYPE_VALUE,
CSSImageValue: base_config_1.TYPE_VALUE,
CSSImportRule: base_config_1.TYPE_VALUE,
CSSKeyframeRule: base_config_1.TYPE_VALUE,
CSSKeyframesRule: base_config_1.TYPE_VALUE,
CSSKeywordValue: base_config_1.TYPE_VALUE,
CSSLayerBlockRule: base_config_1.TYPE_VALUE,
CSSLayerStatementRule: base_config_1.TYPE_VALUE,
CSSMathClamp: base_config_1.TYPE_VALUE,
CSSMathInvert: base_config_1.TYPE_VALUE,
CSSMathMax: base_config_1.TYPE_VALUE,
CSSMathMin: base_config_1.TYPE_VALUE,
CSSMathNegate: base_config_1.TYPE_VALUE,
CSSMathProduct: base_config_1.TYPE_VALUE,
CSSMathSum: base_config_1.TYPE_VALUE,
CSSMathValue: base_config_1.TYPE_VALUE,
CSSMatrixComponent: base_config_1.TYPE_VALUE,
CSSMediaRule: base_config_1.TYPE_VALUE,
CSSNamespaceRule: base_config_1.TYPE_VALUE,
CSSNumericArray: base_config_1.TYPE_VALUE,
CSSNumericValue: base_config_1.TYPE_VALUE,
CSSPageRule: base_config_1.TYPE_VALUE,
CSSPerspective: base_config_1.TYPE_VALUE,
CSSPropertyRule: base_config_1.TYPE_VALUE,
CSSRotate: base_config_1.TYPE_VALUE,
CSSRule: base_config_1.TYPE_VALUE,
CSSRuleList: base_config_1.TYPE_VALUE,
CSSScale: base_config_1.TYPE_VALUE,
CSSSkew: base_config_1.TYPE_VALUE,
CSSSkewX: base_config_1.TYPE_VALUE,
CSSSkewY: base_config_1.TYPE_VALUE,
CSSStyleDeclaration: base_config_1.TYPE_VALUE,
CSSStyleRule: base_config_1.TYPE_VALUE,
CSSStyleSheet: base_config_1.TYPE_VALUE,
CSSStyleValue: base_config_1.TYPE_VALUE,
CSSSupportsRule: base_config_1.TYPE_VALUE,
CSSTransformComponent: base_config_1.TYPE_VALUE,
CSSTransformValue: base_config_1.TYPE_VALUE,
CSSTransition: base_config_1.TYPE_VALUE,
CSSTranslate: base_config_1.TYPE_VALUE,
CSSUnitValue: base_config_1.TYPE_VALUE,
CSSUnparsedValue: base_config_1.TYPE_VALUE,
CSSVariableReferenceValue: base_config_1.TYPE_VALUE,
Cache: base_config_1.TYPE_VALUE,
CacheStorage: base_config_1.TYPE_VALUE,
CanvasCaptureMediaStreamTrack: base_config_1.TYPE_VALUE,
@ -397,6 +466,7 @@ exports.dom = {
CloseEvent: base_config_1.TYPE_VALUE,
Comment: base_config_1.TYPE_VALUE,
CompositionEvent: base_config_1.TYPE_VALUE,
CompressionStream: base_config_1.TYPE_VALUE,
ConstantSourceNode: base_config_1.TYPE_VALUE,
ConvolverNode: base_config_1.TYPE_VALUE,
CountQueuingStrategy: base_config_1.TYPE_VALUE,
@ -427,6 +497,7 @@ exports.dom = {
DataTransfer: base_config_1.TYPE_VALUE,
DataTransferItem: base_config_1.TYPE_VALUE,
DataTransferItemList: base_config_1.TYPE_VALUE,
DecompressionStream: base_config_1.TYPE_VALUE,
DelayNode: base_config_1.TYPE_VALUE,
DeviceMotionEvent: base_config_1.TYPE_VALUE,
DeviceMotionEventAcceleration: base_config_1.TYPE,
@ -434,8 +505,6 @@ exports.dom = {
DeviceOrientationEvent: base_config_1.TYPE_VALUE,
DocumentEventMap: base_config_1.TYPE,
Document: base_config_1.TYPE_VALUE,
DocumentAndElementEventHandlersEventMap: base_config_1.TYPE,
DocumentAndElementEventHandlers: base_config_1.TYPE,
DocumentFragment: base_config_1.TYPE_VALUE,
DocumentOrShadowRoot: base_config_1.TYPE,
DocumentTimeline: base_config_1.TYPE_VALUE,
@ -449,13 +518,16 @@ exports.dom = {
EXT_frag_depth: base_config_1.TYPE,
EXT_sRGB: base_config_1.TYPE,
EXT_shader_texture_lod: base_config_1.TYPE,
EXT_texture_compression_bptc: base_config_1.TYPE,
EXT_texture_compression_rgtc: base_config_1.TYPE,
EXT_texture_filter_anisotropic: base_config_1.TYPE,
EXT_texture_norm16: base_config_1.TYPE,
ElementEventMap: base_config_1.TYPE,
Element: base_config_1.TYPE_VALUE,
ElementCSSInlineStyle: base_config_1.TYPE,
ElementContentEditable: base_config_1.TYPE,
ElementInternals: base_config_1.TYPE_VALUE,
EncodedVideoChunk: base_config_1.TYPE_VALUE,
ErrorEvent: base_config_1.TYPE_VALUE,
Event: base_config_1.TYPE_VALUE,
EventCounts: base_config_1.TYPE_VALUE,
@ -477,6 +549,7 @@ exports.dom = {
FileSystemFileEntry: base_config_1.TYPE_VALUE,
FileSystemFileHandle: base_config_1.TYPE_VALUE,
FileSystemHandle: base_config_1.TYPE_VALUE,
FileSystemWritableFileStream: base_config_1.TYPE_VALUE,
FocusEvent: base_config_1.TYPE_VALUE,
FontFace: base_config_1.TYPE_VALUE,
FontFaceSetEventMap: base_config_1.TYPE,
@ -586,6 +659,8 @@ exports.dom = {
HTMLVideoElement: base_config_1.TYPE_VALUE,
HashChangeEvent: base_config_1.TYPE_VALUE,
Headers: base_config_1.TYPE_VALUE,
Highlight: base_config_1.TYPE_VALUE,
HighlightRegistry: base_config_1.TYPE_VALUE,
History: base_config_1.TYPE_VALUE,
IDBCursor: base_config_1.TYPE_VALUE,
IDBCursorWithValue: base_config_1.TYPE_VALUE,
@ -619,6 +694,17 @@ exports.dom = {
Location: base_config_1.TYPE_VALUE,
Lock: base_config_1.TYPE_VALUE,
LockManager: base_config_1.TYPE_VALUE,
MIDIAccessEventMap: base_config_1.TYPE,
MIDIAccess: base_config_1.TYPE_VALUE,
MIDIConnectionEvent: base_config_1.TYPE_VALUE,
MIDIInputEventMap: base_config_1.TYPE,
MIDIInput: base_config_1.TYPE_VALUE,
MIDIInputMap: base_config_1.TYPE_VALUE,
MIDIMessageEvent: base_config_1.TYPE_VALUE,
MIDIOutput: base_config_1.TYPE_VALUE,
MIDIOutputMap: base_config_1.TYPE_VALUE,
MIDIPortEventMap: base_config_1.TYPE,
MIDIPort: base_config_1.TYPE_VALUE,
MathMLElementEventMap: base_config_1.TYPE,
MathMLElement: base_config_1.TYPE_VALUE,
MediaCapabilities: base_config_1.TYPE_VALUE,
@ -641,7 +727,6 @@ exports.dom = {
MediaQueryListEvent: base_config_1.TYPE_VALUE,
MediaRecorderEventMap: base_config_1.TYPE,
MediaRecorder: base_config_1.TYPE_VALUE,
MediaRecorderErrorEvent: base_config_1.TYPE_VALUE,
MediaSession: base_config_1.TYPE_VALUE,
MediaSourceEventMap: base_config_1.TYPE,
MediaSource: base_config_1.TYPE_VALUE,
@ -666,6 +751,7 @@ exports.dom = {
NavigationPreloadManager: base_config_1.TYPE_VALUE,
Navigator: base_config_1.TYPE_VALUE,
NavigatorAutomationInformation: base_config_1.TYPE,
NavigatorBadge: base_config_1.TYPE,
NavigatorConcurrentHardware: base_config_1.TYPE,
NavigatorContentUtils: base_config_1.TYPE,
NavigatorCookies: base_config_1.TYPE,
@ -683,6 +769,7 @@ exports.dom = {
NonElementParentNode: base_config_1.TYPE,
NotificationEventMap: base_config_1.TYPE,
Notification: base_config_1.TYPE_VALUE,
OES_draw_buffers_indexed: base_config_1.TYPE,
OES_element_index_uint: base_config_1.TYPE,
OES_fbo_render_mipmap: base_config_1.TYPE,
OES_standard_derivatives: base_config_1.TYPE,
@ -695,6 +782,9 @@ exports.dom = {
OfflineAudioCompletionEvent: base_config_1.TYPE_VALUE,
OfflineAudioContextEventMap: base_config_1.TYPE,
OfflineAudioContext: base_config_1.TYPE_VALUE,
OffscreenCanvasEventMap: base_config_1.TYPE,
OffscreenCanvas: base_config_1.TYPE_VALUE,
OffscreenCanvasRenderingContext2D: base_config_1.TYPE_VALUE,
OscillatorNode: base_config_1.TYPE_VALUE,
OverconstrainedError: base_config_1.TYPE_VALUE,
PageTransitionEvent: base_config_1.TYPE_VALUE,
@ -724,12 +814,14 @@ exports.dom = {
PermissionStatusEventMap: base_config_1.TYPE,
PermissionStatus: base_config_1.TYPE_VALUE,
Permissions: base_config_1.TYPE_VALUE,
PictureInPictureEvent: base_config_1.TYPE_VALUE,
PictureInPictureWindowEventMap: base_config_1.TYPE,
PictureInPictureWindow: base_config_1.TYPE_VALUE,
Plugin: base_config_1.TYPE_VALUE,
PluginArray: base_config_1.TYPE_VALUE,
PointerEvent: base_config_1.TYPE_VALUE,
PopStateEvent: base_config_1.TYPE_VALUE,
PopoverInvokerElement: base_config_1.TYPE,
ProcessingInstruction: base_config_1.TYPE_VALUE,
ProgressEvent: base_config_1.TYPE_VALUE,
PromiseRejectionEvent: base_config_1.TYPE_VALUE,
@ -758,6 +850,7 @@ exports.dom = {
RTCPeerConnectionIceErrorEvent: base_config_1.TYPE_VALUE,
RTCPeerConnectionIceEvent: base_config_1.TYPE_VALUE,
RTCRtpReceiver: base_config_1.TYPE_VALUE,
RTCRtpScriptTransform: base_config_1.TYPE_VALUE,
RTCRtpSender: base_config_1.TYPE_VALUE,
RTCRtpTransceiver: base_config_1.TYPE_VALUE,
RTCSctpTransportEventMap: base_config_1.TYPE,
@ -776,6 +869,9 @@ exports.dom = {
ReadableStreamGenericReader: base_config_1.TYPE,
RemotePlaybackEventMap: base_config_1.TYPE,
RemotePlayback: base_config_1.TYPE_VALUE,
Report: base_config_1.TYPE_VALUE,
ReportBody: base_config_1.TYPE_VALUE,
ReportingObserver: base_config_1.TYPE_VALUE,
Request: base_config_1.TYPE_VALUE,
ResizeObserver: base_config_1.TYPE_VALUE,
ResizeObserverEntry: base_config_1.TYPE_VALUE,
@ -919,6 +1015,8 @@ exports.dom = {
StorageEvent: base_config_1.TYPE_VALUE,
StorageManager: base_config_1.TYPE_VALUE,
StyleMedia: base_config_1.TYPE,
StylePropertyMap: base_config_1.TYPE_VALUE,
StylePropertyMapReadOnly: base_config_1.TYPE_VALUE,
StyleSheet: base_config_1.TYPE_VALUE,
StyleSheetList: base_config_1.TYPE_VALUE,
SubmitEvent: base_config_1.TYPE_VALUE,
@ -939,6 +1037,7 @@ exports.dom = {
TextTrackListEventMap: base_config_1.TYPE,
TextTrackList: base_config_1.TYPE_VALUE,
TimeRanges: base_config_1.TYPE_VALUE,
ToggleEvent: base_config_1.TYPE_VALUE,
Touch: base_config_1.TYPE_VALUE,
TouchEvent: base_config_1.TYPE_VALUE,
TouchList: base_config_1.TYPE_VALUE,
@ -951,10 +1050,16 @@ exports.dom = {
URL: base_config_1.TYPE_VALUE,
webkitURL: base_config_1.TYPE_VALUE,
URLSearchParams: base_config_1.TYPE_VALUE,
UserActivation: base_config_1.TYPE_VALUE,
VTTCue: base_config_1.TYPE_VALUE,
VTTRegion: base_config_1.TYPE_VALUE,
ValidityState: base_config_1.TYPE_VALUE,
VideoColorSpace: base_config_1.TYPE_VALUE,
VideoDecoderEventMap: base_config_1.TYPE,
VideoDecoder: base_config_1.TYPE_VALUE,
VideoEncoderEventMap: base_config_1.TYPE,
VideoEncoder: base_config_1.TYPE_VALUE,
VideoFrame: base_config_1.TYPE_VALUE,
VideoPlaybackQuality: base_config_1.TYPE_VALUE,
VisualViewportEventMap: base_config_1.TYPE,
VisualViewport: base_config_1.TYPE_VALUE,
@ -962,6 +1067,7 @@ exports.dom = {
WEBGL_compressed_texture_astc: base_config_1.TYPE,
WEBGL_compressed_texture_etc: base_config_1.TYPE,
WEBGL_compressed_texture_etc1: base_config_1.TYPE,
WEBGL_compressed_texture_pvrtc: base_config_1.TYPE,
WEBGL_compressed_texture_s3tc: base_config_1.TYPE,
WEBGL_compressed_texture_s3tc_srgb: base_config_1.TYPE,
WEBGL_debug_renderer_info: base_config_1.TYPE,
@ -970,6 +1076,9 @@ exports.dom = {
WEBGL_draw_buffers: base_config_1.TYPE,
WEBGL_lose_context: base_config_1.TYPE,
WEBGL_multi_draw: base_config_1.TYPE,
WakeLock: base_config_1.TYPE_VALUE,
WakeLockSentinelEventMap: base_config_1.TYPE,
WakeLockSentinel: base_config_1.TYPE_VALUE,
WaveShaperNode: base_config_1.TYPE_VALUE,
WebGL2RenderingContext: base_config_1.TYPE_VALUE,
WebGL2RenderingContextBase: base_config_1.TYPE,
@ -995,6 +1104,10 @@ exports.dom = {
WebGLVertexArrayObjectOES: base_config_1.TYPE,
WebSocketEventMap: base_config_1.TYPE,
WebSocket: base_config_1.TYPE_VALUE,
WebTransport: base_config_1.TYPE_VALUE,
WebTransportBidirectionalStream: base_config_1.TYPE_VALUE,
WebTransportDatagramDuplexStream: base_config_1.TYPE_VALUE,
WebTransportError: base_config_1.TYPE_VALUE,
WheelEvent: base_config_1.TYPE_VALUE,
WindowEventMap: base_config_1.TYPE,
Window: base_config_1.TYPE_VALUE,
@ -1028,6 +1141,7 @@ exports.dom = {
CustomElementConstructor: base_config_1.TYPE,
DecodeErrorCallback: base_config_1.TYPE,
DecodeSuccessCallback: base_config_1.TYPE,
EncodedVideoChunkOutputCallback: base_config_1.TYPE,
ErrorCallback: base_config_1.TYPE,
FileCallback: base_config_1.TYPE,
FileSystemEntriesCallback: base_config_1.TYPE,
@ -1049,6 +1163,7 @@ exports.dom = {
RTCPeerConnectionErrorCallback: base_config_1.TYPE,
RTCSessionDescriptionCallback: base_config_1.TYPE,
RemotePlaybackAvailabilityCallback: base_config_1.TYPE,
ReportingObserverCallback: base_config_1.TYPE,
ResizeObserverCallback: base_config_1.TYPE,
TransformerFlushCallback: base_config_1.TYPE,
TransformerStartCallback: base_config_1.TYPE,
@ -1060,20 +1175,30 @@ exports.dom = {
UnderlyingSourceCancelCallback: base_config_1.TYPE,
UnderlyingSourcePullCallback: base_config_1.TYPE,
UnderlyingSourceStartCallback: base_config_1.TYPE,
VideoFrameOutputCallback: base_config_1.TYPE,
VideoFrameRequestCallback: base_config_1.TYPE,
VoidFunction: base_config_1.TYPE,
WebCodecsErrorCallback: base_config_1.TYPE,
HTMLElementTagNameMap: base_config_1.TYPE,
HTMLElementDeprecatedTagNameMap: base_config_1.TYPE,
SVGElementTagNameMap: base_config_1.TYPE,
MathMLElementTagNameMap: base_config_1.TYPE,
ElementTagNameMap: base_config_1.TYPE,
AlgorithmIdentifier: base_config_1.TYPE,
AllowSharedBufferSource: base_config_1.TYPE,
AutoFill: base_config_1.TYPE,
AutoFillField: base_config_1.TYPE,
AutoFillSection: base_config_1.TYPE,
BigInteger: base_config_1.TYPE,
BinaryData: base_config_1.TYPE,
BlobPart: base_config_1.TYPE,
BodyInit: base_config_1.TYPE,
BufferSource: base_config_1.TYPE,
COSEAlgorithmIdentifier: base_config_1.TYPE,
CSSKeywordish: base_config_1.TYPE,
CSSNumberish: base_config_1.TYPE,
CSSPerspectiveValue: base_config_1.TYPE,
CSSUnparsedSegment: base_config_1.TYPE,
CanvasImageSource: base_config_1.TYPE,
ClipboardItemData: base_config_1.TYPE,
ClipboardItems: base_config_1.TYPE,
@ -1084,6 +1209,7 @@ exports.dom = {
DOMHighResTimeStamp: base_config_1.TYPE,
EpochTimeStamp: base_config_1.TYPE,
EventListenerOrEventListenerObject: base_config_1.TYPE,
FileSystemWriteChunkType: base_config_1.TYPE,
Float32List: base_config_1.TYPE,
FormDataEntryValue: base_config_1.TYPE,
GLbitfield: base_config_1.TYPE,
@ -1104,31 +1230,34 @@ exports.dom = {
HeadersInit: base_config_1.TYPE,
IDBValidKey: base_config_1.TYPE,
ImageBitmapSource: base_config_1.TYPE,
InsertPosition: base_config_1.TYPE,
Int32List: base_config_1.TYPE,
LineAndPositionSetting: base_config_1.TYPE,
MediaProvider: base_config_1.TYPE,
MessageEventSource: base_config_1.TYPE,
MutationRecordType: base_config_1.TYPE,
NamedCurve: base_config_1.TYPE,
OffscreenRenderingContext: base_config_1.TYPE,
OnBeforeUnloadEventHandler: base_config_1.TYPE,
OnErrorEventHandler: base_config_1.TYPE,
OptionalPostfixToken: base_config_1.TYPE,
OptionalPrefixToken: base_config_1.TYPE,
PerformanceEntryList: base_config_1.TYPE,
RTCRtpTransform: base_config_1.TYPE,
ReadableStreamController: base_config_1.TYPE,
ReadableStreamReadResult: base_config_1.TYPE,
ReadableStreamReader: base_config_1.TYPE,
RenderingContext: base_config_1.TYPE,
ReportList: base_config_1.TYPE,
RequestInfo: base_config_1.TYPE,
TexImageSource: base_config_1.TYPE,
TimerHandler: base_config_1.TYPE,
Transferable: base_config_1.TYPE,
Uint32List: base_config_1.TYPE,
UvmEntries: base_config_1.TYPE,
UvmEntry: base_config_1.TYPE,
VibratePattern: base_config_1.TYPE,
WindowProxy: base_config_1.TYPE,
XMLHttpRequestBodyInit: base_config_1.TYPE,
AlignSetting: base_config_1.TYPE,
AlphaOption: base_config_1.TYPE,
AnimationPlayState: base_config_1.TYPE,
AnimationReplaceState: base_config_1.TYPE,
AppendMode: base_config_1.TYPE,
@ -1137,10 +1266,19 @@ exports.dom = {
AudioContextState: base_config_1.TYPE,
AuthenticatorAttachment: base_config_1.TYPE,
AuthenticatorTransport: base_config_1.TYPE,
AutoFillAddressKind: base_config_1.TYPE,
AutoFillBase: base_config_1.TYPE,
AutoFillContactField: base_config_1.TYPE,
AutoFillContactKind: base_config_1.TYPE,
AutoFillCredentialField: base_config_1.TYPE,
AutoFillNormalField: base_config_1.TYPE,
AutoKeyword: base_config_1.TYPE,
AutomationRate: base_config_1.TYPE,
AvcBitstreamFormat: base_config_1.TYPE,
BinaryType: base_config_1.TYPE,
BiquadFilterType: base_config_1.TYPE,
CSSMathOperator: base_config_1.TYPE,
CSSNumericBaseType: base_config_1.TYPE,
CanPlayTypeResult: base_config_1.TYPE,
CanvasDirection: base_config_1.TYPE,
CanvasFillRule: base_config_1.TYPE,
@ -1155,10 +1293,12 @@ exports.dom = {
ChannelCountMode: base_config_1.TYPE,
ChannelInterpretation: base_config_1.TYPE,
ClientTypes: base_config_1.TYPE,
CodecState: base_config_1.TYPE,
ColorGamut: base_config_1.TYPE,
ColorSpaceConversion: base_config_1.TYPE,
CompositeOperation: base_config_1.TYPE,
CompositeOperationOrAuto: base_config_1.TYPE,
CompressionFormat: base_config_1.TYPE,
CredentialMediationRequirement: base_config_1.TYPE,
DOMParserSupportedType: base_config_1.TYPE,
DirectionSetting: base_config_1.TYPE,
@ -1166,29 +1306,40 @@ exports.dom = {
DistanceModelType: base_config_1.TYPE,
DocumentReadyState: base_config_1.TYPE,
DocumentVisibilityState: base_config_1.TYPE,
EncodedVideoChunkType: base_config_1.TYPE,
EndOfStreamError: base_config_1.TYPE,
EndingType: base_config_1.TYPE,
FileSystemHandleKind: base_config_1.TYPE,
FillMode: base_config_1.TYPE,
FontDisplay: base_config_1.TYPE,
FontFaceLoadStatus: base_config_1.TYPE,
FontFaceSetLoadStatus: base_config_1.TYPE,
FullscreenNavigationUI: base_config_1.TYPE,
GamepadHapticActuatorType: base_config_1.TYPE,
GamepadHapticEffectType: base_config_1.TYPE,
GamepadHapticsResult: base_config_1.TYPE,
GamepadMappingType: base_config_1.TYPE,
GlobalCompositeOperation: base_config_1.TYPE,
HardwareAcceleration: base_config_1.TYPE,
HdrMetadataType: base_config_1.TYPE,
HighlightType: base_config_1.TYPE,
IDBCursorDirection: base_config_1.TYPE,
IDBRequestReadyState: base_config_1.TYPE,
IDBTransactionDurability: base_config_1.TYPE,
IDBTransactionMode: base_config_1.TYPE,
ImageOrientation: base_config_1.TYPE,
ImageSmoothingQuality: base_config_1.TYPE,
InsertPosition: base_config_1.TYPE,
IterationCompositeOperation: base_config_1.TYPE,
KeyFormat: base_config_1.TYPE,
KeyType: base_config_1.TYPE,
KeyUsage: base_config_1.TYPE,
LatencyMode: base_config_1.TYPE,
LineAlignSetting: base_config_1.TYPE,
LockMode: base_config_1.TYPE,
MIDIPortConnectionState: base_config_1.TYPE,
MIDIPortDeviceState: base_config_1.TYPE,
MIDIPortType: base_config_1.TYPE,
MediaDecodingType: base_config_1.TYPE,
MediaDeviceKind: base_config_1.TYPE,
MediaEncodingType: base_config_1.TYPE,
@ -1203,7 +1354,7 @@ exports.dom = {
NavigationTimingType: base_config_1.TYPE,
NotificationDirection: base_config_1.TYPE,
NotificationPermission: base_config_1.TYPE,
OrientationLockType: base_config_1.TYPE,
OffscreenRenderingContextId: base_config_1.TYPE,
OrientationType: base_config_1.TYPE,
OscillatorType: base_config_1.TYPE,
OverSampleType: base_config_1.TYPE,
@ -1227,7 +1378,6 @@ exports.dom = {
RTCIceCandidateType: base_config_1.TYPE,
RTCIceComponent: base_config_1.TYPE,
RTCIceConnectionState: base_config_1.TYPE,
RTCIceCredentialType: base_config_1.TYPE,
RTCIceGathererState: base_config_1.TYPE,
RTCIceGatheringState: base_config_1.TYPE,
RTCIceProtocol: base_config_1.TYPE,
@ -1243,6 +1393,8 @@ exports.dom = {
RTCSignalingState: base_config_1.TYPE,
RTCStatsIceCandidatePairState: base_config_1.TYPE,
RTCStatsType: base_config_1.TYPE,
ReadableStreamReaderMode: base_config_1.TYPE,
ReadableStreamType: base_config_1.TYPE,
ReadyState: base_config_1.TYPE,
RecordingState: base_config_1.TYPE,
ReferrerPolicy: base_config_1.TYPE,
@ -1251,6 +1403,7 @@ exports.dom = {
RequestCredentials: base_config_1.TYPE,
RequestDestination: base_config_1.TYPE,
RequestMode: base_config_1.TYPE,
RequestPriority: base_config_1.TYPE,
RequestRedirect: base_config_1.TYPE,
ResidentKeyRequirement: base_config_1.TYPE,
ResizeObserverBoxOptions: base_config_1.TYPE,
@ -1273,11 +1426,17 @@ exports.dom = {
TransferFunction: base_config_1.TYPE,
UserVerificationRequirement: base_config_1.TYPE,
VideoColorPrimaries: base_config_1.TYPE,
VideoEncoderBitrateMode: base_config_1.TYPE,
VideoFacingModeEnum: base_config_1.TYPE,
VideoMatrixCoefficients: base_config_1.TYPE,
VideoPixelFormat: base_config_1.TYPE,
VideoTransferCharacteristics: base_config_1.TYPE,
WakeLockType: base_config_1.TYPE,
WebGLPowerPreference: base_config_1.TYPE,
WebTransportCongestionControl: base_config_1.TYPE,
WebTransportErrorSource: base_config_1.TYPE,
WorkerType: base_config_1.TYPE,
WriteCommandType: base_config_1.TYPE,
XMLHttpRequestResponseType: base_config_1.TYPE,
};
//# sourceMappingURL=dom.js.map

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015_collection = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2015.collection.js","sourceRoot":"","sources":["../../src/lib/es2015.collection.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAiD;AAEpC,QAAA,iBAAiB,GAAG;IAC/B,GAAG,EAAE,wBAAU;IACf,cAAc,EAAE,kBAAI;IACpB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;IACxB,GAAG,EAAE,wBAAU;IACf,cAAc,EAAE,kBAAI;IACpB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;CACqB,CAAC"}
{"version":3,"file":"es2015.collection.js","sourceRoot":"","sources":["../../src/lib/es2015.collection.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAiD;AAEpC,QAAA,iBAAiB,GAAG;IAC/B,GAAG,EAAE,wBAAU;IACf,cAAc,EAAE,kBAAI;IACpB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;IACxB,GAAG,EAAE,wBAAU;IACf,cAAc,EAAE,kBAAI;IACpB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;CACqB,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015_core = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2015.core.js","sourceRoot":"","sources":["../../src/lib/es2015.core.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AAExB,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE,kBAAI;IACX,gBAAgB,EAAE,kBAAI;IACtB,eAAe,EAAE,kBAAI;IACrB,QAAQ,EAAE,kBAAI;IACd,IAAI,EAAE,kBAAI;IACV,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,MAAM,EAAE,kBAAI;IACZ,iBAAiB,EAAE,kBAAI;IACvB,MAAM,EAAE,kBAAI;IACZ,iBAAiB,EAAE,kBAAI;CACsB,CAAC"}
{"version":3,"file":"es2015.core.js","sourceRoot":"","sources":["../../src/lib/es2015.core.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AAExB,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE,kBAAI;IACX,gBAAgB,EAAE,kBAAI;IACtB,eAAe,EAAE,kBAAI;IACrB,QAAQ,EAAE,kBAAI;IACd,IAAI,EAAE,kBAAI;IACV,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,MAAM,EAAE,kBAAI;IACZ,iBAAiB,EAAE,kBAAI;IACvB,MAAM,EAAE,kBAAI;IACZ,iBAAiB,EAAE,kBAAI;CACsB,CAAC"}

View File

@ -2,10 +2,15 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015_generator = void 0;
const base_config_1 = require("./base-config");
const es2015_iterable_1 = require("./es2015.iterable");
exports.es2015_generator = Object.assign(Object.assign({}, es2015_iterable_1.es2015_iterable), { Generator: base_config_1.TYPE, GeneratorFunction: base_config_1.TYPE, GeneratorFunctionConstructor: base_config_1.TYPE });
exports.es2015_generator = {
...es2015_iterable_1.es2015_iterable,
Generator: base_config_1.TYPE,
GeneratorFunction: base_config_1.TYPE,
GeneratorFunctionConstructor: base_config_1.TYPE,
};
//# sourceMappingURL=es2015.generator.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2015.generator.js","sourceRoot":"","sources":["../../src/lib/es2015.generator.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AACrC,uDAAoD;AAEvC,QAAA,gBAAgB,GAAG,gCAC3B,iCAAe,KAClB,SAAS,EAAE,kBAAI,EACf,iBAAiB,EAAE,kBAAI,EACvB,4BAA4B,EAAE,kBAAI,GACW,CAAC"}
{"version":3,"file":"es2015.generator.js","sourceRoot":"","sources":["../../src/lib/es2015.generator.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AACrC,uDAAoD;AAEvC,QAAA,gBAAgB,GAAG;IAC9B,GAAG,iCAAe;IAClB,SAAS,EAAE,kBAAI;IACf,iBAAiB,EAAE,kBAAI;IACvB,4BAA4B,EAAE,kBAAI;CACW,CAAC"}

View File

@ -2,10 +2,54 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015_iterable = void 0;
const base_config_1 = require("./base-config");
const es2015_symbol_1 = require("./es2015.symbol");
exports.es2015_iterable = Object.assign(Object.assign({}, es2015_symbol_1.es2015_symbol), { SymbolConstructor: base_config_1.TYPE, IteratorYieldResult: base_config_1.TYPE, IteratorReturnResult: base_config_1.TYPE, IteratorResult: base_config_1.TYPE, Iterator: base_config_1.TYPE, Iterable: base_config_1.TYPE, IterableIterator: base_config_1.TYPE, Array: base_config_1.TYPE, ArrayConstructor: base_config_1.TYPE, ReadonlyArray: base_config_1.TYPE, IArguments: base_config_1.TYPE, Map: base_config_1.TYPE, ReadonlyMap: base_config_1.TYPE, MapConstructor: base_config_1.TYPE, WeakMap: base_config_1.TYPE, WeakMapConstructor: base_config_1.TYPE, Set: base_config_1.TYPE, ReadonlySet: base_config_1.TYPE, SetConstructor: base_config_1.TYPE, WeakSet: base_config_1.TYPE, WeakSetConstructor: base_config_1.TYPE, Promise: base_config_1.TYPE, PromiseConstructor: base_config_1.TYPE, String: base_config_1.TYPE, Int8Array: base_config_1.TYPE, Int8ArrayConstructor: base_config_1.TYPE, Uint8Array: base_config_1.TYPE, Uint8ArrayConstructor: base_config_1.TYPE, Uint8ClampedArray: base_config_1.TYPE, Uint8ClampedArrayConstructor: base_config_1.TYPE, Int16Array: base_config_1.TYPE, Int16ArrayConstructor: base_config_1.TYPE, Uint16Array: base_config_1.TYPE, Uint16ArrayConstructor: base_config_1.TYPE, Int32Array: base_config_1.TYPE, Int32ArrayConstructor: base_config_1.TYPE, Uint32Array: base_config_1.TYPE, Uint32ArrayConstructor: base_config_1.TYPE, Float32Array: base_config_1.TYPE, Float32ArrayConstructor: base_config_1.TYPE, Float64Array: base_config_1.TYPE, Float64ArrayConstructor: base_config_1.TYPE });
exports.es2015_iterable = {
...es2015_symbol_1.es2015_symbol,
SymbolConstructor: base_config_1.TYPE,
IteratorYieldResult: base_config_1.TYPE,
IteratorReturnResult: base_config_1.TYPE,
IteratorResult: base_config_1.TYPE,
Iterator: base_config_1.TYPE,
Iterable: base_config_1.TYPE,
IterableIterator: base_config_1.TYPE,
Array: base_config_1.TYPE,
ArrayConstructor: base_config_1.TYPE,
ReadonlyArray: base_config_1.TYPE,
IArguments: base_config_1.TYPE,
Map: base_config_1.TYPE,
ReadonlyMap: base_config_1.TYPE,
MapConstructor: base_config_1.TYPE,
WeakMap: base_config_1.TYPE,
WeakMapConstructor: base_config_1.TYPE,
Set: base_config_1.TYPE,
ReadonlySet: base_config_1.TYPE,
SetConstructor: base_config_1.TYPE,
WeakSet: base_config_1.TYPE,
WeakSetConstructor: base_config_1.TYPE,
Promise: base_config_1.TYPE,
PromiseConstructor: base_config_1.TYPE,
String: base_config_1.TYPE,
Int8Array: base_config_1.TYPE,
Int8ArrayConstructor: base_config_1.TYPE,
Uint8Array: base_config_1.TYPE,
Uint8ArrayConstructor: base_config_1.TYPE,
Uint8ClampedArray: base_config_1.TYPE,
Uint8ClampedArrayConstructor: base_config_1.TYPE,
Int16Array: base_config_1.TYPE,
Int16ArrayConstructor: base_config_1.TYPE,
Uint16Array: base_config_1.TYPE,
Uint16ArrayConstructor: base_config_1.TYPE,
Int32Array: base_config_1.TYPE,
Int32ArrayConstructor: base_config_1.TYPE,
Uint32Array: base_config_1.TYPE,
Uint32ArrayConstructor: base_config_1.TYPE,
Float32Array: base_config_1.TYPE,
Float32ArrayConstructor: base_config_1.TYPE,
Float64Array: base_config_1.TYPE,
Float64ArrayConstructor: base_config_1.TYPE,
};
//# sourceMappingURL=es2015.iterable.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2015.iterable.js","sourceRoot":"","sources":["../../src/lib/es2015.iterable.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AACrC,mDAAgD;AAEnC,QAAA,eAAe,GAAG,gCAC1B,6BAAa,KAChB,iBAAiB,EAAE,kBAAI,EACvB,mBAAmB,EAAE,kBAAI,EACzB,oBAAoB,EAAE,kBAAI,EAC1B,cAAc,EAAE,kBAAI,EACpB,QAAQ,EAAE,kBAAI,EACd,QAAQ,EAAE,kBAAI,EACd,gBAAgB,EAAE,kBAAI,EACtB,KAAK,EAAE,kBAAI,EACX,gBAAgB,EAAE,kBAAI,EACtB,aAAa,EAAE,kBAAI,EACnB,UAAU,EAAE,kBAAI,EAChB,GAAG,EAAE,kBAAI,EACT,WAAW,EAAE,kBAAI,EACjB,cAAc,EAAE,kBAAI,EACpB,OAAO,EAAE,kBAAI,EACb,kBAAkB,EAAE,kBAAI,EACxB,GAAG,EAAE,kBAAI,EACT,WAAW,EAAE,kBAAI,EACjB,cAAc,EAAE,kBAAI,EACpB,OAAO,EAAE,kBAAI,EACb,kBAAkB,EAAE,kBAAI,EACxB,OAAO,EAAE,kBAAI,EACb,kBAAkB,EAAE,kBAAI,EACxB,MAAM,EAAE,kBAAI,EACZ,SAAS,EAAE,kBAAI,EACf,oBAAoB,EAAE,kBAAI,EAC1B,UAAU,EAAE,kBAAI,EAChB,qBAAqB,EAAE,kBAAI,EAC3B,iBAAiB,EAAE,kBAAI,EACvB,4BAA4B,EAAE,kBAAI,EAClC,UAAU,EAAE,kBAAI,EAChB,qBAAqB,EAAE,kBAAI,EAC3B,WAAW,EAAE,kBAAI,EACjB,sBAAsB,EAAE,kBAAI,EAC5B,UAAU,EAAE,kBAAI,EAChB,qBAAqB,EAAE,kBAAI,EA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W,EAAE,kBAAI;IACjB,sBAAsB,EAAE,kBAAI;IAC5B,UAAU,EAAE,kBAAI;IAChB,qBAAqB,EAAE,kBAAI;IAC3B,WAAW,EAAE,kBAAI;IACjB,sBAAsB,EAAE,kBAAI;IAC5B,YAAY,EAAE,kBAAI;IAClB,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,kBAAI;IAClB,uBAAuB,EAAE,kBAAI;CACgB,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015 = void 0;
const es5_1 = require("./es5");
@ -15,5 +15,16 @@ const es2015_proxy_1 = require("./es2015.proxy");
const es2015_reflect_1 = require("./es2015.reflect");
const es2015_symbol_1 = require("./es2015.symbol");
const es2015_symbol_wellknown_1 = require("./es2015.symbol.wellknown");
exports.es2015 = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, es5_1.es5), es2015_core_1.es2015_core), es2015_collection_1.es2015_collection), es2015_iterable_1.es2015_iterable), es2015_generator_1.es2015_generator), es2015_promise_1.es2015_promise), es2015_proxy_1.es2015_proxy), es2015_reflect_1.es2015_reflect), es2015_symbol_1.es2015_symbol), es2015_symbol_wellknown_1.es2015_symbol_wellknown);
exports.es2015 = {
...es5_1.es5,
...es2015_core_1.es2015_core,
...es2015_collection_1.es2015_collection,
...es2015_iterable_1.es2015_iterable,
...es2015_generator_1.es2015_generator,
...es2015_promise_1.es2015_promise,
...es2015_proxy_1.es2015_proxy,
...es2015_reflect_1.es2015_reflect,
...es2015_symbol_1.es2015_symbol,
...es2015_symbol_wellknown_1.es2015_symbol_wellknown,
};
//# sourceMappingURL=es2015.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2015.js","sourceRoot":"","sources":["../../src/lib/es2015.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+BAA4B;AAC5B,2DAAwD;AACxD,+CAA4C;AAC5C,yDAAsD;AACtD,uDAAoD;AACpD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,mDAAgD;AAChD,uEAAoE;AAEvD,QAAA,MAAM,GAAG,gJACjB,SAAG,GACH,yBAAW,GACX,qCAAiB,GACjB,iCAAe,GACf,mCAAgB,GAChB,+BAAc,GACd,2BAAY,GACZ,+BAAc,GACd,6BAAa,GACb,iDAAuB,CACmB,CAAC"}
{"version":3,"file":"es2015.js","sourceRoot":"","sources":["../../src/lib/es2015.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+BAA4B;AAC5B,2DAAwD;AACxD,+CAA4C;AAC5C,yDAAsD;AACtD,uDAAoD;AACpD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,mDAAgD;AAChD,uEAAoE;AAEvD,QAAA,MAAM,GAAG;IACpB,GAAG,SAAG;IACN,GAAG,yBAAW;IACd,GAAG,qCAAiB;IACpB,GAAG,iCAAe;IAClB,GAAG,mCAAgB;IACnB,GAAG,+BAAc;IACjB,GAAG,2BAAY;IACf,GAAG,+BAAc;IACjB,GAAG,6BAAa;IAChB,GAAG,iDAAuB;CACmB,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015_promise = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2015.promise.js","sourceRoot":"","sources":["../../src/lib/es2015.promise.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AAExB,QAAA,cAAc,GAAG;IAC5B,kBAAkB,EAAE,kBAAI;CACqB,CAAC"}
{"version":3,"file":"es2015.promise.js","sourceRoot":"","sources":["../../src/lib/es2015.promise.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AAExB,QAAA,cAAc,GAAG;IAC5B,kBAAkB,EAAE,kBAAI;CACqB,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015_proxy = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2015.proxy.js","sourceRoot":"","sources":["../../src/lib/es2015.proxy.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AAExB,QAAA,YAAY,GAAG;IAC1B,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;CACuB,CAAC"}
{"version":3,"file":"es2015.proxy.js","sourceRoot":"","sources":["../../src/lib/es2015.proxy.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AAExB,QAAA,YAAY,GAAG;IAC1B,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;CACuB,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015_reflect = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2015.reflect.js","sourceRoot":"","sources":["../../src/lib/es2015.reflect.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAA2C;AAE9B,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,wBAAU;CAC0B,CAAC"}
{"version":3,"file":"es2015.reflect.js","sourceRoot":"","sources":["../../src/lib/es2015.reflect.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAA2C;AAE9B,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,wBAAU;CAC0B,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015_symbol = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2015.symbol.js","sourceRoot":"","sources":["../../src/lib/es2015.symbol.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AAExB,QAAA,aAAa,GAAG;IAC3B,iBAAiB,EAAE,kBAAI;CACsB,CAAC"}
{"version":3,"file":"es2015.symbol.js","sourceRoot":"","sources":["../../src/lib/es2015.symbol.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AAExB,QAAA,aAAa,GAAG;IAC3B,iBAAiB,EAAE,kBAAI;CACsB,CAAC"}

View File

@ -1 +1 @@
{"version":3,"file":"es2015.symbol.wellknown.d.ts","sourceRoot":"","sources":["../../src/lib/es2015.symbol.wellknown.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,uBAAuB,4CAkCW,CAAC"}
{"version":3,"file":"es2015.symbol.wellknown.d.ts","sourceRoot":"","sources":["../../src/lib/es2015.symbol.wellknown.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,uBAAuB,4CAmCW,CAAC"}

View File

@ -2,10 +2,45 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2015_symbol_wellknown = void 0;
const base_config_1 = require("./base-config");
const es2015_symbol_1 = require("./es2015.symbol");
exports.es2015_symbol_wellknown = Object.assign(Object.assign({}, es2015_symbol_1.es2015_symbol), { SymbolConstructor: base_config_1.TYPE, Symbol: base_config_1.TYPE, Array: base_config_1.TYPE, Date: base_config_1.TYPE, Map: base_config_1.TYPE, WeakMap: base_config_1.TYPE, Set: base_config_1.TYPE, WeakSet: base_config_1.TYPE, JSON: base_config_1.TYPE, Function: base_config_1.TYPE, GeneratorFunction: base_config_1.TYPE, Math: base_config_1.TYPE, Promise: base_config_1.TYPE, PromiseConstructor: base_config_1.TYPE, RegExp: base_config_1.TYPE, RegExpConstructor: base_config_1.TYPE, String: base_config_1.TYPE, ArrayBuffer: base_config_1.TYPE, DataView: base_config_1.TYPE, Int8Array: base_config_1.TYPE, Uint8Array: base_config_1.TYPE, Uint8ClampedArray: base_config_1.TYPE, Int16Array: base_config_1.TYPE, Uint16Array: base_config_1.TYPE, Int32Array: base_config_1.TYPE, Uint32Array: base_config_1.TYPE, Float32Array: base_config_1.TYPE, Float64Array: base_config_1.TYPE, ArrayConstructor: base_config_1.TYPE, MapConstructor: base_config_1.TYPE, SetConstructor: base_config_1.TYPE, ArrayBufferConstructor: base_config_1.TYPE });
exports.es2015_symbol_wellknown = {
...es2015_symbol_1.es2015_symbol,
SymbolConstructor: base_config_1.TYPE,
Symbol: base_config_1.TYPE,
Array: base_config_1.TYPE,
ReadonlyArray: base_config_1.TYPE,
Date: base_config_1.TYPE,
Map: base_config_1.TYPE,
WeakMap: base_config_1.TYPE,
Set: base_config_1.TYPE,
WeakSet: base_config_1.TYPE,
JSON: base_config_1.TYPE,
Function: base_config_1.TYPE,
GeneratorFunction: base_config_1.TYPE,
Math: base_config_1.TYPE,
Promise: base_config_1.TYPE,
PromiseConstructor: base_config_1.TYPE,
RegExp: base_config_1.TYPE,
RegExpConstructor: base_config_1.TYPE,
String: base_config_1.TYPE,
ArrayBuffer: base_config_1.TYPE,
DataView: base_config_1.TYPE,
Int8Array: base_config_1.TYPE,
Uint8Array: base_config_1.TYPE,
Uint8ClampedArray: base_config_1.TYPE,
Int16Array: base_config_1.TYPE,
Uint16Array: base_config_1.TYPE,
Int32Array: base_config_1.TYPE,
Uint32Array: base_config_1.TYPE,
Float32Array: base_config_1.TYPE,
Float64Array: base_config_1.TYPE,
ArrayConstructor: base_config_1.TYPE,
MapConstructor: base_config_1.TYPE,
SetConstructor: base_config_1.TYPE,
ArrayBufferConstructor: base_config_1.TYPE,
};
//# sourceMappingURL=es2015.symbol.wellknown.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2015.symbol.wellknown.js","sourceRoot":"","sources":["../../src/lib/es2015.symbol.wellknown.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AACrC,mDAAgD;AAEnC,QAAA,uBAAuB,GAAG,gCAClC,6BAAa,KAChB,iBAAiB,EAAE,kBAAI,EACvB,MAAM,EAAE,kBAAI,EACZ,KAAK,EAAE,kBAAI,EACX,IAAI,EAAE,kBAAI,EACV,GAAG,EAAE,kBAAI,EACT,OAAO,EAAE,kBAAI,EACb,GAAG,EAAE,kBAAI,EACT,OAAO,EAAE,kBAAI,EACb,IAAI,EAAE,kBAAI,EACV,QAAQ,EAAE,kBAAI,EACd,iBAAiB,EAAE,kBAAI,EACvB,IAAI,EAAE,kBAAI,EACV,OAAO,EAAE,kBAAI,EACb,kBAAkB,EAAE,kBAAI,EACxB,MAAM,EAAE,kBAAI,EACZ,iBAAiB,EAAE,kBAAI,EACvB,MAAM,EAAE,kBAAI,EACZ,WAAW,EAAE,kBAAI,EACjB,QAAQ,EAAE,kBAAI,EACd,SAAS,EAAE,kBAAI,EACf,UAAU,EAAE,kBAAI,EAChB,iBAAiB,EAAE,kBAAI,EACvB,UAAU,EAAE,kBAAI,EAChB,WAAW,EAAE,kBAAI,EACjB,UAAU,EAAE,kBAAI,EAChB,WAAW,EAAE,kBAAI,EACjB,YAAY,EAAE,kBAAI,EAClB,YAAY,EAAE,kBAAI,EAClB,gBAAgB,EAAE,kBAAI,EACtB,cAAc,EAAE,kBAAI,EACpB,cAAc,EAAE,kBAAI,EACpB,sBAAsB,EAAE,kBAAI,GACiB,CAAC"}
{"version":3,"file":"es2015.symbol.wellknown.js","sourceRoot":"","sources":["../../src/lib/es2015.symbol.wellknown.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AACrC,mDAAgD;AAEnC,QAAA,uBAAuB,GAAG;IACrC,GAAG,6BAAa;IAChB,iBAAiB,EAAE,kBAAI;IACvB,MAAM,EAAE,kBAAI;IACZ,KAAK,EAAE,kBAAI;IACX,aAAa,EAAE,kBAAI;IACnB,IAAI,EAAE,kBAAI;IACV,GAAG,EAAE,kBAAI;IACT,OAAO,EAAE,kBAAI;IACb,GAAG,EAAE,kBAAI;IACT,OAAO,EAAE,kBAAI;IACb,IAAI,EAAE,kBAAI;IACV,QAAQ,EAAE,kBAAI;IACd,iBAAiB,EAAE,kBAAI;IACvB,IAAI,EAAE,kBAAI;IACV,OAAO,EAAE,kBAAI;IACb,kBAAkB,EAAE,kBAAI;IACxB,MAAM,EAAE,kBAAI;IACZ,iBAAiB,EAAE,kBAAI;IACvB,MAAM,EAAE,kBAAI;IACZ,WAAW,EAAE,kBAAI;IACjB,QAAQ,EAAE,kBAAI;IACd,SAAS,EAAE,kBAAI;IACf,UAAU,EAAE,kBAAI;IAChB,iBAAiB,EAAE,kBAAI;IACvB,UAAU,EAAE,kBAAI;IAChB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,WAAW,EAAE,kBAAI;IACjB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;IACtB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;CACiB,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2016_array_include = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2016.array.include.js","sourceRoot":"","sources":["../../src/lib/es2016.array.include.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AAExB,QAAA,oBAAoB,GAAG;IAClC,KAAK,EAAE,kBAAI;IACX,aAAa,EAAE,kBAAI;IACnB,SAAS,EAAE,kBAAI;IACf,UAAU,EAAE,kBAAI;IAChB,iBAAiB,EAAE,kBAAI;IACvB,UAAU,EAAE,kBAAI;IAChB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,WAAW,EAAE,kBAAI;IACjB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;CAC2B,CAAC"}
{"version":3,"file":"es2016.array.include.js","sourceRoot":"","sources":["../../src/lib/es2016.array.include.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AAExB,QAAA,oBAAoB,GAAG;IAClC,KAAK,EAAE,kBAAI;IACX,aAAa,EAAE,kBAAI;IACnB,SAAS,EAAE,kBAAI;IACf,UAAU,EAAE,kBAAI;IAChB,iBAAiB,EAAE,kBAAI;IACvB,UAAU,EAAE,kBAAI;IAChB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,WAAW,EAAE,kBAAI;IACjB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;CAC2B,CAAC"}

View File

@ -1 +1 @@
{"version":3,"file":"es2016.d.ts","sourceRoot":"","sources":["../../src/lib/es2016.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,MAAM,4CAG4B,CAAC"}
{"version":3,"file":"es2016.d.ts","sourceRoot":"","sources":["../../src/lib/es2016.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAK9D,eAAO,MAAM,MAAM,4CAI4B,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2016_full = void 0;
const dom_1 = require("./dom");
@ -10,5 +10,11 @@ const dom_iterable_1 = require("./dom.iterable");
const es2016_1 = require("./es2016");
const scripthost_1 = require("./scripthost");
const webworker_importscripts_1 = require("./webworker.importscripts");
exports.es2016_full = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, es2016_1.es2016), dom_1.dom), webworker_importscripts_1.webworker_importscripts), scripthost_1.scripthost), dom_iterable_1.dom_iterable);
exports.es2016_full = {
...es2016_1.es2016,
...dom_1.dom,
...webworker_importscripts_1.webworker_importscripts,
...scripthost_1.scripthost,
...dom_iterable_1.dom_iterable,
};
//# sourceMappingURL=es2016.full.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2016.full.js","sourceRoot":"","sources":["../../src/lib/es2016.full.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+BAA4B;AAC5B,iDAA8C;AAC9C,qCAAkC;AAClC,6CAA0C;AAC1C,uEAAoE;AAEvD,QAAA,WAAW,GAAG,0EACtB,eAAM,GACN,SAAG,GACH,iDAAuB,GACvB,uBAAU,GACV,2BAAY,CAC8B,CAAC"}
{"version":3,"file":"es2016.full.js","sourceRoot":"","sources":["../../src/lib/es2016.full.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+BAA4B;AAC5B,iDAA8C;AAC9C,qCAAkC;AAClC,6CAA0C;AAC1C,uEAAoE;AAEvD,QAAA,WAAW,GAAG;IACzB,GAAG,eAAM;IACT,GAAG,SAAG;IACN,GAAG,iDAAuB;IAC1B,GAAG,uBAAU;IACb,GAAG,2BAAY;CAC8B,CAAC"}

View File

@ -2,10 +2,15 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2016 = void 0;
const es2015_1 = require("./es2015");
const es2016_array_include_1 = require("./es2016.array.include");
exports.es2016 = Object.assign(Object.assign({}, es2015_1.es2015), es2016_array_include_1.es2016_array_include);
const es2016_intl_1 = require("./es2016.intl");
exports.es2016 = {
...es2015_1.es2015,
...es2016_array_include_1.es2016_array_include,
...es2016_intl_1.es2016_intl,
};
//# sourceMappingURL=es2016.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2016.js","sourceRoot":"","sources":["../../src/lib/es2016.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,qCAAkC;AAClC,iEAA8D;AAEjD,QAAA,MAAM,GAAG,gCACjB,eAAM,GACN,2CAAoB,CACsB,CAAC"}
{"version":3,"file":"es2016.js","sourceRoot":"","sources":["../../src/lib/es2016.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,qCAAkC;AAClC,iEAA8D;AAC9D,+CAA4C;AAE/B,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,2CAAoB;IACvB,GAAG,yBAAW;CAC+B,CAAC"}

View File

@ -1 +1 @@
{"version":3,"file":"es2017.d.ts","sourceRoot":"","sources":["../../src/lib/es2017.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAQ9D,eAAO,MAAM,MAAM,4CAO4B,CAAC"}
{"version":3,"file":"es2017.d.ts","sourceRoot":"","sources":["../../src/lib/es2017.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAS9D,eAAO,MAAM,MAAM,4CAQ4B,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2017_full = void 0;
const dom_1 = require("./dom");
@ -10,5 +10,11 @@ const dom_iterable_1 = require("./dom.iterable");
const es2017_1 = require("./es2017");
const scripthost_1 = require("./scripthost");
const webworker_importscripts_1 = require("./webworker.importscripts");
exports.es2017_full = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, es2017_1.es2017), dom_1.dom), webworker_importscripts_1.webworker_importscripts), scripthost_1.scripthost), dom_iterable_1.dom_iterable);
exports.es2017_full = {
...es2017_1.es2017,
...dom_1.dom,
...webworker_importscripts_1.webworker_importscripts,
...scripthost_1.scripthost,
...dom_iterable_1.dom_iterable,
};
//# sourceMappingURL=es2017.full.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2017.full.js","sourceRoot":"","sources":["../../src/lib/es2017.full.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+BAA4B;AAC5B,iDAA8C;AAC9C,qCAAkC;AAClC,6CAA0C;AAC1C,uEAAoE;AAEvD,QAAA,WAAW,GAAG,0EACtB,eAAM,GACN,SAAG,GACH,iDAAuB,GACvB,uBAAU,GACV,2BAAY,CAC8B,CAAC"}
{"version":3,"file":"es2017.full.js","sourceRoot":"","sources":["../../src/lib/es2017.full.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+BAA4B;AAC5B,iDAA8C;AAC9C,qCAAkC;AAClC,6CAA0C;AAC1C,uEAAoE;AAEvD,QAAA,WAAW,GAAG;IACzB,GAAG,eAAM;IACT,GAAG,SAAG;IACN,GAAG,iDAAuB;IAC1B,GAAG,uBAAU;IACb,GAAG,2BAAY;CAC8B,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2017_intl = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2017.intl.js","sourceRoot":"","sources":["../../src/lib/es2017.intl.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAA2C;AAE9B,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,wBAAU;CAC6B,CAAC"}
{"version":3,"file":"es2017.intl.js","sourceRoot":"","sources":["../../src/lib/es2017.intl.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAA2C;AAE9B,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,wBAAU;CAC6B,CAAC"}

View File

@ -2,14 +2,23 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2017 = void 0;
const es2016_1 = require("./es2016");
const es2017_date_1 = require("./es2017.date");
const es2017_intl_1 = require("./es2017.intl");
const es2017_object_1 = require("./es2017.object");
const es2017_sharedmemory_1 = require("./es2017.sharedmemory");
const es2017_string_1 = require("./es2017.string");
const es2017_typedarrays_1 = require("./es2017.typedarrays");
exports.es2017 = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, es2016_1.es2016), es2017_object_1.es2017_object), es2017_sharedmemory_1.es2017_sharedmemory), es2017_string_1.es2017_string), es2017_intl_1.es2017_intl), es2017_typedarrays_1.es2017_typedarrays);
exports.es2017 = {
...es2016_1.es2016,
...es2017_object_1.es2017_object,
...es2017_sharedmemory_1.es2017_sharedmemory,
...es2017_string_1.es2017_string,
...es2017_intl_1.es2017_intl,
...es2017_typedarrays_1.es2017_typedarrays,
...es2017_date_1.es2017_date,
};
//# sourceMappingURL=es2017.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2017.js","sourceRoot":"","sources":["../../src/lib/es2017.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,qCAAkC;AAClC,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,6DAA0D;AAE7C,QAAA,MAAM,GAAG,wFACjB,eAAM,GACN,6BAAa,GACb,yCAAmB,GACnB,6BAAa,GACb,yBAAW,GACX,uCAAkB,CACwB,CAAC"}
{"version":3,"file":"es2017.js","sourceRoot":"","sources":["../../src/lib/es2017.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,qCAAkC;AAClC,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,6DAA0D;AAE7C,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,6BAAa;IAChB,GAAG,yCAAmB;IACtB,GAAG,6BAAa;IAChB,GAAG,yBAAW;IACd,GAAG,uCAAkB;IACrB,GAAG,yBAAW;CAC+B,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2017_object = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2017.object.js","sourceRoot":"","sources":["../../src/lib/es2017.object.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AAExB,QAAA,aAAa,GAAG;IAC3B,iBAAiB,EAAE,kBAAI;CACsB,CAAC"}
{"version":3,"file":"es2017.object.js","sourceRoot":"","sources":["../../src/lib/es2017.object.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AAExB,QAAA,aAAa,GAAG;IAC3B,iBAAiB,EAAE,kBAAI;CACsB,CAAC"}

View File

@ -2,11 +2,18 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2017_sharedmemory = void 0;
const base_config_1 = require("./base-config");
const es2015_symbol_1 = require("./es2015.symbol");
const es2015_symbol_wellknown_1 = require("./es2015.symbol.wellknown");
exports.es2017_sharedmemory = Object.assign(Object.assign(Object.assign({}, es2015_symbol_1.es2015_symbol), es2015_symbol_wellknown_1.es2015_symbol_wellknown), { SharedArrayBuffer: base_config_1.TYPE_VALUE, SharedArrayBufferConstructor: base_config_1.TYPE, ArrayBufferTypes: base_config_1.TYPE, Atomics: base_config_1.TYPE_VALUE });
exports.es2017_sharedmemory = {
...es2015_symbol_1.es2015_symbol,
...es2015_symbol_wellknown_1.es2015_symbol_wellknown,
SharedArrayBuffer: base_config_1.TYPE_VALUE,
SharedArrayBufferConstructor: base_config_1.TYPE,
ArrayBufferTypes: base_config_1.TYPE,
Atomics: base_config_1.TYPE_VALUE,
};
//# sourceMappingURL=es2017.sharedmemory.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2017.sharedmemory.js","sourceRoot":"","sources":["../../src/lib/es2017.sharedmemory.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAiD;AACjD,mDAAgD;AAChD,uEAAoE;AAEvD,QAAA,mBAAmB,GAAG,8CAC9B,6BAAa,GACb,iDAAuB,KAC1B,iBAAiB,EAAE,wBAAU,EAC7B,4BAA4B,EAAE,kBAAI,EAClC,gBAAgB,EAAE,kBAAI,EACtB,OAAO,EAAE,wBAAU,GAC0B,CAAC"}
{"version":3,"file":"es2017.sharedmemory.js","sourceRoot":"","sources":["../../src/lib/es2017.sharedmemory.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAiD;AACjD,mDAAgD;AAChD,uEAAoE;AAEvD,QAAA,mBAAmB,GAAG;IACjC,GAAG,6BAAa;IAChB,GAAG,iDAAuB;IAC1B,iBAAiB,EAAE,wBAAU;IAC7B,4BAA4B,EAAE,kBAAI;IAClC,gBAAgB,EAAE,kBAAI;IACtB,OAAO,EAAE,wBAAU;CAC0B,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2017_string = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2017.string.js","sourceRoot":"","sources":["../../src/lib/es2017.string.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AAExB,QAAA,aAAa,GAAG;IAC3B,MAAM,EAAE,kBAAI;CACiC,CAAC"}
{"version":3,"file":"es2017.string.js","sourceRoot":"","sources":["../../src/lib/es2017.string.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AAExB,QAAA,aAAa,GAAG;IAC3B,MAAM,EAAE,kBAAI;CACiC,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2017_typedarrays = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2017.typedarrays.js","sourceRoot":"","sources":["../../src/lib/es2017.typedarrays.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AAExB,QAAA,kBAAkB,GAAG;IAChC,oBAAoB,EAAE,kBAAI;IAC1B,qBAAqB,EAAE,kBAAI;IAC3B,4BAA4B,EAAE,kBAAI;IAClC,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,uBAAuB,EAAE,kBAAI;IAC7B,uBAAuB,EAAE,kBAAI;CACgB,CAAC"}
{"version":3,"file":"es2017.typedarrays.js","sourceRoot":"","sources":["../../src/lib/es2017.typedarrays.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AAExB,QAAA,kBAAkB,GAAG;IAChC,oBAAoB,EAAE,kBAAI;IAC1B,qBAAqB,EAAE,kBAAI;IAC3B,4BAA4B,EAAE,kBAAI;IAClC,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,uBAAuB,EAAE,kBAAI;IAC7B,uBAAuB,EAAE,kBAAI;CACgB,CAAC"}

View File

@ -2,10 +2,15 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2018_asyncgenerator = void 0;
const base_config_1 = require("./base-config");
const es2018_asynciterable_1 = require("./es2018.asynciterable");
exports.es2018_asyncgenerator = Object.assign(Object.assign({}, es2018_asynciterable_1.es2018_asynciterable), { AsyncGenerator: base_config_1.TYPE, AsyncGeneratorFunction: base_config_1.TYPE, AsyncGeneratorFunctionConstructor: base_config_1.TYPE });
exports.es2018_asyncgenerator = {
...es2018_asynciterable_1.es2018_asynciterable,
AsyncGenerator: base_config_1.TYPE,
AsyncGeneratorFunction: base_config_1.TYPE,
AsyncGeneratorFunctionConstructor: base_config_1.TYPE,
};
//# sourceMappingURL=es2018.asyncgenerator.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2018.asyncgenerator.js","sourceRoot":"","sources":["../../src/lib/es2018.asyncgenerator.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AACrC,iEAA8D;AAEjD,QAAA,qBAAqB,GAAG,gCAChC,2CAAoB,KACvB,cAAc,EAAE,kBAAI,EACpB,sBAAsB,EAAE,kBAAI,EAC5B,iCAAiC,EAAE,kBAAI,GACM,CAAC"}
{"version":3,"file":"es2018.asyncgenerator.js","sourceRoot":"","sources":["../../src/lib/es2018.asyncgenerator.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AACrC,iEAA8D;AAEjD,QAAA,qBAAqB,GAAG;IACnC,GAAG,2CAAoB;IACvB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,iCAAiC,EAAE,kBAAI;CACM,CAAC"}

View File

@ -2,11 +2,18 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2018_asynciterable = void 0;
const base_config_1 = require("./base-config");
const es2015_iterable_1 = require("./es2015.iterable");
const es2015_symbol_1 = require("./es2015.symbol");
exports.es2018_asynciterable = Object.assign(Object.assign(Object.assign({}, es2015_symbol_1.es2015_symbol), es2015_iterable_1.es2015_iterable), { SymbolConstructor: base_config_1.TYPE, AsyncIterator: base_config_1.TYPE, AsyncIterable: base_config_1.TYPE, AsyncIterableIterator: base_config_1.TYPE });
exports.es2018_asynciterable = {
...es2015_symbol_1.es2015_symbol,
...es2015_iterable_1.es2015_iterable,
SymbolConstructor: base_config_1.TYPE,
AsyncIterator: base_config_1.TYPE,
AsyncIterable: base_config_1.TYPE,
AsyncIterableIterator: base_config_1.TYPE,
};
//# sourceMappingURL=es2018.asynciterable.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2018.asynciterable.js","sourceRoot":"","sources":["../../src/lib/es2018.asynciterable.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAAqC;AACrC,uDAAoD;AACpD,mDAAgD;AAEnC,QAAA,oBAAoB,GAAG,8CAC/B,6BAAa,GACb,iCAAe,KAClB,iBAAiB,EAAE,kBAAI,EACvB,aAAa,EAAE,kBAAI,EACnB,aAAa,EAAE,kBAAI,EACnB,qBAAqB,EAAE,kBAAI,GACkB,CAAC"}
{"version":3,"file":"es2018.asynciterable.js","sourceRoot":"","sources":["../../src/lib/es2018.asynciterable.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAAqC;AACrC,uDAAoD;AACpD,mDAAgD;AAEnC,QAAA,oBAAoB,GAAG;IAClC,GAAG,6BAAa;IAChB,GAAG,iCAAe;IAClB,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,aAAa,EAAE,kBAAI;IACnB,qBAAqB,EAAE,kBAAI;CACkB,CAAC"}

View File

@ -1 +1 @@
{"version":3,"file":"es2018.full.d.ts","sourceRoot":"","sources":["../../src/lib/es2018.full.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAO9D,eAAO,MAAM,WAAW,4CAMuB,CAAC"}
{"version":3,"file":"es2018.full.d.ts","sourceRoot":"","sources":["../../src/lib/es2018.full.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAQ9D,eAAO,MAAM,WAAW,4CAOuB,CAAC"}

View File

@ -2,13 +2,21 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2018_full = void 0;
const dom_1 = require("./dom");
const dom_asynciterable_1 = require("./dom.asynciterable");
const dom_iterable_1 = require("./dom.iterable");
const es2018_1 = require("./es2018");
const scripthost_1 = require("./scripthost");
const webworker_importscripts_1 = require("./webworker.importscripts");
exports.es2018_full = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, es2018_1.es2018), dom_1.dom), webworker_importscripts_1.webworker_importscripts), scripthost_1.scripthost), dom_iterable_1.dom_iterable);
exports.es2018_full = {
...es2018_1.es2018,
...dom_1.dom,
...webworker_importscripts_1.webworker_importscripts,
...scripthost_1.scripthost,
...dom_iterable_1.dom_iterable,
...dom_asynciterable_1.dom_asynciterable,
};
//# sourceMappingURL=es2018.full.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2018.full.js","sourceRoot":"","sources":["../../src/lib/es2018.full.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+BAA4B;AAC5B,iDAA8C;AAC9C,qCAAkC;AAClC,6CAA0C;AAC1C,uEAAoE;AAEvD,QAAA,WAAW,GAAG,0EACtB,eAAM,GACN,SAAG,GACH,iDAAuB,GACvB,uBAAU,GACV,2BAAY,CAC8B,CAAC"}
{"version":3,"file":"es2018.full.js","sourceRoot":"","sources":["../../src/lib/es2018.full.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+BAA4B;AAC5B,2DAAwD;AACxD,iDAA8C;AAC9C,qCAAkC;AAClC,6CAA0C;AAC1C,uEAAoE;AAEvD,QAAA,WAAW,GAAG;IACzB,GAAG,eAAM;IACT,GAAG,SAAG;IACN,GAAG,iDAAuB;IAC1B,GAAG,uBAAU;IACb,GAAG,2BAAY;IACf,GAAG,qCAAiB;CACyB,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2018_intl = void 0;
const base_config_1 = require("./base-config");

View File

@ -1 +1 @@
{"version":3,"file":"es2018.intl.js","sourceRoot":"","sources":["../../src/lib/es2018.intl.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,+CAA2C;AAE9B,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,wBAAU;CAC6B,CAAC"}
{"version":3,"file":"es2018.intl.js","sourceRoot":"","sources":["../../src/lib/es2018.intl.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,+CAA2C;AAE9B,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,wBAAU;CAC6B,CAAC"}

View File

@ -2,7 +2,7 @@
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
// npx nx generate-lib @typescript-eslint/repo-tools
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2018 = void 0;
const es2017_1 = require("./es2017");
@ -11,5 +11,12 @@ const es2018_asynciterable_1 = require("./es2018.asynciterable");
const es2018_intl_1 = require("./es2018.intl");
const es2018_promise_1 = require("./es2018.promise");
const es2018_regexp_1 = require("./es2018.regexp");
exports.es2018 = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, es2017_1.es2017), es2018_asynciterable_1.es2018_asynciterable), es2018_asyncgenerator_1.es2018_asyncgenerator), es2018_promise_1.es2018_promise), es2018_regexp_1.es2018_regexp), es2018_intl_1.es2018_intl);
exports.es2018 = {
...es2017_1.es2017,
...es2018_asynciterable_1.es2018_asynciterable,
...es2018_asyncgenerator_1.es2018_asyncgenerator,
...es2018_promise_1.es2018_promise,
...es2018_regexp_1.es2018_regexp,
...es2018_intl_1.es2018_intl,
};
//# sourceMappingURL=es2018.js.map

View File

@ -1 +1 @@
{"version":3,"file":"es2018.js","sourceRoot":"","sources":["../../src/lib/es2018.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,uDAAuD;;;AAGvD,qCAAkC;AAClC,mEAAgE;AAChE,iEAA8D;AAC9D,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAEnC,QAAA,MAAM,GAAG,wFACjB,eAAM,GACN,2CAAoB,GACpB,6CAAqB,GACrB,+BAAc,GACd,6BAAa,GACb,yBAAW,CAC+B,CAAC"}
{"version":3,"file":"es2018.js","sourceRoot":"","sources":["../../src/lib/es2018.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,oDAAoD;;;AAGpD,qCAAkC;AAClC,mEAAgE;AAChE,iEAA8D;AAC9D,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAEnC,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,2CAAoB;IACvB,GAAG,6CAAqB;IACxB,GAAG,+BAAc;IACjB,GAAG,6BAAa;IAChB,GAAG,yBAAW;CAC+B,CAAC"}

Some files were not shown because too many files have changed in this diff Show More