|
1 | | -/* js-yaml 3.14.0 https://github.com/nodeca/js-yaml */(function(f){if(typeofexports==="object"&&typeofmodule!=="undefined"){module.exports=f()}elseif(typeofdefine==="function"&&define.amd){define([],f)}else{varg;if(typeofwindow!=="undefined"){g=window}elseif(typeofglobal!=="undefined"){g=global}elseif(typeofself!=="undefined"){g=self}else{g=this}g.jsyaml=f()}})(function(){vardefine,module,exports;return(function(){functionr(e,n,t){functiono(i,f){if(!n[i]){if(!e[i]){varc="function"==typeofrequire&&require;if(!f&&c)returnc(i,!0);if(u)returnu(i,!0);vara=newError("Cannot find module '"+i+"'");throwa.code="MODULE_NOT_FOUND",a}varp=n[i]={exports:{}};e[i][0].call(p.exports,function(r){varn=e[i][1][r];returno(n||r)},p,p.exports,r,e,n,t)}returnn[i].exports}for(varu="function"==typeofrequire&&require,i=0;i<t.length;i++)o(t[i]);returno}returnr})()({1:[function(require,module,exports){ |
| 1 | +/*! js-yaml 3.14.1 https://github.com/nodeca/js-yaml */(function(f){if(typeofexports==="object"&&typeofmodule!=="undefined"){module.exports=f()}elseif(typeofdefine==="function"&&define.amd){define([],f)}else{varg;if(typeofwindow!=="undefined"){g=window}elseif(typeofglobal!=="undefined"){g=global}elseif(typeofself!=="undefined"){g=self}else{g=this}g.jsyaml=f()}})(function(){vardefine,module,exports;return(function(){functionr(e,n,t){functiono(i,f){if(!n[i]){if(!e[i]){varc="function"==typeofrequire&&require;if(!f&&c)returnc(i,!0);if(u)returnu(i,!0);vara=newError("Cannot find module '"+i+"'");throwa.code="MODULE_NOT_FOUND",a}varp=n[i]={exports:{}};e[i][0].call(p.exports,function(r){varn=e[i][1][r];returno(n||r)},p,p.exports,r,e,n,t)}returnn[i].exports}for(varu="function"==typeofrequire&&require,i=0;i<t.length;i++)o(t[i]);returno}returnr})()({1:[function(require,module,exports){ |
2 | 2 | 'use strict'; |
3 | 3 |
|
4 | 4 |
|
@@ -2272,7 +2272,7 @@ function readAlias(state) { |
2272 | 2272 |
|
2273 | 2273 | alias=state.input.slice(_position,state.position); |
2274 | 2274 |
|
2275 | | -if(!state.anchorMap.hasOwnProperty(alias)){ |
| 2275 | +if(!_hasOwnProperty.call(state.anchorMap,alias)){ |
2276 | 2276 | throwError(state,'unidentified alias "'+alias+'"'); |
2277 | 2277 | } |
2278 | 2278 |
|
|