updated npm modules
This commit is contained in:
13
node_modules/js-yaml/CHANGELOG.md
generated
vendored
13
node_modules/js-yaml/CHANGELOG.md
generated
vendored
@@ -1,3 +1,16 @@
|
||||
3.13.1 / 2019-04-05
|
||||
-------------------
|
||||
|
||||
- Fix possible code execution in (already unsafe) `.load()`, #480.
|
||||
|
||||
|
||||
3.13.0 / 2019-03-20
|
||||
-------------------
|
||||
|
||||
- Security fix: `safeLoad()` can hang when arrays with nested refs
|
||||
used as key. Now throws exception for nested arrays. #475.
|
||||
|
||||
|
||||
3.12.2 / 2019-02-26
|
||||
-------------------
|
||||
|
||||
|
||||
29
node_modules/js-yaml/dist/js-yaml.js
generated
vendored
29
node_modules/js-yaml/dist/js-yaml.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
/* js-yaml 3.12.2 https://github.com/nodeca/js-yaml */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.jsyaml = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
||||
/* js-yaml 3.13.1 https://github.com/nodeca/js-yaml */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.jsyaml = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
||||
'use strict';
|
||||
|
||||
|
||||
@@ -1007,6 +1007,8 @@ var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
|
||||
var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
||||
|
||||
|
||||
function _class(obj) { return Object.prototype.toString.call(obj); }
|
||||
|
||||
function is_EOL(c) {
|
||||
return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);
|
||||
}
|
||||
@@ -1262,6 +1264,31 @@ function mergeMappings(state, destination, source, overridableKeys) {
|
||||
function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
|
||||
var index, quantity;
|
||||
|
||||
// The output is a plain object here, so keys can only be strings.
|
||||
// We need to convert keyNode to a string, but doing so can hang the process
|
||||
// (deeply nested arrays that explode exponentially using aliases).
|
||||
if (Array.isArray(keyNode)) {
|
||||
keyNode = Array.prototype.slice.call(keyNode);
|
||||
|
||||
for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
|
||||
if (Array.isArray(keyNode[index])) {
|
||||
throwError(state, 'nested arrays are not supported inside keys');
|
||||
}
|
||||
|
||||
if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {
|
||||
keyNode[index] = '[object Object]';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Avoid code execution in load() via toString property
|
||||
// (still use its own toString for arrays, timestamps,
|
||||
// and whatever user schema extensions happen to have @@toStringTag)
|
||||
if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {
|
||||
keyNode = '[object Object]';
|
||||
}
|
||||
|
||||
|
||||
keyNode = String(keyNode);
|
||||
|
||||
if (_result === null) {
|
||||
|
||||
2
node_modules/js-yaml/dist/js-yaml.min.js
generated
vendored
2
node_modules/js-yaml/dist/js-yaml.min.js
generated
vendored
File diff suppressed because one or more lines are too long
27
node_modules/js-yaml/lib/js-yaml/loader.js
generated
vendored
27
node_modules/js-yaml/lib/js-yaml/loader.js
generated
vendored
@@ -30,6 +30,8 @@ var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
|
||||
var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
||||
|
||||
|
||||
function _class(obj) { return Object.prototype.toString.call(obj); }
|
||||
|
||||
function is_EOL(c) {
|
||||
return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);
|
||||
}
|
||||
@@ -285,6 +287,31 @@ function mergeMappings(state, destination, source, overridableKeys) {
|
||||
function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
|
||||
var index, quantity;
|
||||
|
||||
// The output is a plain object here, so keys can only be strings.
|
||||
// We need to convert keyNode to a string, but doing so can hang the process
|
||||
// (deeply nested arrays that explode exponentially using aliases).
|
||||
if (Array.isArray(keyNode)) {
|
||||
keyNode = Array.prototype.slice.call(keyNode);
|
||||
|
||||
for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
|
||||
if (Array.isArray(keyNode[index])) {
|
||||
throwError(state, 'nested arrays are not supported inside keys');
|
||||
}
|
||||
|
||||
if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {
|
||||
keyNode[index] = '[object Object]';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Avoid code execution in load() via toString property
|
||||
// (still use its own toString for arrays, timestamps,
|
||||
// and whatever user schema extensions happen to have @@toStringTag)
|
||||
if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {
|
||||
keyNode = '[object Object]';
|
||||
}
|
||||
|
||||
|
||||
keyNode = String(keyNode);
|
||||
|
||||
if (_result === null) {
|
||||
|
||||
20
node_modules/js-yaml/package.json
generated
vendored
20
node_modules/js-yaml/package.json
generated
vendored
@@ -1,28 +1,28 @@
|
||||
{
|
||||
"_from": "js-yaml@^3.9.0",
|
||||
"_id": "js-yaml@3.12.2",
|
||||
"_from": "js-yaml@^3.13.1",
|
||||
"_id": "js-yaml@3.13.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-QHn/Lh/7HhZ/Twc7vJYQTkjuCa0kaCcDcjK5Zlk2rvnUpy7DxMJ23+Jc2dcyvltwQVg1nygAVlB2oRDFHoRS5Q==",
|
||||
"_integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
|
||||
"_location": "/js-yaml",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "js-yaml@^3.9.0",
|
||||
"raw": "js-yaml@^3.13.1",
|
||||
"name": "js-yaml",
|
||||
"escapedName": "js-yaml",
|
||||
"rawSpec": "^3.9.0",
|
||||
"rawSpec": "^3.13.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^3.9.0"
|
||||
"fetchSpec": "^3.13.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/cosmiconfig",
|
||||
"/postcss-load-config/cosmiconfig",
|
||||
"/svgo"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.2.tgz",
|
||||
"_shasum": "ef1d067c5a9d9cb65bd72f285b5d8105c77f14fc",
|
||||
"_spec": "js-yaml@^3.9.0",
|
||||
"_resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
|
||||
"_shasum": "aff151b30bfdfa8e49e05da22e7415e9dfa37847",
|
||||
"_spec": "js-yaml@^3.13.1",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\cosmiconfig",
|
||||
"author": {
|
||||
"name": "Vladimir Zapparov",
|
||||
@@ -91,5 +91,5 @@
|
||||
"scripts": {
|
||||
"test": "make test"
|
||||
},
|
||||
"version": "3.12.2"
|
||||
"version": "3.13.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user