diff --git a/package-lock.json b/package-lock.json index d59cb2af..1d8b7e62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,200 +5,36 @@ "requires": true, "dependencies": { "@jupyterlab/application": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/application/-/application-0.16.2.tgz", - "integrity": "sha512-+fbFdAIDk5MmdkZ0EzPG7/hgiHoYQ3v7aOqNoTryC4V8Ii4CWHLkZ5ieMv0dCVyoqAgdjLziJ7VSogHWPAumow==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/docregistry": "0.16.2", - "@jupyterlab/rendermime": "0.16.2", - "@jupyterlab/rendermime-interfaces": "1.0.9", - "@jupyterlab/services": "2.0.2", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/application/-/application-0.17.2.tgz", + "integrity": "sha512-VnBAdB1aeGxQV5cRtKEzETaLhTDgy5al8FmbX7Gzu/sab5ghIyg5vtPNdS5UqEoPWbRnw9WJlp+A0mRPFqIZaA==", + "requires": { + "@jupyterlab/apputils": "0.17.2", + "@jupyterlab/coreutils": "2.0.2", + "@jupyterlab/docregistry": "0.17.2", + "@jupyterlab/rendermime": "0.17.3", + "@jupyterlab/rendermime-interfaces": "1.1.2", + "@jupyterlab/services": "3.0.3", "@phosphor/algorithm": "1.1.2", - "@phosphor/application": "1.5.0", - "@phosphor/commands": "1.4.0", + "@phosphor/application": "1.6.0", + "@phosphor/commands": "1.5.0", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", "@phosphor/messaging": "1.2.2", "@phosphor/properties": "1.1.2", "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0" - }, - "dependencies": { - "@jupyterlab/codeeditor": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/@jupyterlab/codeeditor/-/codeeditor-0.16.1.tgz", - "integrity": "sha512-xoMjZOKZvsWu7i0Yut26nJu89+Awoq0ree1gzw0qMQNGLgjgkpQv/8ri7bPklSr+hPOXtvKM3wnPnimbxurd3g==", - "requires": { - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0", - "react": "16.2.0", - "react-dom": "16.2.0" - } - }, - "@jupyterlab/codemirror": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/codemirror/-/codemirror-0.16.2.tgz", - "integrity": "sha512-kagXSV6rBhPUKTNaJVYoIXiIEd2k/X3G1+OMFV7BjjZ9s3X5EE45A8HCtGsmTsX9i3sv/sJCPLzYZIFn9vOd1g==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/codeeditor": "0.16.1", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "codemirror": "5.35.0" - } - }, - "@jupyterlab/coreutils": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/coreutils/-/coreutils-1.1.2.tgz", - "integrity": "sha512-YAKgfQqBWgb5RVMnnf4Yo66sIlTSSs1BHHmdWDJkKQcXiv7Ui2MOSrVWcQpLcOuMjAeO4VyZx0P9Eo5aPcx9vg==", - "requires": { - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "ajv": "5.1.6", - "comment-json": "1.1.3", - "minimist": "1.2.0", - "moment": "2.21.0", - "path-posix": "1.0.0", - "url-parse": "1.1.9" - } - }, - "@jupyterlab/docregistry": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/docregistry/-/docregistry-0.16.2.tgz", - "integrity": "sha512-ERpFX2cXQeg9qgo+tF/beC4eHcOhXQcws+XX6AARPQ24XJhci08nG7oedrxOZSzxuszamIHZFr7wznefd9TR4A==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/codeeditor": "0.16.1", - "@jupyterlab/codemirror": "0.16.2", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@jupyterlab/rendermime": "0.16.2", - "@jupyterlab/rendermime-interfaces": "1.0.9", - "@jupyterlab/services": "2.0.2", - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0" - } - }, - "@jupyterlab/observables": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@jupyterlab/observables/-/observables-1.0.9.tgz", - "integrity": "sha512-tbOft+rR71ueeNYGM84td7BE7b/uzAjOr6LSdH7e0u3wIyKnIfKQNUbAnWixJ+W8hVn9hIGgBaGz7BzFzMMNdA==", - "requires": { - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2" - } - }, - "@jupyterlab/rendermime": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/rendermime/-/rendermime-0.16.2.tgz", - "integrity": "sha512-qBI4Bmwd65jtjgMcrJM8CIAd8WVS5LXbdvZNTLuk0pN3MwgrU0qyLqW8239vl3EkyXLc3rWEsU/DRegyATEcJQ==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/codemirror": "0.16.2", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@jupyterlab/rendermime-interfaces": "1.0.9", - "@jupyterlab/services": "2.0.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0", - "ansi_up": "3.0.0", - "marked": "0.3.12" - } - }, - "@jupyterlab/rendermime-interfaces": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@jupyterlab/rendermime-interfaces/-/rendermime-interfaces-1.0.9.tgz", - "integrity": "sha512-8anqvobXbVbtYqlsTEpRNcgsfxgurNmJXA495E5AAFmAotI9g0ZZIBjdXRI0VHmIt745vyJNk/qbUKJT92yFHg==", - "requires": { - "@phosphor/coreutils": "1.3.0", - "@phosphor/widgets": "1.5.0" - } - }, - "@jupyterlab/services": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/services/-/services-2.0.2.tgz", - "integrity": "sha512-qWNvNjMDpSFN0aFVZnhx53gMXgWIEn9UwEAPMFA0MXwDV5fkAur+XYITiZa+CwkxhzZ5BlF04bc6g2Y71L0BGw==", - "requires": { - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "node-fetch": "1.7.3", - "ws": "1.1.5" - } - }, - "ansi_up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi_up/-/ansi_up-3.0.0.tgz", - "integrity": "sha1-J/Rdj0V9nO/1nk6gPI5vE8GjA+g=" - }, - "codemirror": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.35.0.tgz", - "integrity": "sha512-8HQICjZlDfe1ai7bvU6m2uHxuZuFgsUCdDRU9OHVB+2RTRd+FftN1ezVCqbquG0Fyq+wETqyadKhUX46DswSUQ==" - }, - "moment": { - "version": "2.21.0", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.21.0.tgz", - "integrity": "sha512-TCZ36BjURTeFTM/CwRcViQlfkMvL1/vFISuNLO5GkcVm1+QHfbSiNqZuWeMFjj1/3+uAjXswgRk30j1kkLYJBQ==" - }, - "react": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.2.0.tgz", - "integrity": "sha512-ZmIomM7EE1DvPEnSFAHZn9Vs9zJl5A9H7el0EGTE6ZbW9FKe/14IYAlPbC8iH25YarEQxZL+E8VW7Mi7kfQrDQ==", - "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0" - } - }, - "react-dom": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.2.0.tgz", - "integrity": "sha512-zpGAdwHVn9K0091d+hr+R0qrjoJ84cIBFL2uU60KvWBPfZ7LPSrfqviTxGHWN0sjPZb2hxWzMexwrvJdKePvjg==", - "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0" - } - } + "@phosphor/widgets": "1.6.0" } }, "@jupyterlab/apputils": { - "version": "0.16.3", - "resolved": "https://registry.npmjs.org/@jupyterlab/apputils/-/apputils-0.16.3.tgz", - "integrity": "sha512-aNMto+2LKGQk6mqb7BPHYD0DUe5lkvGgPhmH/IrmGm/h6nInccH1JtxG0L7+fko5u/9ucJEUNVVJntNaqQA9ag==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/apputils/-/apputils-0.17.2.tgz", + "integrity": "sha512-uSSuldHn/p8Lh2J2IhM+aIMqtKXRxBJP1Yppvkmo1CBnyCDVUnvZuzSWJKRjG5fotuYmU+t2KmXM4yENntp7Aw==", "requires": { - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/services": "2.0.2", + "@jupyterlab/coreutils": "2.0.2", + "@jupyterlab/services": "3.0.3", "@phosphor/algorithm": "1.1.2", - "@phosphor/commands": "1.4.0", + "@phosphor/commands": "1.5.0", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", "@phosphor/domutils": "1.1.2", @@ -206,122 +42,49 @@ "@phosphor/properties": "1.1.2", "@phosphor/signaling": "1.2.2", "@phosphor/virtualdom": "1.1.2", - "@phosphor/widgets": "1.5.0", - "@types/react": "16.0.34", - "react": "16.2.0", - "react-dom": "16.2.0", + "@phosphor/widgets": "1.6.0", + "@types/react": "16.0.41", + "react": "16.4.2", + "react-dom": "16.4.2", "sanitize-html": "1.14.3" - }, - "dependencies": { - "@jupyterlab/coreutils": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/coreutils/-/coreutils-1.1.2.tgz", - "integrity": "sha512-YAKgfQqBWgb5RVMnnf4Yo66sIlTSSs1BHHmdWDJkKQcXiv7Ui2MOSrVWcQpLcOuMjAeO4VyZx0P9Eo5aPcx9vg==", - "requires": { - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "ajv": "5.1.6", - "comment-json": "1.1.3", - "minimist": "1.2.0", - "moment": "2.21.0", - "path-posix": "1.0.0", - "url-parse": "1.1.9" - } - }, - "@jupyterlab/observables": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@jupyterlab/observables/-/observables-1.0.9.tgz", - "integrity": "sha512-tbOft+rR71ueeNYGM84td7BE7b/uzAjOr6LSdH7e0u3wIyKnIfKQNUbAnWixJ+W8hVn9hIGgBaGz7BzFzMMNdA==", - "requires": { - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2" - } - }, - "@jupyterlab/services": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/services/-/services-2.0.2.tgz", - "integrity": "sha512-qWNvNjMDpSFN0aFVZnhx53gMXgWIEn9UwEAPMFA0MXwDV5fkAur+XYITiZa+CwkxhzZ5BlF04bc6g2Y71L0BGw==", - "requires": { - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "node-fetch": "1.7.3", - "ws": "1.1.5" - } - }, - "moment": { - "version": "2.21.0", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.21.0.tgz", - "integrity": "sha512-TCZ36BjURTeFTM/CwRcViQlfkMvL1/vFISuNLO5GkcVm1+QHfbSiNqZuWeMFjj1/3+uAjXswgRk30j1kkLYJBQ==" - }, - "react": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.2.0.tgz", - "integrity": "sha512-ZmIomM7EE1DvPEnSFAHZn9Vs9zJl5A9H7el0EGTE6ZbW9FKe/14IYAlPbC8iH25YarEQxZL+E8VW7Mi7kfQrDQ==", - "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0" - } - }, - "react-dom": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.2.0.tgz", - "integrity": "sha512-zpGAdwHVn9K0091d+hr+R0qrjoJ84cIBFL2uU60KvWBPfZ7LPSrfqviTxGHWN0sjPZb2hxWzMexwrvJdKePvjg==", - "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0" - } - } } }, "@jupyterlab/codeeditor": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/@jupyterlab/codeeditor/-/codeeditor-0.16.1.tgz", - "integrity": "sha512-xoMjZOKZvsWu7i0Yut26nJu89+Awoq0ree1gzw0qMQNGLgjgkpQv/8ri7bPklSr+hPOXtvKM3wnPnimbxurd3g==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/codeeditor/-/codeeditor-0.17.2.tgz", + "integrity": "sha512-gWHOA/9+oVEPc/o704IQyyuSrnDLs/S9MtNIYFTn8fyXUaIpRDfLAL2UFE7JCKbm1OwhOoCOs/NktZlQUXpUgg==", "requires": { - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", + "@jupyterlab/coreutils": "2.0.2", + "@jupyterlab/observables": "2.0.2", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", "@phosphor/messaging": "1.2.2", "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0", - "react": "16.2.0", - "react-dom": "16.2.0" + "@phosphor/widgets": "1.6.0", + "react": "16.4.2", + "react-dom": "16.4.2" } }, "@jupyterlab/codemirror": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/codemirror/-/codemirror-0.16.2.tgz", - "integrity": "sha512-kagXSV6rBhPUKTNaJVYoIXiIEd2k/X3G1+OMFV7BjjZ9s3X5EE45A8HCtGsmTsX9i3sv/sJCPLzYZIFn9vOd1g==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/codeeditor": "0.16.1", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/@jupyterlab/codemirror/-/codemirror-0.17.3.tgz", + "integrity": "sha512-jmFJuzxWvgkLV2mr1CnB+D+jYOErGeY4w2NzndRDWul/+wSpTOO0P2jXwEEFnKwYgWkqmCjq3Z5YS+nRqsAvHA==", + "requires": { + "@jupyterlab/apputils": "0.17.2", + "@jupyterlab/codeeditor": "0.17.2", + "@jupyterlab/coreutils": "2.0.2", + "@jupyterlab/observables": "2.0.2", "@phosphor/algorithm": "1.1.2", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", "@phosphor/signaling": "1.2.2", - "codemirror": "5.35.0" + "codemirror": "5.39.2" } }, "@jupyterlab/coreutils": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/coreutils/-/coreutils-1.1.2.tgz", - "integrity": "sha512-YAKgfQqBWgb5RVMnnf4Yo66sIlTSSs1BHHmdWDJkKQcXiv7Ui2MOSrVWcQpLcOuMjAeO4VyZx0P9Eo5aPcx9vg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/coreutils/-/coreutils-2.0.2.tgz", + "integrity": "sha512-Gg+jpF75a4ziaqOEBX7VaQwyCZdiZVUDmPgkxhUfH20MFMEsh6+4Qs9uFUyfrjFUV3iQH9QXUAsdZ7iurqFL0Q==", "requires": { "@phosphor/algorithm": "1.1.2", "@phosphor/coreutils": "1.3.0", @@ -335,327 +98,99 @@ "url-parse": "1.1.9" } }, - "@jupyterlab/docregistry": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/docregistry/-/docregistry-0.16.2.tgz", - "integrity": "sha512-ERpFX2cXQeg9qgo+tF/beC4eHcOhXQcws+XX6AARPQ24XJhci08nG7oedrxOZSzxuszamIHZFr7wznefd9TR4A==", + "@jupyterlab/docmanager": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/docmanager/-/docmanager-0.17.2.tgz", + "integrity": "sha512-x1vuGg8sTgrlAJ7OmK2bvICDtRa/z+n6/QXatapzEwUyBLdZRKZsHteCh+id50EoQG2pZ+u0lrO2z4L4rFMG9Q==", "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/codeeditor": "0.16.1", - "@jupyterlab/codemirror": "0.16.2", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@jupyterlab/rendermime": "0.16.2", - "@jupyterlab/rendermime-interfaces": "1.0.9", - "@jupyterlab/services": "2.0.2", + "@jupyterlab/apputils": "0.17.2", + "@jupyterlab/coreutils": "2.0.2", + "@jupyterlab/docregistry": "0.17.2", + "@jupyterlab/services": "3.0.3", + "@phosphor/algorithm": "1.1.2", + "@phosphor/coreutils": "1.3.0", + "@phosphor/disposable": "1.1.2", + "@phosphor/messaging": "1.2.2", + "@phosphor/properties": "1.1.2", + "@phosphor/signaling": "1.2.2", + "@phosphor/widgets": "1.6.0" + } + }, + "@jupyterlab/docregistry": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/docregistry/-/docregistry-0.17.2.tgz", + "integrity": "sha512-UjxPo1+UBSRRkKUq57opeQwbVpN/I4vLPnG5Yzcipm7X0i/qpbxDbuluH7BwM3nOrY300Ko8Mhh37if7gABjaQ==", + "requires": { + "@jupyterlab/apputils": "0.17.2", + "@jupyterlab/codeeditor": "0.17.2", + "@jupyterlab/codemirror": "0.17.3", + "@jupyterlab/coreutils": "2.0.2", + "@jupyterlab/observables": "2.0.2", + "@jupyterlab/rendermime": "0.17.3", + "@jupyterlab/rendermime-interfaces": "1.1.2", + "@jupyterlab/services": "3.0.3", "@phosphor/algorithm": "1.1.2", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", "@phosphor/messaging": "1.2.2", "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0" + "@phosphor/widgets": "1.6.0" } }, "@jupyterlab/filebrowser": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/filebrowser/-/filebrowser-0.16.2.tgz", - "integrity": "sha512-75eNINpMtH2aZ7vygWNKXVeOmsfo4PjAISF0S+dRaA5Kol5/1eSeP38lLPPCIouufWOeUjVBWtv1qkKvnKb6/A==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/docmanager": "0.16.2", - "@jupyterlab/docregistry": "0.16.2", - "@jupyterlab/services": "2.0.2", + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/@jupyterlab/filebrowser/-/filebrowser-0.17.3.tgz", + "integrity": "sha512-yejRpdVdldyzHj0I7T5TzSXRET6Y4+EuwVOXNYV7oU0cfJPWZgXs5KG46nVS/WHqluHlvFK1mmPwWk3HPbRikg==", + "requires": { + "@jupyterlab/apputils": "0.17.2", + "@jupyterlab/coreutils": "2.0.2", + "@jupyterlab/docmanager": "0.17.2", + "@jupyterlab/docregistry": "0.17.2", + "@jupyterlab/services": "3.0.3", "@phosphor/algorithm": "1.1.2", - "@phosphor/commands": "1.4.0", + "@phosphor/commands": "1.5.0", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", "@phosphor/domutils": "1.1.2", "@phosphor/dragdrop": "1.3.0", "@phosphor/messaging": "1.2.2", "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0" - }, - "dependencies": { - "@jupyterlab/codeeditor": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/@jupyterlab/codeeditor/-/codeeditor-0.16.1.tgz", - "integrity": "sha512-xoMjZOKZvsWu7i0Yut26nJu89+Awoq0ree1gzw0qMQNGLgjgkpQv/8ri7bPklSr+hPOXtvKM3wnPnimbxurd3g==", - "requires": { - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0", - "react": "16.2.0", - "react-dom": "16.2.0" - } - }, - "@jupyterlab/codemirror": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/codemirror/-/codemirror-0.16.2.tgz", - "integrity": "sha512-kagXSV6rBhPUKTNaJVYoIXiIEd2k/X3G1+OMFV7BjjZ9s3X5EE45A8HCtGsmTsX9i3sv/sJCPLzYZIFn9vOd1g==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/codeeditor": "0.16.1", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "codemirror": "5.35.0" - } - }, - "@jupyterlab/coreutils": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/coreutils/-/coreutils-1.1.2.tgz", - "integrity": "sha512-YAKgfQqBWgb5RVMnnf4Yo66sIlTSSs1BHHmdWDJkKQcXiv7Ui2MOSrVWcQpLcOuMjAeO4VyZx0P9Eo5aPcx9vg==", - "requires": { - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "ajv": "5.1.6", - "comment-json": "1.1.3", - "minimist": "1.2.0", - "moment": "2.21.0", - "path-posix": "1.0.0", - "url-parse": "1.1.9" - } - }, - "@jupyterlab/docmanager": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/docmanager/-/docmanager-0.16.2.tgz", - "integrity": "sha512-HCs57olpl/k6vGeD4X2i3ctg7rkmroWsuY5tKr8dHnOwvGSIlfd0QJEpWQ7aSqml4ufHK2Hgvw1+BSiXWlkGEg==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/docregistry": "0.16.2", - "@jupyterlab/services": "2.0.2", - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", - "@phosphor/properties": "1.1.2", - "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0" - } - }, - "@jupyterlab/docregistry": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/docregistry/-/docregistry-0.16.2.tgz", - "integrity": "sha512-ERpFX2cXQeg9qgo+tF/beC4eHcOhXQcws+XX6AARPQ24XJhci08nG7oedrxOZSzxuszamIHZFr7wznefd9TR4A==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/codeeditor": "0.16.1", - "@jupyterlab/codemirror": "0.16.2", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@jupyterlab/rendermime": "0.16.2", - "@jupyterlab/rendermime-interfaces": "1.0.9", - "@jupyterlab/services": "2.0.2", - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0" - } - }, - "@jupyterlab/observables": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@jupyterlab/observables/-/observables-1.0.9.tgz", - "integrity": "sha512-tbOft+rR71ueeNYGM84td7BE7b/uzAjOr6LSdH7e0u3wIyKnIfKQNUbAnWixJ+W8hVn9hIGgBaGz7BzFzMMNdA==", - "requires": { - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2" - } - }, - "@jupyterlab/rendermime": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/rendermime/-/rendermime-0.16.2.tgz", - "integrity": "sha512-qBI4Bmwd65jtjgMcrJM8CIAd8WVS5LXbdvZNTLuk0pN3MwgrU0qyLqW8239vl3EkyXLc3rWEsU/DRegyATEcJQ==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/codemirror": "0.16.2", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@jupyterlab/rendermime-interfaces": "1.0.9", - "@jupyterlab/services": "2.0.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0", - "ansi_up": "3.0.0", - "marked": "0.3.12" - } - }, - "@jupyterlab/rendermime-interfaces": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@jupyterlab/rendermime-interfaces/-/rendermime-interfaces-1.0.9.tgz", - "integrity": "sha512-8anqvobXbVbtYqlsTEpRNcgsfxgurNmJXA495E5AAFmAotI9g0ZZIBjdXRI0VHmIt745vyJNk/qbUKJT92yFHg==", - "requires": { - "@phosphor/coreutils": "1.3.0", - "@phosphor/widgets": "1.5.0" - } - }, - "@jupyterlab/services": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/services/-/services-2.0.2.tgz", - "integrity": "sha512-qWNvNjMDpSFN0aFVZnhx53gMXgWIEn9UwEAPMFA0MXwDV5fkAur+XYITiZa+CwkxhzZ5BlF04bc6g2Y71L0BGw==", - "requires": { - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "node-fetch": "1.7.3", - "ws": "1.1.5" - } - }, - "ansi_up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi_up/-/ansi_up-3.0.0.tgz", - "integrity": "sha1-J/Rdj0V9nO/1nk6gPI5vE8GjA+g=" - }, - "codemirror": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.35.0.tgz", - "integrity": "sha512-8HQICjZlDfe1ai7bvU6m2uHxuZuFgsUCdDRU9OHVB+2RTRd+FftN1ezVCqbquG0Fyq+wETqyadKhUX46DswSUQ==" - }, - "moment": { - "version": "2.21.0", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.21.0.tgz", - "integrity": "sha512-TCZ36BjURTeFTM/CwRcViQlfkMvL1/vFISuNLO5GkcVm1+QHfbSiNqZuWeMFjj1/3+uAjXswgRk30j1kkLYJBQ==" - }, - "react": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.2.0.tgz", - "integrity": "sha512-ZmIomM7EE1DvPEnSFAHZn9Vs9zJl5A9H7el0EGTE6ZbW9FKe/14IYAlPbC8iH25YarEQxZL+E8VW7Mi7kfQrDQ==", - "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0" - } - }, - "react-dom": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.2.0.tgz", - "integrity": "sha512-zpGAdwHVn9K0091d+hr+R0qrjoJ84cIBFL2uU60KvWBPfZ7LPSrfqviTxGHWN0sjPZb2hxWzMexwrvJdKePvjg==", - "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0" - } - } + "@phosphor/widgets": "1.6.0" } }, "@jupyterlab/launcher": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/launcher/-/launcher-0.16.2.tgz", - "integrity": "sha512-xqOdpGvnlvLsGk5VssgZKunyVpVZZRDtd+Ht4PyHCWJoamlPWzXVBVhj9kjN/qhrlGtBA6l26xh3yaTJJhygxA==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/launcher/-/launcher-0.17.2.tgz", + "integrity": "sha512-INdeTWZ9ALKXm5zYJCXYvv5Q/TlvqPeO3zhoJG7hZXSIk9/JxFmqLmH2jbUMC7DlLVbAGWNTc3R0gFVhV5Ie8A==", "requires": { - "@jupyterlab/apputils": "0.16.3", + "@jupyterlab/apputils": "0.17.2", "@phosphor/algorithm": "1.1.2", + "@phosphor/commands": "1.5.0", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", "@phosphor/properties": "1.1.2", - "@phosphor/widgets": "1.5.0", - "react": "16.2.0" - }, - "dependencies": { - "react": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.2.0.tgz", - "integrity": "sha512-ZmIomM7EE1DvPEnSFAHZn9Vs9zJl5A9H7el0EGTE6ZbW9FKe/14IYAlPbC8iH25YarEQxZL+E8VW7Mi7kfQrDQ==", - "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0" - } - } + "@phosphor/widgets": "1.6.0", + "react": "16.4.2" } }, "@jupyterlab/mainmenu": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/mainmenu/-/mainmenu-0.5.2.tgz", - "integrity": "sha512-XPD/hQHFxq/YQvsBrf4BbXgoRgF8eMt3j/ZFYqrMY2yh4zlVrxL8CrPv0uqC33hbFbkYJObBJPCV3samwwd0Kw==", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/mainmenu/-/mainmenu-0.6.2.tgz", + "integrity": "sha512-+x8eawh0PxjcgyBQdkEO8S9srKNF7RA3I1geTXKUua99Lcy3Ey9y+Cdq6jryHsYkgZ3KMB8LzGM25BH8mcSdKw==", "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/services": "2.0.2", + "@jupyterlab/apputils": "0.17.2", + "@jupyterlab/services": "3.0.3", "@phosphor/algorithm": "1.1.2", - "@phosphor/commands": "1.4.0", + "@phosphor/commands": "1.5.0", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", - "@phosphor/widgets": "1.5.0" - }, - "dependencies": { - "@jupyterlab/coreutils": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/coreutils/-/coreutils-1.1.2.tgz", - "integrity": "sha512-YAKgfQqBWgb5RVMnnf4Yo66sIlTSSs1BHHmdWDJkKQcXiv7Ui2MOSrVWcQpLcOuMjAeO4VyZx0P9Eo5aPcx9vg==", - "requires": { - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "ajv": "5.1.6", - "comment-json": "1.1.3", - "minimist": "1.2.0", - "moment": "2.21.0", - "path-posix": "1.0.0", - "url-parse": "1.1.9" - } - }, - "@jupyterlab/observables": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@jupyterlab/observables/-/observables-1.0.9.tgz", - "integrity": "sha512-tbOft+rR71ueeNYGM84td7BE7b/uzAjOr6LSdH7e0u3wIyKnIfKQNUbAnWixJ+W8hVn9hIGgBaGz7BzFzMMNdA==", - "requires": { - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/messaging": "1.2.2", - "@phosphor/signaling": "1.2.2" - } - }, - "@jupyterlab/services": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/services/-/services-2.0.2.tgz", - "integrity": "sha512-qWNvNjMDpSFN0aFVZnhx53gMXgWIEn9UwEAPMFA0MXwDV5fkAur+XYITiZa+CwkxhzZ5BlF04bc6g2Y71L0BGw==", - "requires": { - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@phosphor/algorithm": "1.1.2", - "@phosphor/coreutils": "1.3.0", - "@phosphor/disposable": "1.1.2", - "@phosphor/signaling": "1.2.2", - "node-fetch": "1.7.3", - "ws": "1.1.5" - } - }, - "moment": { - "version": "2.21.0", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.21.0.tgz", - "integrity": "sha512-TCZ36BjURTeFTM/CwRcViQlfkMvL1/vFISuNLO5GkcVm1+QHfbSiNqZuWeMFjj1/3+uAjXswgRk30j1kkLYJBQ==" - } + "@phosphor/widgets": "1.6.0" } }, "@jupyterlab/observables": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@jupyterlab/observables/-/observables-1.0.9.tgz", - "integrity": "sha512-tbOft+rR71ueeNYGM84td7BE7b/uzAjOr6LSdH7e0u3wIyKnIfKQNUbAnWixJ+W8hVn9hIGgBaGz7BzFzMMNdA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/observables/-/observables-2.0.2.tgz", + "integrity": "sha512-CvTdsEqkwGG81/5bxX74ectNNPoSxuyTMkpPYkbWITKBbhQbPGQQAwAxCTUHm8YBFfUgmWQBHVWNfkZgnuJIsQ==", "requires": { "@phosphor/algorithm": "1.1.2", "@phosphor/coreutils": "1.3.0", @@ -665,40 +200,41 @@ } }, "@jupyterlab/rendermime": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/rendermime/-/rendermime-0.16.2.tgz", - "integrity": "sha512-qBI4Bmwd65jtjgMcrJM8CIAd8WVS5LXbdvZNTLuk0pN3MwgrU0qyLqW8239vl3EkyXLc3rWEsU/DRegyATEcJQ==", - "requires": { - "@jupyterlab/apputils": "0.16.3", - "@jupyterlab/codemirror": "0.16.2", - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", - "@jupyterlab/rendermime-interfaces": "1.0.9", - "@jupyterlab/services": "2.0.2", + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/@jupyterlab/rendermime/-/rendermime-0.17.3.tgz", + "integrity": "sha512-Io2iS4GEL6G2ikI+lbztih9hQR9t75u0egYwlfV5fSKm6IFwIj23bn/YF1K1KEMWu1afSQbD+lG6mp3nqSmPRA==", + "requires": { + "@jupyterlab/apputils": "0.17.2", + "@jupyterlab/codemirror": "0.17.3", + "@jupyterlab/coreutils": "2.0.2", + "@jupyterlab/observables": "2.0.2", + "@jupyterlab/rendermime-interfaces": "1.1.2", + "@jupyterlab/services": "3.0.3", + "@phosphor/algorithm": "1.1.2", "@phosphor/coreutils": "1.3.0", "@phosphor/messaging": "1.2.2", "@phosphor/signaling": "1.2.2", - "@phosphor/widgets": "1.5.0", + "@phosphor/widgets": "1.6.0", "ansi_up": "3.0.0", - "marked": "0.3.12" + "marked": "0.4.0" } }, "@jupyterlab/rendermime-interfaces": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@jupyterlab/rendermime-interfaces/-/rendermime-interfaces-1.0.9.tgz", - "integrity": "sha512-8anqvobXbVbtYqlsTEpRNcgsfxgurNmJXA495E5AAFmAotI9g0ZZIBjdXRI0VHmIt745vyJNk/qbUKJT92yFHg==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jupyterlab/rendermime-interfaces/-/rendermime-interfaces-1.1.2.tgz", + "integrity": "sha512-sCsDYuLQbhT79yutGOZ+r32yNE+oKcXWItF1hxH/69rIPQGc9P4bObbY6H4ZhbDm61kSHmqh2ntucmjxjP1kbA==", "requires": { "@phosphor/coreutils": "1.3.0", - "@phosphor/widgets": "1.5.0" + "@phosphor/widgets": "1.6.0" } }, "@jupyterlab/services": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@jupyterlab/services/-/services-2.0.2.tgz", - "integrity": "sha512-qWNvNjMDpSFN0aFVZnhx53gMXgWIEn9UwEAPMFA0MXwDV5fkAur+XYITiZa+CwkxhzZ5BlF04bc6g2Y71L0BGw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@jupyterlab/services/-/services-3.0.3.tgz", + "integrity": "sha512-XnMGfWG20xvyXDRV4Iy3xuSBosF7nCYQZQWLX2sUX0X7nwqwKSW6t4AKqa6mL+mLFkRpdgZTmoU76JDpZNUwog==", "requires": { - "@jupyterlab/coreutils": "1.1.2", - "@jupyterlab/observables": "1.0.9", + "@jupyterlab/coreutils": "2.0.2", + "@jupyterlab/observables": "2.0.2", "@phosphor/algorithm": "1.1.2", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", @@ -713,13 +249,13 @@ "integrity": "sha1-/R3pEEyafzTpKGRYbd8ufy53eeg=" }, "@phosphor/application": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@phosphor/application/-/application-1.5.0.tgz", - "integrity": "sha1-jURnex1ipU3pCSa/Jckh56WiWkk=", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@phosphor/application/-/application-1.6.0.tgz", + "integrity": "sha512-SeW2YFjtpmCYbZPpB4aTehyIsI/iGoSrV60Y4/OAp1CwDRT8eu1Rv276F67aermXQFjLK6c58JGucbhNq/BepQ==", "requires": { - "@phosphor/commands": "1.4.0", + "@phosphor/commands": "1.5.0", "@phosphor/coreutils": "1.3.0", - "@phosphor/widgets": "1.5.0" + "@phosphor/widgets": "1.6.0" } }, "@phosphor/collections": { @@ -731,9 +267,9 @@ } }, "@phosphor/commands": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@phosphor/commands/-/commands-1.4.0.tgz", - "integrity": "sha1-fiNqTAFdrzepWG/eKRiMPawgFi8=", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@phosphor/commands/-/commands-1.5.0.tgz", + "integrity": "sha512-j8+hIlQZT3imFYVAPO3JxbCUbogOT65uUvUk9AsQXJahm7m8+3a7U4yACshjynJwMM6cxX1AEEo7PUgFwhL97g==", "requires": { "@phosphor/algorithm": "1.1.2", "@phosphor/coreutils": "1.3.0", @@ -806,12 +342,12 @@ } }, "@phosphor/widgets": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@phosphor/widgets/-/widgets-1.5.0.tgz", - "integrity": "sha1-X5mOhvX9542KpE19wUdobKZhaB4=", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@phosphor/widgets/-/widgets-1.6.0.tgz", + "integrity": "sha512-HqVckVF8rJ15ss0Zf/q0AJ69ZKNFOO26qtNKAdGZ9SmmkSMf73X6pB0R3Fj5+Y4Sjl8ezIIKG6mXj+DxOofnwA==", "requires": { "@phosphor/algorithm": "1.1.2", - "@phosphor/commands": "1.4.0", + "@phosphor/commands": "1.5.0", "@phosphor/coreutils": "1.3.0", "@phosphor/disposable": "1.1.2", "@phosphor/domutils": "1.1.2", @@ -824,9 +360,9 @@ } }, "@types/react": { - "version": "16.0.34", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.0.34.tgz", - "integrity": "sha512-Ee66fX2qMsDnDq7sPnDtq1bGoo479j6Fo1BlSnne+L5rp6ndzBUgz72+MRNuN56zg9uuteRCkJAMdDJEX2Uqig==" + "version": "16.0.41", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.0.41.tgz", + "integrity": "sha512-hbAKPclom+NzM/iqB9JmP7UfWl0j/xsOIzWCB8iIJ7Dq0BlY80IeulgHwod2EOYILD5hc/DJAJvMFKfczdWBsQ==" }, "ajv": { "version": "5.1.6", @@ -870,9 +406,9 @@ "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" }, "codemirror": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.35.0.tgz", - "integrity": "sha512-8HQICjZlDfe1ai7bvU6m2uHxuZuFgsUCdDRU9OHVB+2RTRd+FftN1ezVCqbquG0Fyq+wETqyadKhUX46DswSUQ==" + "version": "5.39.2", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.39.2.tgz", + "integrity": "sha512-mchBy0kQ1Wggi+e58SmoLgKO4nG7s/BqNg6/6TRbhsnXI/KRG+fKAvRQ1LLhZZ6ZtUoDQ0dl5aMhE+IkSRh60Q==" }, "comment-json": { "version": "1.1.3", @@ -920,17 +456,17 @@ "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=" }, "domhandler": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.1.tgz", - "integrity": "sha1-iS5HAAqZvlW783dP/qBWHYh5wlk=", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", "requires": { "domelementtype": "1.3.0" } }, "domutils": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.6.2.tgz", - "integrity": "sha1-GVjMC0yUJuntNn+xyOhUiRsPo/8=", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", + "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", "requires": { "dom-serializer": "0.1.0", "domelementtype": "1.3.0" @@ -941,7 +477,7 @@ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", "requires": { - "iconv-lite": "0.4.19" + "iconv-lite": "0.4.23" } }, "entities": { @@ -955,17 +491,17 @@ "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" }, "fbjs": { - "version": "0.8.16", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", - "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=", + "version": "0.8.17", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz", + "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=", "requires": { "core-js": "1.2.7", "isomorphic-fetch": "2.2.1", - "loose-envify": "1.3.1", + "loose-envify": "1.4.0", "object-assign": "4.1.1", "promise": "7.3.1", "setimmediate": "1.0.5", - "ua-parser-js": "0.7.17" + "ua-parser-js": "0.7.18" } }, "fs-extra": { @@ -1013,17 +549,20 @@ "integrity": "sha1-G9+HrMoPP55T+k/M6w9LTLsAszg=", "requires": { "domelementtype": "1.3.0", - "domhandler": "2.4.1", - "domutils": "1.6.2", + "domhandler": "2.4.2", + "domutils": "1.7.0", "entities": "1.1.1", "inherits": "2.0.3", - "readable-stream": "2.3.3" + "readable-stream": "2.3.6" } }, "iconv-lite": { - "version": "0.4.19", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", - "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==" + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "requires": { + "safer-buffer": "2.1.2" + } }, "inflight": { "version": "1.0.6", @@ -1056,13 +595,13 @@ "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", "requires": { "node-fetch": "1.7.3", - "whatwg-fetch": "2.0.3" + "whatwg-fetch": "2.0.4" } }, "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "json-parser": { "version": "1.1.5", @@ -1114,17 +653,17 @@ "integrity": "sha1-ZHYsSGGAglGKw99Mz11YhtriA0c=" }, "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "requires": { - "js-tokens": "3.0.2" + "js-tokens": "4.0.0" } }, "marked": { - "version": "0.3.12", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.12.tgz", - "integrity": "sha512-k4NaW+vS7ytQn6MgJn3fYpQt20/mOgYM5Ft9BYMfQJDz2QT6yEeS9XJ8k2Nw8JTeWK/znPPW2n3UJGzyYEiMoA==" + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.4.0.tgz", + "integrity": "sha512-tMsdNBgOsrUophCAFQl0XPe6Zqk/uy9gnue+jIIKhykO51hxyu6uNx7zBPy0+y/WKYVZZMspV9YeXLNdKk+iYw==" }, "minimatch": { "version": "3.0.4", @@ -1185,9 +724,9 @@ "integrity": "sha1-BrJhE/Vr6rBCVFojv6iAA8ysJg8=" }, "process-nextick-args": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", - "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" }, "promise": { "version": "7.3.1", @@ -1198,12 +737,11 @@ } }, "prop-types": { - "version": "15.6.0", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz", - "integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=", + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", + "loose-envify": "1.4.0", "object-assign": "4.1.1" } }, @@ -1213,38 +751,38 @@ "integrity": "sha1-YoYkIRLFtxL6ZU5SZlK/ahP/Bcs=" }, "react": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.2.0.tgz", - "integrity": "sha512-ZmIomM7EE1DvPEnSFAHZn9Vs9zJl5A9H7el0EGTE6ZbW9FKe/14IYAlPbC8iH25YarEQxZL+E8VW7Mi7kfQrDQ==", + "version": "16.4.2", + "resolved": "https://registry.npmjs.org/react/-/react-16.4.2.tgz", + "integrity": "sha512-dMv7YrbxO4y2aqnvA7f/ik9ibeLSHQJTI6TrYAenPSaQ6OXfb+Oti+oJiy8WBxgRzlKatYqtCjphTgDSCEiWFg==", "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", + "fbjs": "0.8.17", + "loose-envify": "1.4.0", "object-assign": "4.1.1", - "prop-types": "15.6.0" + "prop-types": "15.6.2" } }, "react-dom": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.2.0.tgz", - "integrity": "sha512-zpGAdwHVn9K0091d+hr+R0qrjoJ84cIBFL2uU60KvWBPfZ7LPSrfqviTxGHWN0sjPZb2hxWzMexwrvJdKePvjg==", + "version": "16.4.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.4.2.tgz", + "integrity": "sha512-Usl73nQqzvmJN+89r97zmeUpQDKDlh58eX6Hbs/ERdDHzeBzWy+ENk7fsGQ+5KxArV1iOFPT46/VneklK9zoWw==", "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", + "fbjs": "0.8.17", + "loose-envify": "1.4.0", "object-assign": "4.1.1", - "prop-types": "15.6.0" + "prop-types": "15.6.2" } }, "readable-stream": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", - "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "requires": { "core-util-is": "1.0.2", "inherits": "2.0.3", "isarray": "1.0.0", - "process-nextick-args": "1.0.7", - "safe-buffer": "5.1.1", - "string_decoder": "1.0.3", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", "util-deprecate": "1.0.2" } }, @@ -1263,9 +801,14 @@ } }, "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==" + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "sanitize-html": { "version": "1.14.3", @@ -1283,11 +826,11 @@ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" }, "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "requires": { - "safe-buffer": "5.1.1" + "safe-buffer": "5.1.2" } }, "typescript": { @@ -1297,9 +840,9 @@ "dev": true }, "ua-parser-js": { - "version": "0.7.17", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz", - "integrity": "sha512-uRdSdu1oA1rncCQL7sCj8vSyZkgtL7faaw9Tc9rZ3mGgraQ7+Pdx7w5mnOSF3gw9ZNG6oc+KXfkon3bKuROm0g==" + "version": "0.7.18", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz", + "integrity": "sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA==" }, "ultron": { "version": "1.0.2", @@ -1321,9 +864,9 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, "whatwg-fetch": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz", - "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ=" + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", + "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" }, "wrappy": { "version": "1.0.2", diff --git a/package.json b/package.json index d3a11b35..4a535423 100644 --- a/package.json +++ b/package.json @@ -30,13 +30,13 @@ "watch": "tsc -w" }, "dependencies": { - "@jupyterlab/application": "^0.16.2", - "@jupyterlab/apputils": "^0.16.2", - "@jupyterlab/coreutils": "^1.1.2", - "@jupyterlab/docregistry": "^0.16.2", - "@jupyterlab/filebrowser": "^0.16.2", - "@jupyterlab/launcher": "^0.16.2", - "@jupyterlab/mainmenu": "^0.5.2" + "@jupyterlab/application": "^0.17.2", + "@jupyterlab/apputils": "^0.17.2", + "@jupyterlab/coreutils": "^2.0.2", + "@jupyterlab/docregistry": "^0.17.2", + "@jupyterlab/filebrowser": "^0.17.3", + "@jupyterlab/launcher": "^0.17.2", + "@jupyterlab/mainmenu": "^0.6.2" }, "devDependencies": { "rimraf": "^2.6.1", diff --git a/src/editor.ts b/src/editor.ts index 041942bf..d14f0072 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -31,9 +31,13 @@ w.mxLoadResources = false; import * as mx from './mxgraph/javascript/examples/grapheditor/www/modulated.js'; import { - ABCWidgetFactory, DocumentRegistry + ABCWidgetFactory, DocumentRegistry, DocumentWidget, } from '@jupyterlab/docregistry'; +import { + Toolbar +} from '@jupyterlab/apputils'; + import { IChangedArgs, PathExt } from '@jupyterlab/coreutils'; @@ -61,17 +65,17 @@ import { const DIRTY_CLASS = 'jp-mod-dirty'; export -class DrawioWidget extends Widget implements DocumentRegistry.IReadyWidget { +class DrawioWidget extends DocumentWidget { - constructor(context: DocumentRegistry.Context) { - super(); - this.context = context; + constructor(options: DocumentWidget.IOptions) { + super({ ...options }); + this.context = options['context']; this._onTitleChanged(); - context.pathChanged.connect(this._onTitleChanged, this); + this.context.pathChanged.connect(this._onTitleChanged, this); this.context.ready.then(() => { this._onContextReady(); }); - this.context.ready.then(() => { this._handleDirtyState(); }); + this.context.ready.then(() => { this._handleDirtyStateNew(); }); } protected onAfterShow(msg: Message): void { @@ -90,7 +94,7 @@ class DrawioWidget extends Widget implements DocumentRegistry.IReadyWidget { this._onContentChanged(); contextModel.contentChanged.connect(this._onContentChanged, this); - contextModel.stateChanged.connect(this._onModelStateChanged, this); + contextModel.stateChanged.connect(this._onModelStateChangedNew, this); this._editor.sidebarContainer.style.width = '208px'; var footer = document.getElementsByClassName('geFooterContainer'); @@ -166,13 +170,13 @@ class DrawioWidget extends Widget implements DocumentRegistry.IReadyWidget { this.context.model.fromString(xml); } - private _onModelStateChanged(sender: DocumentRegistry.IModel, args: IChangedArgs): void { + private _onModelStateChangedNew(sender: DocumentRegistry.IModel, args: IChangedArgs): void { if (args.name === 'dirty') { - this._handleDirtyState(); + this._handleDirtyStateNew(); } } - private _handleDirtyState() : void { + private _handleDirtyStateNew() : void { if (this.context.model.dirty) { this.title.className += ` ${DIRTY_CLASS}`; } else { @@ -187,6 +191,9 @@ class DrawioWidget extends Widget implements DocumentRegistry.IReadyWidget { return this._ready.promise; } + public content: Widget; + public toolbar: Toolbar; + public revealed: Promise; readonly context: DocumentRegistry.Context; private _editor : any; private _ready = new PromiseDelegate(); @@ -197,10 +204,14 @@ class DrawioWidget extends Widget implements DocumentRegistry.IReadyWidget { */ export class DrawioFactory extends ABCWidgetFactory { - /** - * Create a new widget given a context. - */ - protected createNewWidget(context: DocumentRegistry.Context): DrawioWidget { - return new DrawioWidget(context); - } + /** + * Create a new widget given a context. + */ + constructor(options: DocumentRegistry.IWidgetFactoryOptions){ + super(options); + } + + protected createNewWidget(context: DocumentRegistry.Context): DrawioWidget { + return new DrawioWidget({context, content: new Widget()}); + } } diff --git a/src/index.ts b/src/index.ts index 2bee220f..efe01e2f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -136,6 +136,7 @@ function activate(app: JupyterLab, // Add a command for creating a new diagram file. commands.addCommand('drawio:create-new', { label: 'Diagram', + iconClass: 'jp-MaterialIcon jp-ImageIcon', caption: 'Create a new diagram file', execute: () => { let cwd = browserFactory.defaultBrowser.model.path; @@ -156,10 +157,7 @@ function activate(app: JupyterLab, // Add a launcher item if the launcher is available. if (launcher) { launcher.add({ - displayName: 'Diagram', - name: 'diagram', - iconClass: 'jp-MaterialIcon jp-ImageIcon', - callback: createNewDIO, + command: 'drawio:create-new', rank: 1, category: 'Other' }); diff --git a/tsconfig.json b/tsconfig.json index e2e85ca6..14443b89 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,9 +7,9 @@ "allowJs": true, "module": "commonjs", "moduleResolution": "node", - "target": "ES5", + "target": "ES2015", "outDir": "./lib", - "lib": ["ES5", "ES2015.Promise", "DOM", "ES2015.Collection"], + "lib": ["ES2015", "ES2015.Promise", "DOM", "ES2015.Collection"], "types": [] }, "include": ["src/*"]