Updating NPM dependencies
This commit is contained in:
28
node_modules/jest-config/build/vendor/jsonlint.js
generated
vendored
28
node_modules/jest-config/build/vendor/jsonlint.js
generated
vendored
@@ -4,7 +4,7 @@
|
||||
// Vendored in Jest to avoid jsonlint's transitive dependencies.
|
||||
|
||||
/* eslint-disable */
|
||||
var jsonlint = (function() {
|
||||
var jsonlint = (function () {
|
||||
var parser = {
|
||||
trace: function trace() {},
|
||||
yy: {},
|
||||
@@ -615,7 +615,7 @@ var jsonlint = (function() {
|
||||
};
|
||||
/* Jison generated lexer */
|
||||
|
||||
var lexer = (function() {
|
||||
var lexer = (function () {
|
||||
var lexer = {
|
||||
EOF: 1,
|
||||
parseError: function parseError(str, hash) {
|
||||
@@ -625,7 +625,7 @@ var jsonlint = (function() {
|
||||
throw new Error(str);
|
||||
}
|
||||
},
|
||||
setInput: function setInput(input) {
|
||||
setInput: function (input) {
|
||||
this._input = input;
|
||||
this._more = this._less = this.done = false;
|
||||
this.yylineno = this.yyleng = 0;
|
||||
@@ -639,7 +639,7 @@ var jsonlint = (function() {
|
||||
};
|
||||
return this;
|
||||
},
|
||||
input: function input() {
|
||||
input: function () {
|
||||
var ch = this._input[0];
|
||||
this.yytext += ch;
|
||||
this.yyleng++;
|
||||
@@ -650,18 +650,18 @@ var jsonlint = (function() {
|
||||
this._input = this._input.slice(1);
|
||||
return ch;
|
||||
},
|
||||
unput: function unput(ch) {
|
||||
unput: function (ch) {
|
||||
this._input = ch + this._input;
|
||||
return this;
|
||||
},
|
||||
more: function more() {
|
||||
more: function () {
|
||||
this._more = true;
|
||||
return this;
|
||||
},
|
||||
less: function less(n) {
|
||||
less: function (n) {
|
||||
this._input = this.match.slice(n) + this._input;
|
||||
},
|
||||
pastInput: function pastInput() {
|
||||
pastInput: function () {
|
||||
var past = this.matched.substr(
|
||||
0,
|
||||
this.matched.length - this.match.length
|
||||
@@ -670,7 +670,7 @@ var jsonlint = (function() {
|
||||
(past.length > 20 ? '...' : '') + past.substr(-20).replace(/\n/g, '')
|
||||
);
|
||||
},
|
||||
upcomingInput: function upcomingInput() {
|
||||
upcomingInput: function () {
|
||||
var next = this.match;
|
||||
|
||||
if (next.length < 20) {
|
||||
@@ -682,12 +682,12 @@ var jsonlint = (function() {
|
||||
''
|
||||
);
|
||||
},
|
||||
showPosition: function showPosition() {
|
||||
showPosition: function () {
|
||||
var pre = this.pastInput();
|
||||
var c = new Array(pre.length + 1).join('-');
|
||||
return pre + this.upcomingInput() + '\n' + c + '^';
|
||||
},
|
||||
next: function next() {
|
||||
next: function () {
|
||||
if (this.done) {
|
||||
return this.EOF;
|
||||
}
|
||||
@@ -777,7 +777,7 @@ var jsonlint = (function() {
|
||||
this.conditionStack[this.conditionStack.length - 1]
|
||||
].rules;
|
||||
},
|
||||
topState: function topState() {
|
||||
topState: function () {
|
||||
return this.conditionStack[this.conditionStack.length - 2];
|
||||
},
|
||||
pushState: function begin(condition) {
|
||||
@@ -885,7 +885,7 @@ var jsonlint = (function() {
|
||||
|
||||
exports.parser = jsonlint;
|
||||
|
||||
exports.errors = function(input) {
|
||||
exports.errors = function (input) {
|
||||
try {
|
||||
this.parse(input);
|
||||
} catch (e) {
|
||||
@@ -893,7 +893,7 @@ exports.errors = function(input) {
|
||||
}
|
||||
};
|
||||
|
||||
exports.parse = function() {
|
||||
exports.parse = function () {
|
||||
return jsonlint.parse.apply(jsonlint, arguments);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user