Update index.js

This commit is contained in:
Richie Bendall 2021-04-22 17:50:26 +12:00 committed by GitHub
parent a59688ac9b
commit a4b54d3623
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,9 +9,9 @@ import template from './templates.js';
const {stdout: stdoutColor, stderr: stderrColor} = supportsColor;
const {isArray} = Array;
const GENERATOR = Symbol('Generator');
const STYLER = Symbol('Styler');
const IS_EMPTY = Symbol('Is empty');
const GENERATOR = Symbol('GENERATOR');
const STYLER = Symbol('STYLER');
const IS_EMPTY = Symbol('ISEMPTY');
// `supportsColor.level` → `ansiStyles.color[name]` mapping
const levelMapping = [