Publish v9.1.0

This commit is contained in:
Jos de Jong 2020-09-15 20:51:01 +02:00
parent 07e4221fad
commit 41fbf6973f
4 changed files with 10 additions and 11 deletions

View File

@ -8,6 +8,7 @@ https://github.com/josdejong/jsoneditor
- Implemented German translation (`de`). Thanks @s-a. - Implemented German translation (`de`). Thanks @s-a.
- Fix quick-keys `Ctrl-\` (format) and `Ctrl-Shift-\` (compact) not working - Fix quick-keys `Ctrl-\` (format) and `Ctrl-Shift-\` (compact) not working
in `code` mode. in `code` mode.
- Updated dependencies to `ajv@6.12.5`.
## 2020-09-09, version 9.0.5 ## 2020-09-09, version 9.0.5

14
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "jsoneditor", "name": "jsoneditor",
"version": "9.0.5", "version": "9.1.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -1368,9 +1368,9 @@
"dev": true "dev": true
}, },
"ajv": { "ajv": {
"version": "6.12.4", "version": "6.12.5",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.5.tgz",
"integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==", "integrity": "sha512-lRF8RORchjpKG50/WFf8xmg7sgCLFiYNNnqdKflk63whMQcWR5ngGjiSXkL9bjxy6B2npOK2HSMN49jEBMSkag==",
"requires": { "requires": {
"fast-deep-equal": "^3.1.1", "fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0", "fast-json-stable-stringify": "^2.0.0",
@ -10170,9 +10170,9 @@
"dev": true "dev": true
}, },
"uri-js": { "uri-js": {
"version": "4.2.2", "version": "4.4.0",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz",
"integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==",
"requires": { "requires": {
"punycode": "^2.1.0" "punycode": "^2.1.0"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "jsoneditor", "name": "jsoneditor",
"version": "9.0.5", "version": "9.1.0",
"main": "./dist/jsoneditor.min.js", "main": "./dist/jsoneditor.min.js",
"description": "A web-based tool to view, edit, format, and validate JSON", "description": "A web-based tool to view, edit, format, and validate JSON",
"tags": [ "tags": [
@ -27,7 +27,7 @@
}, },
"dependencies": { "dependencies": {
"ace-builds": "^1.4.12", "ace-builds": "^1.4.12",
"ajv": "^6.12.4", "ajv": "^6.12.5",
"javascript-natural-sort": "^0.7.1", "javascript-natural-sort": "^0.7.1",
"jmespath": "^0.15.0", "jmespath": "^0.15.0",
"json-source-map": "^0.6.1", "json-source-map": "^0.6.1",

View File

@ -515,8 +515,6 @@ textmode._onKeyDown = function (event) {
const keynum = event.which || event.keyCode const keynum = event.which || event.keyCode
let handled = false let handled = false
console.log('onKeyDown', keynum)
if (keynum === 220 && event.ctrlKey) { if (keynum === 220 && event.ctrlKey) {
if (event.shiftKey) { // Ctrl+Shift+\ if (event.shiftKey) { // Ctrl+Shift+\
this.compact() this.compact()