rename warnings.js to warnings-tmp.js

pull/11302/head
Rich Harris 2 years ago
parent 5405ec6c91
commit bb71afa821

@ -7,7 +7,7 @@ import {
regex_starts_with_vowel,
regex_whitespaces
} from '../patterns.js';
import { warn } from '../../warnings.js';
import { warn } from '../../warnings-tmp.js';
import fuzzymatch from '../1-parse/utils/fuzzymatch.js';
import { is_event_attribute, is_text_attribute } from '../../utils/ast.js';
import { ContentEditableBindings } from '../constants.js';
@ -673,10 +673,10 @@ function check_element(node, state) {
if (state.options.namespace === 'foreign') return;
/**
* @template {keyof import('../../warnings.js').AllWarnings} T
* @template {keyof import('../../warnings-tmp.js').AllWarnings} T
* @param {{ start?: number, end?: number }} node
* @param {T} code
* @param {Parameters<import('../../warnings.js').AllWarnings[T]>} args
* @param {Parameters<import('../../warnings-tmp.js').AllWarnings[T]>} args
* @returns {void}
*/
const push_warning = (node, code, ...args) => warn(state.analysis.warnings, node, code, ...args);

@ -1,5 +1,5 @@
import { walk } from 'zimmerframe';
import { warn } from '../../../warnings.js';
import { warn } from '../../../warnings-tmp.js';
import { is_keyframes_node } from '../../css.js';
/**

@ -14,7 +14,7 @@ import { ReservedKeywords, Runes, SVGElements } from '../constants.js';
import { Scope, ScopeRoot, create_scopes, get_rune, set_scope } from '../scope.js';
import { merge } from '../visitors.js';
import { validation_legacy, validation_runes, validation_runes_js } from './validation.js';
import { warn } from '../../warnings.js';
import { warn } from '../../warnings-tmp.js';
import check_graph_for_cycles from './utils/check_graph_for_cycles.js';
import { regex_starts_with_newline } from '../patterns.js';
import { create_attribute, is_element_node } from '../nodes.js';

@ -12,7 +12,7 @@ import {
object,
unwrap_optional
} from '../../utils/ast.js';
import { warn } from '../../warnings.js';
import { warn } from '../../warnings-tmp.js';
import fuzzymatch from '../1-parse/utils/fuzzymatch.js';
import { binding_properties } from '../bindings.js';
import {

Loading…
Cancel
Save