From c7744e51922508543495e63231457d8b4320dfe0 Mon Sep 17 00:00:00 2001 From: Rob Stupay Date: Thu, 11 Jul 2019 13:51:59 +0200 Subject: [PATCH 01/11] gist delete a file update --- src/app/files/file-explorer.js | 30 ++++++++++++++++++++++++++++++ src/lib/gist-handler.js | 5 ++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/src/app/files/file-explorer.js b/src/app/files/file-explorer.js index 17a45b27e2..e3381a44f1 100644 --- a/src/app/files/file-explorer.js +++ b/src/app/files/file-explorer.js @@ -491,10 +491,40 @@ fileExplorer.prototype.copyFiles = function () { // ------------------ gist publish -------------- fileExplorer.prototype.updateGist = function () { + let self = this var gistId = this.files.id + var fileList = Object.keys(this.files.files) + // fileList is an array of files in the github gist - not the updated one + var updatedFileList + + // loop through fileList and check if each element is in updatedFileList + + // if one is not there in updated file list add it and make its content null + + + self.packageFiles(self.files, (error, packaged) => { + if (error) { + console.log(error) + } else { + updatedFileList = Object.keys(packaged) + } + }) + if (!gistId) { tooltip('no gist content is currently loaded.') } else { + // check that the file list is still the same + // console.log('RS ' , this.files) + // make an array with just the names of the files + + // self.packageFiles(self.files, (error, packaged) => { + // if (error) { + // console.log(error) + // } else { + // console.log('file list is: ', packaged) + // } + // }) + this.toGist(gistId) } } diff --git a/src/lib/gist-handler.js b/src/lib/gist-handler.js index 27dc4fc346..61aa30324f 100644 --- a/src/lib/gist-handler.js +++ b/src/lib/gist-handler.js @@ -54,7 +54,10 @@ function GistHandler (_window) { return } fileManager.setBatchFiles(data.files, 'gist', (errorLoadingFile) => { - if (!errorLoadingFile) gistProvider.id = gistId + if (!errorLoadingFile) { + gistProvider.id = gistId + gistProvider.files = data.files + } }) }) }) From 4cba51e730a2f3a1a2ce6564561438843e43fec3 Mon Sep 17 00:00:00 2001 From: Loredana Date: Tue, 30 Jul 2019 01:39:29 +0300 Subject: [PATCH 02/11] Add ace-mode-move - syntax highlighting for Libra's Move language --- package-lock.json | 6 ++++++ package.json | 1 + src/app/editor/editor.js | 2 ++ 3 files changed, 9 insertions(+) diff --git a/package-lock.json b/package-lock.json index 2b2b4a8855..426df36402 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1717,6 +1717,12 @@ "negotiator": "0.6.2" } }, + "ace-mode-move": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/ace-mode-move/-/ace-mode-move-0.0.1.tgz", + "integrity": "sha512-RRckwbouhlCg1n8LQrZ87ojVdJg8FZYxa6d4ot8PNNBRKHLvJagPu/poW9mmRCW4YAGvOfrGpJpZH1kOjitj/Q==", + "dev": true + }, "ace-mode-solidity": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/ace-mode-solidity/-/ace-mode-solidity-0.1.1.tgz", diff --git a/package.json b/package.json index 1fdafa6d32..e504595935 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "@babel/register": "^7.4.4", "@fortawesome/fontawesome-free": "^5.8.1", "@resolver-engine/imports": "^0.3.0", + "ace-mode-move": "0.0.1", "ace-mode-solidity": "^0.1.0", "async": "^2.1.2", "babel-eslint": "^10.0.0", diff --git a/src/app/editor/editor.js b/src/app/editor/editor.js index 5225bc9dc1..28c4751245 100644 --- a/src/app/editor/editor.js +++ b/src/app/editor/editor.js @@ -12,6 +12,7 @@ require('brace/ext/language_tools') require('brace/ext/searchbox') const langTools = ace.acequire('ace/ext/language_tools') require('ace-mode-solidity/build/remix-ide/mode-solidity') +require('ace-mode-move/build/remix-ide/mode-move') require('brace/mode/javascript') require('brace/mode/python') require('brace/mode/json') @@ -65,6 +66,7 @@ class Editor { this.emptySession = this._createSession('') this.modes = { sol: 'ace/mode/solidity', + mvir: 'ace/mode/move', js: 'ace/mode/javascript', py: 'ace/mode/python', vy: 'ace/mode/python', From 3e4b1526a754bb39e6166d97e88e046b02984c9d Mon Sep 17 00:00:00 2001 From: Grandschtroumpf Date: Tue, 30 Jul 2019 13:47:44 +0200 Subject: [PATCH 03/11] update default testing file name --- src/app/tabs/test-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 56c2b0e711..ea885d0c7d 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -147,7 +147,7 @@ module.exports = class TestTab extends ViewPlugin { /* Test are not associated with the UI */ - testFromSource (content, path = 'browser/unit-test.sol') { + testFromSource (content, path = 'browser/unit_test.sol') { return new Promise((resolve, reject) => { let runningTest = {} runningTest[path] = { content } From a2561a521e9db303c0e04be868aad16f65015694 Mon Sep 17 00:00:00 2001 From: Grandschtroumpf Date: Tue, 30 Jul 2019 13:58:44 +0200 Subject: [PATCH 04/11] Add shortcut for solidity workshop --- src/app/ui/landing-page/landing-page.js | 49 ++++++++++++++----------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/src/app/ui/landing-page/landing-page.js b/src/app/ui/landing-page/landing-page.js index 68b6d7db7e..8ac6ab553e 100644 --- a/src/app/ui/landing-page/landing-page.js +++ b/src/app/ui/landing-page/landing-page.js @@ -121,43 +121,49 @@ export class LandingPage extends ViewPlugin { }) } - let learnMore = () => { window.open('https://remix-ide.readthedocs.io/en/latest/layout.html', '_blank') } + const learnMore = () => { window.open('https://remix-ide.readthedocs.io/en/latest/layout.html', '_blank') } - let startSolidity = () => { + const startSolidity = () => { this.appManager.ensureActivated('solidity') this.appManager.ensureActivated('udapp') this.appManager.ensureActivated('solidityStaticAnalysis') this.appManager.ensureActivated('solidityUnitTesting') this.verticalIcons.select('solidity') } - let startVyper = () => { + const startVyper = () => { this.appManager.ensureActivated('vyper') this.appManager.ensureActivated('udapp') this.verticalIcons.select('vyper') } + const startWorkshop = () => { + this.appManager.ensureActivated('solidity') + this.appManager.ensureActivated('solidityUnitTesting') + this.appManager.ensureActivated('workshop') + this.verticalIcons.select('workshop') + } - let startPipeline = () => { + const startPipeline = () => { this.appManager.ensureActivated('solidity') this.appManager.ensureActivated('pipeline') this.appManager.ensureActivated('udapp') } - let startDebugger = () => { + const startDebugger = () => { this.appManager.ensureActivated('debugger') this.verticalIcons.select('debugger') } - let startPluginManager = () => { + const startPluginManager = () => { this.appManager.ensureActivated('pluginManager') this.verticalIcons.select('pluginManager') } - let createNewFile = () => { + const createNewFile = () => { let fileExplorer = globalRegistry.get('fileexplorer/browser').api fileExplorer.createNewFile() } - let connectToLocalhost = () => { + const connectToLocalhost = () => { this.appManager.ensureActivated('remixd') } - let importFromGist = () => { + const importFromGist = () => { this.gistHandler.loadFromGist({gist: ''}, globalRegistry.get('filemanager').api) this.verticalIcons.select('fileExplorers') } @@ -182,8 +188,8 @@ export class LandingPage extends ViewPlugin {

The new layout has arrived

- - + +
@@ -192,13 +198,14 @@ export class LandingPage extends ViewPlugin {

Environments

- - + + +

File

-

{ createNewFile() }}>New File

+

createNewFile()}>New File

-

{ connectToLocalhost() }}>Connect to Localhost

+

connectToLocalhost()}>Connect to Localhost

Import From:

- - - - - - + + + + + +
From 979052e295141651d3cbd99bda781e27d90a8827 Mon Sep 17 00:00:00 2001 From: Grandschtroumpf Date: Tue, 30 Jul 2019 13:47:44 +0200 Subject: [PATCH 05/11] update default testing file name --- src/app/tabs/test-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 56c2b0e711..ea885d0c7d 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -147,7 +147,7 @@ module.exports = class TestTab extends ViewPlugin { /* Test are not associated with the UI */ - testFromSource (content, path = 'browser/unit-test.sol') { + testFromSource (content, path = 'browser/unit_test.sol') { return new Promise((resolve, reject) => { let runningTest = {} runningTest[path] = { content } From 9f369b2a77b6a2b0040b7902e2f2a35ddcd9de0d Mon Sep 17 00:00:00 2001 From: Rob Stupay Date: Mon, 22 Jul 2019 14:43:12 +0200 Subject: [PATCH 06/11] Fix file-explorer for Gist rename deletes --- src/app/files/file-explorer.js | 52 +++++++++++++--------------------- src/lib/gist-handler.js | 2 +- 2 files changed, 21 insertions(+), 33 deletions(-) diff --git a/src/app/files/file-explorer.js b/src/app/files/file-explorer.js index e3381a44f1..2a818307e3 100644 --- a/src/app/files/file-explorer.js +++ b/src/app/files/file-explorer.js @@ -411,14 +411,32 @@ fileExplorer.prototype.toGist = function (id) { token: tokenAccess }) if (id) { + const fileList = Object.keys(this.files.origGistFiles) + const updatedFileList = Object.keys(packaged) + // Telling the GIST API to remove files + const allItems = fileList + .filter(fileName => updatedFileList.indexOf(fileName) === -1) + .reduce((acc, deleteFileName) => ({ + ...acc, + [deleteFileName]: null + }), this.files.origGistFiles) + // adding new files + updatedFileList.forEach(file => allItems[file] = packaged[file]) + tooltip('Saving gist (' + id + ') ...') gists.edit({ description: description, public: true, - files: packaged, + files: allItems, id: id }, (error, result) => { proccedResult(error, result) + if (!error) { + for (const key in allItems) { + if (allItems[key] === null) delete allItems[key] + } + this.files.origGistFiles = allItems + } }) } else { tooltip('Creating a new gist ...') @@ -491,40 +509,10 @@ fileExplorer.prototype.copyFiles = function () { // ------------------ gist publish -------------- fileExplorer.prototype.updateGist = function () { - let self = this - var gistId = this.files.id - var fileList = Object.keys(this.files.files) - // fileList is an array of files in the github gist - not the updated one - var updatedFileList - - // loop through fileList and check if each element is in updatedFileList - - // if one is not there in updated file list add it and make its content null - - - self.packageFiles(self.files, (error, packaged) => { - if (error) { - console.log(error) - } else { - updatedFileList = Object.keys(packaged) - } - }) - + const gistId = this.files.id if (!gistId) { tooltip('no gist content is currently loaded.') } else { - // check that the file list is still the same - // console.log('RS ' , this.files) - // make an array with just the names of the files - - // self.packageFiles(self.files, (error, packaged) => { - // if (error) { - // console.log(error) - // } else { - // console.log('file list is: ', packaged) - // } - // }) - this.toGist(gistId) } } diff --git a/src/lib/gist-handler.js b/src/lib/gist-handler.js index 61aa30324f..9433cc1c2d 100644 --- a/src/lib/gist-handler.js +++ b/src/lib/gist-handler.js @@ -56,7 +56,7 @@ function GistHandler (_window) { fileManager.setBatchFiles(data.files, 'gist', (errorLoadingFile) => { if (!errorLoadingFile) { gistProvider.id = gistId - gistProvider.files = data.files + gistProvider.origGistFiles = data.files } }) }) From 04a5f1545081cf3438c0ae7e2182257d3adb61d6 Mon Sep 17 00:00:00 2001 From: pldespaigne Date: Fri, 2 Aug 2019 12:12:52 +0200 Subject: [PATCH 07/11] update methods --- src/remixAppManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remixAppManager.js b/src/remixAppManager.js index fcfd47db79..2c31375d3a 100644 --- a/src/remixAppManager.js +++ b/src/remixAppManager.js @@ -161,7 +161,7 @@ export class RemixAppManager extends PluginEngine { name: '3box', displayName: '3Box Spaces', description: 'A decentralized storage for everything that happen on Remix', - methods: ['isEnabled', 'openSpace', 'getValue', 'setValue'], + methods = [ 'login', 'isEnabled', 'getUserAddress', 'openSpace', 'closeSpace', 'isSpaceOpened', 'getSpacePrivateValue', 'setSpacePrivateValue', 'getSpacePublicValue', 'setSpacePublicValue', 'getSpacePublicData'], events: [], version: '0.1.0-beta', url: 'https://remix-3box.surge.sh', From b7dc8e022886420e586d7b959f19212c3ce9fe5f Mon Sep 17 00:00:00 2001 From: pldespaigne Date: Fri, 2 Aug 2019 12:14:58 +0200 Subject: [PATCH 08/11] fix_typo --- src/remixAppManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remixAppManager.js b/src/remixAppManager.js index 2c31375d3a..fcb0e1ed15 100644 --- a/src/remixAppManager.js +++ b/src/remixAppManager.js @@ -161,7 +161,7 @@ export class RemixAppManager extends PluginEngine { name: '3box', displayName: '3Box Spaces', description: 'A decentralized storage for everything that happen on Remix', - methods = [ 'login', 'isEnabled', 'getUserAddress', 'openSpace', 'closeSpace', 'isSpaceOpened', 'getSpacePrivateValue', 'setSpacePrivateValue', 'getSpacePublicValue', 'setSpacePublicValue', 'getSpacePublicData'], + methods: ['login', 'isEnabled', 'getUserAddress', 'openSpace', 'closeSpace', 'isSpaceOpened', 'getSpacePrivateValue', 'setSpacePrivateValue', 'getSpacePublicValue', 'setSpacePublicValue', 'getSpacePublicData'], events: [], version: '0.1.0-beta', url: 'https://remix-3box.surge.sh', From e83b11e433780c6e3a01703d8b6fe7eca4b2d4aa Mon Sep 17 00:00:00 2001 From: Loredana Date: Sat, 3 Aug 2019 17:13:06 +0300 Subject: [PATCH 09/11] Add Libra Tools plugin (compiler, deployer) --- src/remixAppManager.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/remixAppManager.js b/src/remixAppManager.js index fcb0e1ed15..eaba1a3c4d 100644 --- a/src/remixAppManager.js +++ b/src/remixAppManager.js @@ -179,6 +179,16 @@ export class RemixAppManager extends PluginEngine { icon: 'https://image.flaticon.com/icons/svg/1570/1570493.svg', location: 'sidePanel' } + const libraTools = { + name: 'libratools', + displayName: 'Libra and Move Tools', + events: [], + methods: [], + url: 'https://libra.pipeos.one', + description: 'Create, compile, deploy and interact with Libra modules and scripts', + icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EV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ICAgIGQ9Im0gNDAuNzg2NDQzLDI2MC41Nzk1NSBjIDAsMCAxOS4zMjgzMDYsLTM2Ljg0OTgzIDQ4LjkzMDM4NywtMzYuODQ5ODMgMjkuNjAyMDgsMCA2Mi44Mjg5LDI5LjYwMjA3IDkyLjQzMDk4LDI5LjYwMjA3IDI5LjYwMjA4LDAgNDcuNzI1NzksLTM4LjY2MzkzIDQ3LjcyNTc5LC0zOC42NjM5MyIKICAgICAgICAgc3R5bGU9Im9wYWNpdHk6MTtmaWxsOm5vbmU7ZmlsbC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLXdpZHRoOjI3LjQ4NzY0MjI5O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K', + location: 'sidePanel' + } return [ new IframePlugin(pipeline), new IframePlugin(vyper), @@ -187,7 +197,8 @@ export class RemixAppManager extends PluginEngine { new IframePlugin(mythx), new IframePlugin(provable), new IframePlugin(threeBox), - new IframePlugin(remixWorkshop) + new IframePlugin(remixWorkshop), + new IframePlugin(libraTools) ] } } From fcc92e7cd062f1e20834279fb13106b42ee3fdd4 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Mon, 5 Aug 2019 16:07:42 +0200 Subject: [PATCH 10/11] remove color from icon on vertial panel --- src/app/components/vertical-icons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/vertical-icons.js b/src/app/components/vertical-icons.js index aa9ab4aedc..f458e7afeb 100644 --- a/src/app/components/vertical-icons.js +++ b/src/app/components/vertical-icons.js @@ -177,7 +177,7 @@ export class VerticalIcons extends Plugin { if (nextActive) { let image = nextActive.querySelector('.image') nextActive.classList.add(css.active) - image.style.setProperty('filter', `invert(${invert})`) + image.style.setProperty('filter', `invert(${invert}) grayscale(1) brightness(0%)`) } } From 37c93cba7697719082e3dd68c927a39fff796cd2 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Mon, 5 Aug 2019 16:08:07 +0200 Subject: [PATCH 11/11] moved second column of home pgae to the righ --- package-lock.json | 193 +++++++++++++++++------- src/app/ui/landing-page/landing-page.js | 4 +- 2 files changed, 140 insertions(+), 57 deletions(-) diff --git a/package-lock.json b/package-lock.json index 426df36402..9b8dc1f654 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2502,10 +2502,6 @@ "on-load": "3.4.1" } }, - "bignumber.js": { - "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", - "dev": true - }, "binary-extensions": { "version": "1.13.1", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", @@ -10665,17 +10661,20 @@ "dependencies": { "ansi-regex": { "version": "2.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true }, "code-point-at": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true }, "cross-spawn": { "version": "5.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", "dev": true, "requires": { "lru-cache": "4.1.1", @@ -10685,12 +10684,14 @@ }, "decamelize": { "version": "1.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, "execa": { "version": "0.7.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", + "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", "dev": true, "requires": { "cross-spawn": "5.1.0", @@ -10704,7 +10705,8 @@ }, "find-up": { "version": "2.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { "locate-path": "2.0.0" @@ -10712,22 +10714,26 @@ }, "get-caller-file": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", + "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=", "dev": true }, "get-stream": { "version": "3.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", "dev": true }, "invert-kv": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", "dev": true }, "is-fullwidth-code-point": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, "requires": { "number-is-nan": "1.0.1" @@ -10735,17 +10741,20 @@ }, "is-stream": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, "isexe": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, "lcid": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", "dev": true, "requires": { "invert-kv": "1.0.0" @@ -10753,7 +10762,8 @@ }, "locate-path": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, "requires": { "p-locate": "2.0.0", @@ -10762,7 +10772,8 @@ }, "lru-cache": { "version": "4.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.1.tgz", + "integrity": "sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew==", "dev": true, "requires": { "pseudomap": "1.0.2", @@ -10771,7 +10782,8 @@ }, "mem": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", "dev": true, "requires": { "mimic-fn": "1.1.0" @@ -10779,17 +10791,20 @@ }, "mimic-fn": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz", + "integrity": "sha1-5md4PZLonb00KBi1IwudYqZyrRg=", "dev": true }, "minimist": { "version": "0.0.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "dev": true }, "mkdirp": { "version": "0.5.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "dev": true, "requires": { "minimist": "0.0.8" @@ -10797,7 +10812,8 @@ }, "npm-run-path": { "version": "2.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", "dev": true, "requires": { "path-key": "2.0.1" @@ -10805,12 +10821,14 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "dev": true }, "os-locale": { "version": "2.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", "dev": true, "requires": { "execa": "0.7.0", @@ -10820,17 +10838,20 @@ }, "p-finally": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", "dev": true }, "p-limit": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.1.0.tgz", + "integrity": "sha1-sH/y2aXYi+yAYDWJWiurZqJ5iLw=", "dev": true }, "p-locate": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, "requires": { "p-limit": "1.1.0" @@ -10838,37 +10859,44 @@ }, "path-exists": { "version": "3.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", "dev": true }, "path-key": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", "dev": true }, "pseudomap": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", "dev": true }, "require-directory": { "version": "2.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", "dev": true }, "require-main-filename": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", "dev": true }, "set-blocking": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "dev": true }, "shebang-command": { "version": "1.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dev": true, "requires": { "shebang-regex": "1.0.0" @@ -10876,17 +10904,20 @@ }, "shebang-regex": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", "dev": true }, "signal-exit": { "version": "3.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true }, "string-width": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { "code-point-at": "1.1.0", @@ -10896,7 +10927,8 @@ }, "strip-ansi": { "version": "3.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { "ansi-regex": "2.1.1" @@ -10904,12 +10936,14 @@ }, "strip-eof": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", "dev": true }, "which": { "version": "1.3.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", + "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", "dev": true, "requires": { "isexe": "2.0.0" @@ -10917,12 +10951,14 @@ }, "which-module": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, "wrap-ansi": { "version": "2.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "dev": true, "requires": { "string-width": "1.0.2", @@ -10931,17 +10967,20 @@ }, "y18n": { "version": "3.2.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", "dev": true }, "yallist": { "version": "2.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true }, "yargs": { "version": "10.0.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/yargs/-/yargs-10.0.3.tgz", + "integrity": "sha512-DqBpQ8NAUX4GyPP/ijDGHsJya4tYqLQrjPr95HNsr1YwL3+daCfvBwg7+gIC6IdJhR2kATh3hb61vjzMWEtjdw==", "dev": true, "requires": { "cliui": "3.2.0", @@ -10960,12 +10999,14 @@ "dependencies": { "ansi-regex": { "version": "3.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", "dev": true }, "cliui": { "version": "3.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "dev": true, "requires": { "string-width": "1.0.2", @@ -10975,7 +11016,8 @@ "dependencies": { "string-width": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { "code-point-at": "1.1.0", @@ -10987,7 +11029,8 @@ }, "string-width": { "version": "2.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { "is-fullwidth-code-point": "2.0.0", @@ -10996,12 +11039,14 @@ "dependencies": { "is-fullwidth-code-point": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, "strip-ansi": { "version": "4.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "requires": { "ansi-regex": "3.0.0" @@ -11013,7 +11058,8 @@ }, "yargs-parser": { "version": "8.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-8.0.0.tgz", + "integrity": "sha1-IdR2Mw5agieaS4gTRb8GYQLiGcY=", "dev": true, "requires": { "camelcase": "4.1.0" @@ -11021,7 +11067,8 @@ "dependencies": { "camelcase": { "version": "4.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", "dev": true } } @@ -12710,6 +12757,12 @@ "utf8": "2.1.1", "xhr2": "0.1.4", "xmlhttprequest": "1.8.0" + }, + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", + "dev": true + } } } } @@ -12796,6 +12849,12 @@ "utf8": "2.1.1", "xhr2": "0.1.4", "xmlhttprequest": "1.8.0" + }, + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", + "dev": true + } } } } @@ -12839,6 +12898,12 @@ "utf8": "2.1.1", "xhr2": "0.1.4", "xmlhttprequest": "1.8.0" + }, + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", + "dev": true + } } } } @@ -13238,6 +13303,12 @@ "utf8": "2.1.1", "xhr2": "0.1.4", "xmlhttprequest": "1.8.0" + }, + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", + "dev": true + } } } } @@ -13462,6 +13533,12 @@ "utf8": "2.1.1", "xhr2": "0.1.4", "xmlhttprequest": "1.8.0" + }, + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", + "dev": true + } } } } @@ -13697,6 +13774,12 @@ "utf8": "2.1.1", "xhr2": "0.1.4", "xmlhttprequest": "1.8.0" + }, + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", + "dev": true + } } } } diff --git a/src/app/ui/landing-page/landing-page.js b/src/app/ui/landing-page/landing-page.js index 8ac6ab553e..185857ad8a 100644 --- a/src/app/ui/landing-page/landing-page.js +++ b/src/app/ui/landing-page/landing-page.js @@ -194,7 +194,7 @@ export class LandingPage extends ViewPlugin {
-
+

Environments

@@ -230,7 +230,7 @@ export class LandingPage extends ViewPlugin {
-
+

Featured Plugins

{ startPipeline() }}>Pipeline