vuetify eingebunden + erster Versuch Combobox
This commit is contained in:
+25
@@ -1,3 +1,28 @@
|
||||
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
|
||||
-------------------
|
||||
|
||||
- Fix `noArrayIndent` option for root level, #468.
|
||||
|
||||
|
||||
3.12.1 / 2019-01-05
|
||||
-------------------
|
||||
|
||||
- Added `noArrayIndent` option, #432.
|
||||
|
||||
|
||||
3.12.0 / 2018-06-02
|
||||
-------------------
|
||||
|
||||
|
||||
+2
-1
@@ -104,7 +104,7 @@ options:
|
||||
- `filename` _(default: null)_ - string to be used as a file path in
|
||||
error/warning messages.
|
||||
- `onWarning` _(default: null)_ - function to call on warning messages.
|
||||
Loader will throw on warnings if this function is not provided.
|
||||
Loader will call this function with an instance of `YAMLException` for each warning.
|
||||
- `schema` _(default: `DEFAULT_SAFE_SCHEMA`)_ - specifies a schema to use.
|
||||
- `FAILSAFE_SCHEMA` - only strings, arrays and plain objects:
|
||||
http://www.yaml.org/spec/1.2/spec.html#id2802346
|
||||
@@ -170,6 +170,7 @@ disable exceptions by setting the `skipInvalid` option to `true`.
|
||||
options:
|
||||
|
||||
- `indent` _(default: 2)_ - indentation width to use (in spaces).
|
||||
- `noArrayIndent` _(default: false)_ - when true, will not add an indentation level to array elements
|
||||
- `skipInvalid` _(default: false)_ - do not throw on invalid types (like function
|
||||
in the safe schema) and skip pairs and single values with such types.
|
||||
- `flowLevel` (default: -1) - specifies level of nesting, when to switch from
|
||||
|
||||
+42
-13
@@ -1,4 +1,4 @@
|
||||
/* js-yaml 3.12.0 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';
|
||||
|
||||
|
||||
@@ -208,16 +208,17 @@ function encodeHex(character) {
|
||||
}
|
||||
|
||||
function State(options) {
|
||||
this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;
|
||||
this.indent = Math.max(1, (options['indent'] || 2));
|
||||
this.skipInvalid = options['skipInvalid'] || false;
|
||||
this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);
|
||||
this.styleMap = compileStyleMap(this.schema, options['styles'] || null);
|
||||
this.sortKeys = options['sortKeys'] || false;
|
||||
this.lineWidth = options['lineWidth'] || 80;
|
||||
this.noRefs = options['noRefs'] || false;
|
||||
this.noCompatMode = options['noCompatMode'] || false;
|
||||
this.condenseFlow = options['condenseFlow'] || false;
|
||||
this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;
|
||||
this.indent = Math.max(1, (options['indent'] || 2));
|
||||
this.noArrayIndent = options['noArrayIndent'] || false;
|
||||
this.skipInvalid = options['skipInvalid'] || false;
|
||||
this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);
|
||||
this.styleMap = compileStyleMap(this.schema, options['styles'] || null);
|
||||
this.sortKeys = options['sortKeys'] || false;
|
||||
this.lineWidth = options['lineWidth'] || 80;
|
||||
this.noRefs = options['noRefs'] || false;
|
||||
this.noCompatMode = options['noCompatMode'] || false;
|
||||
this.condenseFlow = options['condenseFlow'] || false;
|
||||
|
||||
this.implicitTypes = this.schema.compiledImplicit;
|
||||
this.explicitTypes = this.schema.compiledExplicit;
|
||||
@@ -837,13 +838,14 @@ function writeNode(state, level, object, block, compact, iskey) {
|
||||
}
|
||||
}
|
||||
} else if (type === '[object Array]') {
|
||||
var arrayLevel = (state.noArrayIndent && (level > 0)) ? level - 1 : level;
|
||||
if (block && (state.dump.length !== 0)) {
|
||||
writeBlockSequence(state, level, state.dump, compact);
|
||||
writeBlockSequence(state, arrayLevel, state.dump, compact);
|
||||
if (duplicate) {
|
||||
state.dump = '&ref_' + duplicateIndex + state.dump;
|
||||
}
|
||||
} else {
|
||||
writeFlowSequence(state, level, state.dump);
|
||||
writeFlowSequence(state, arrayLevel, state.dump);
|
||||
if (duplicate) {
|
||||
state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;
|
||||
}
|
||||
@@ -1005,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 */);
|
||||
}
|
||||
@@ -1260,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) {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+14
-12
@@ -105,16 +105,17 @@ function encodeHex(character) {
|
||||
}
|
||||
|
||||
function State(options) {
|
||||
this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;
|
||||
this.indent = Math.max(1, (options['indent'] || 2));
|
||||
this.skipInvalid = options['skipInvalid'] || false;
|
||||
this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);
|
||||
this.styleMap = compileStyleMap(this.schema, options['styles'] || null);
|
||||
this.sortKeys = options['sortKeys'] || false;
|
||||
this.lineWidth = options['lineWidth'] || 80;
|
||||
this.noRefs = options['noRefs'] || false;
|
||||
this.noCompatMode = options['noCompatMode'] || false;
|
||||
this.condenseFlow = options['condenseFlow'] || false;
|
||||
this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;
|
||||
this.indent = Math.max(1, (options['indent'] || 2));
|
||||
this.noArrayIndent = options['noArrayIndent'] || false;
|
||||
this.skipInvalid = options['skipInvalid'] || false;
|
||||
this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);
|
||||
this.styleMap = compileStyleMap(this.schema, options['styles'] || null);
|
||||
this.sortKeys = options['sortKeys'] || false;
|
||||
this.lineWidth = options['lineWidth'] || 80;
|
||||
this.noRefs = options['noRefs'] || false;
|
||||
this.noCompatMode = options['noCompatMode'] || false;
|
||||
this.condenseFlow = options['condenseFlow'] || false;
|
||||
|
||||
this.implicitTypes = this.schema.compiledImplicit;
|
||||
this.explicitTypes = this.schema.compiledExplicit;
|
||||
@@ -734,13 +735,14 @@ function writeNode(state, level, object, block, compact, iskey) {
|
||||
}
|
||||
}
|
||||
} else if (type === '[object Array]') {
|
||||
var arrayLevel = (state.noArrayIndent && (level > 0)) ? level - 1 : level;
|
||||
if (block && (state.dump.length !== 0)) {
|
||||
writeBlockSequence(state, level, state.dump, compact);
|
||||
writeBlockSequence(state, arrayLevel, state.dump, compact);
|
||||
if (duplicate) {
|
||||
state.dump = '&ref_' + duplicateIndex + state.dump;
|
||||
}
|
||||
} else {
|
||||
writeFlowSequence(state, level, state.dump);
|
||||
writeFlowSequence(state, arrayLevel, state.dump);
|
||||
if (duplicate) {
|
||||
state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;
|
||||
}
|
||||
|
||||
+27
@@ -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) {
|
||||
|
||||
+12
-12
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"_from": "js-yaml@^3.12.0",
|
||||
"_id": "js-yaml@3.12.0",
|
||||
"_from": "js-yaml@3.13.1",
|
||||
"_id": "js-yaml@3.13.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==",
|
||||
"_integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
|
||||
"_location": "/js-yaml",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "js-yaml@^3.12.0",
|
||||
"raw": "js-yaml@3.13.1",
|
||||
"name": "js-yaml",
|
||||
"escapedName": "js-yaml",
|
||||
"rawSpec": "^3.12.0",
|
||||
"rawSpec": "3.13.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^3.12.0"
|
||||
"fetchSpec": "3.13.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/eslint"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz",
|
||||
"_shasum": "eaed656ec8344f10f527c6bfa1b6e2244de167d1",
|
||||
"_spec": "js-yaml@^3.12.0",
|
||||
"_where": "/home/erik/Documents/workspace_brackets/BME_Project_Ohm/om/node_modules/eslint",
|
||||
"_resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
|
||||
"_shasum": "aff151b30bfdfa8e49e05da22e7415e9dfa37847",
|
||||
"_spec": "js-yaml@3.13.1",
|
||||
"_where": "/Users/xenia/Desktop/B_ME5/Projekt/om/node_modules/eslint",
|
||||
"author": {
|
||||
"name": "Vladimir Zapparov",
|
||||
"email": "dervus.grim@gmail.com"
|
||||
@@ -89,5 +89,5 @@
|
||||
"scripts": {
|
||||
"test": "make test"
|
||||
},
|
||||
"version": "3.12.0"
|
||||
"version": "3.13.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user