diff --git a/docker/linux b/docker/linux index 6037d094b..aedfd79e0 160000 --- a/docker/linux +++ b/docker/linux @@ -1 +1 @@ -Subproject commit 6037d094b7ce931f526394644be5e35629cdb3a0 +Subproject commit aedfd79e025ddfff2af16f9366776f0822b1fc0e diff --git a/externals b/externals index 281bd00a2..433d41328 160000 --- a/externals +++ b/externals @@ -1 +1 @@ -Subproject commit 281bd00a2d1f33bf6613358999355671ff4a9af5 +Subproject commit 433d413283f568f556c8966d24996efac20f2c2d diff --git a/src/client/spark/Images/Icons.cs b/src/client/spark/Images/Icons.cs index 36348abd6..49359e894 100644 --- a/src/client/spark/Images/Icons.cs +++ b/src/client/spark/Images/Icons.cs @@ -47,7 +47,7 @@ namespace mbts.ui //public static ImageSource Ticket { get { return load_image("Ticket.png"); } } // replaced with AddOrders public static ImageSource Date { get { return load_image("Date.png"); } } - public static ImageSource Cube3d { get { return (DrawingImage)_resources["Cube"]; /*return load_image("Cube-Molecule.png");*/ } } + public static ImageSource Cube3d { get { return (DrawingImage)_resources["Cube"]; } } public static ImageSource Algo { get { return Cube3d; } } public static ImageSource Quote { get { return Math; } } public static ImageSource Math { get { return (DrawingImage)_resources["Surface"]; } } @@ -62,9 +62,7 @@ namespace mbts.ui #pragma warning restore CS0618 // Vector icons - public static ImageSource Favorites { get { return Favorites_Gold; } } - public static ImageSource Favorites_Gold { get { return (DrawingImage)_resources["FavoritesGold"]; } } - public static ImageSource Favorites_White { get { return (DrawingImage)_resources["FavoritesWhite"]; } } + public static ImageSource Bookmarks { get { return (DrawingImage)_resources["Bookmarks"]; } } public static ImageSource Window { get { return (DrawingImage)_resources["Window"]; } } public static ImageSource ActiveWindow { get { return (DrawingImage)_resources["ActiveWindow"]; } } public static ImageSource Trash { get { return (DrawingImage)_resources["Trash"]; } } diff --git a/src/client/spark/Images/Icons/Cube-Molecule.png b/src/client/spark/Images/Icons/Cube-Molecule.png deleted file mode 100644 index dd0356eba..000000000 Binary files a/src/client/spark/Images/Icons/Cube-Molecule.png and /dev/null differ diff --git a/src/client/spark/Images/Vector/Icons.xaml b/src/client/spark/Images/Vector/Icons.xaml index aebe68c31..4ea28281e 100644 --- a/src/client/spark/Images/Vector/Icons.xaml +++ b/src/client/spark/Images/Vector/Icons.xaml @@ -3,33 +3,17 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mbts="clr-namespace:mbts.ui"> - - - - - - - - - - - - - - - - - + - + - + diff --git a/src/client/spark/Modules/Bookmarks/BookmarkShellModule.cs b/src/client/spark/Modules/Bookmarks/BookmarkShellModule.cs new file mode 100644 index 000000000..ced47e89a --- /dev/null +++ b/src/client/spark/Modules/Bookmarks/BookmarkShellModule.cs @@ -0,0 +1,81 @@ +using bts.spark; +using mbts.spark; +using mbts.ui; +using mbts.ui.settings; +using mbts.ui.shell; +using System; +using System.Collections.Generic; +using System.ComponentModel.Composition; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Media; + +namespace bts.ui { + [Export(typeof(IShellModule))] + public class BookmarkShellModule : ILazyMenuModule { + readonly WindowManager _wm; + readonly IBookmarks _bookmarks; + readonly ISavedWindowFactory _window_factory; + readonly WorkspacesModel _workspaces; + + [ImportingConstructor] + public BookmarkShellModule( + WorkspacesModel workspaces, + WindowManager wm, + IBookmarks bm, + ISavedWindowFactory swf) { + _workspaces = workspaces; + _wm = wm; + _bookmarks = bm; + _window_factory = swf; + } + + public ImageSource icon => Icons.Bookmarks; + + public string name => "My Windows"; + + public int priority => 35; + + public IEnumerable actions { + get { + // The windows that are open + var open = + _wm.list_documents() + .Select(td => td.ViewModel) + .Where(vm => vm.HasCustomTitle) + .Select(vm => + SparkCommand.create(vm.Title, vm.Icon, SparkTags.ActivateWindow, () => vm.Model)) + .Cast(); + + var open_set = new HashSet(open.Select(c => c.title)); + + // The windows that are not open + var closed = + _bookmarks.bookmarks + .Where(state => !open_set.Contains(state.title)) + .Select(state => + SparkCommand.create(state.title, Icons.Bookmarks, SparkTags.ShowWindowAsync, + () => { + _bookmarks.remove(state); + return _window_factory.restore(state); + })) + .Cast(); + + // todo: The windows that are closed + foreach (var w in open.Concat(closed).OrderBy(w => w.title)) { + yield return w; + } + } + } + + public Task create(Stream load_stream) { + // This module shouldn't have any windows + throw new NotImplementedException(); + } + + public void Dispose() { } + + } +} diff --git a/src/client/spark/Modules/Bookmarks/BookmarksModel.cs b/src/client/spark/Modules/Bookmarks/BookmarksModel.cs new file mode 100644 index 000000000..3ab4d399c --- /dev/null +++ b/src/client/spark/Modules/Bookmarks/BookmarksModel.cs @@ -0,0 +1,48 @@ +using mbts.ui.settings; +using System; +using System.Collections.Generic; +using System.ComponentModel.Composition; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace mbts.ui.shell { + + public interface IBookmarks { + void save_bookmark(IShellWindow window); + void save_bookmark(WindowState window); + void remove(WindowState window); + void clear(); + IEnumerable bookmarks { get; } + } + + [Export(typeof(IBookmarks))] + public class BookmarksModel : IBookmarks { + readonly ISettingsCollector _settings_collector; + readonly Dictionary _bookmarks = new Dictionary(); + + [ImportingConstructor] + public BookmarksModel(ISettingsCollector settings) { + _settings_collector = settings; + } + public void save_bookmark(IShellWindow window) { + var state = _settings_collector.get_window_state(window); + if (state != null) { + _bookmarks[state.title] = state; + } + } + public void save_bookmark(WindowState window) { + _bookmarks[window.title] = window; + } + + public void clear() { + _bookmarks.Clear(); + } + + public void remove(WindowState window) { + _bookmarks.Remove(window.title); + } + + public IEnumerable bookmarks => _bookmarks.Values; + } +} diff --git a/src/client/spark/Modules/Settings/SettingsShellModule.cs b/src/client/spark/Modules/Settings/SettingsShellModule.cs index c485d2ab7..87e8ffa8a 100644 --- a/src/client/spark/Modules/Settings/SettingsShellModule.cs +++ b/src/client/spark/Modules/Settings/SettingsShellModule.cs @@ -34,7 +34,7 @@ namespace bts.ui { public int priority => 40; - public IEnumerable actions => new []{ + public IEnumerable actions => new SparkCommand[]{ SparkCommands.ShowWorkspaces //SparkCommands.ShowSettings }; diff --git a/src/client/spark/Tests/ViewTests/WindowManagementTests.cs b/src/client/spark/Tests/ViewTests/WindowManagementTests.cs index 74d756c17..d089c4423 100644 --- a/src/client/spark/Tests/ViewTests/WindowManagementTests.cs +++ b/src/client/spark/Tests/ViewTests/WindowManagementTests.cs @@ -75,7 +75,7 @@ namespace mbts.ui.tests Logger.log(bts.log.Level.Info, bts.log.Subsystem.Ui, "Begin: test_windows_disposed"); // Make sure that an IShellWindow and ISlowWindow added to the Windows collection is eventually disposed var thread_factory = new ShellThreadFactory(); - IWindowManager wm = new WindowManager(thread_factory, new Lazy(() => new TestSettingsCollector()), new TestSavedWindowFactory(), new TestUndo(), new SimpleBus()); + IWindowManager wm = new WindowManager(thread_factory, new Lazy(() => new TestSettingsCollector()), new TestSavedWindowFactory(), null, new SimpleBus()); Assert.IsNotNull(Application.Current); Assert.IsNotNull(Application.Current.Windows); Assert.AreEqual(Application.Current.Windows.Count, 0); @@ -100,7 +100,7 @@ namespace mbts.ui.tests Logger.log(bts.log.Level.Info, bts.log.Subsystem.Ui, "Begin: test_slow_windows_disposed"); // Make sure that an IShellWindow and ISlowWindow added to the Windows collection is eventually disposed var thread_factory = new ShellThreadFactory(); - IWindowManager wm = new WindowManager(thread_factory, new Lazy(() => new TestSettingsCollector()), new TestSavedWindowFactory(), new TestUndo(), new SimpleBus()); + IWindowManager wm = new WindowManager(thread_factory, new Lazy(() => new TestSettingsCollector()), new TestSavedWindowFactory(), null, new SimpleBus()); Assert.AreEqual(Application.Current.Windows.Count, 0); // an ISlowWindow gets its own thread diff --git a/src/client/spark/core/Bus/SparkTags.cs b/src/client/spark/core/Bus/SparkTags.cs index 0c8325738..52bb8c570 100644 --- a/src/client/spark/core/Bus/SparkTags.cs +++ b/src/client/spark/core/Bus/SparkTags.cs @@ -5,6 +5,7 @@ using bts.spark; using mbts.ui; using System; using System.Collections.Generic; +using System.Threading.Tasks; using static mbts.spark.SparkBusData; namespace mbts.spark @@ -34,6 +35,8 @@ namespace mbts.spark public static ITag<(PartialCommand, SecurityCriteria)> FilterPickOne { get; } = new SparkTag<(PartialCommand, SecurityCriteria)>("FilterPick1"); public static ITag ShowWindow { get; } = new SparkTag("Show Window"); + public static ITag> ShowWindowAsync { get; } = new SparkTag>("ShowWindowAsync"); + public static ITag ActivateWindow { get; } = new SparkTag("Activate Window"); public static ITag ShowWorkspaces { get; } = new SparkTag(nameof(ShowWorkspaces)); public static ITag ShowSettings { get; } = new SparkTag(nameof(ShowSettings)); public static ITag ShowUri { get; } = new SparkTag("ShowUri"); diff --git a/src/client/spark/core/GlobalExtensions/GenericCollectionExtensions.cs b/src/client/spark/core/GlobalExtensions/GenericCollectionExtensions.cs index d933cb243..cd602776b 100644 --- a/src/client/spark/core/GlobalExtensions/GenericCollectionExtensions.cs +++ b/src/client/spark/core/GlobalExtensions/GenericCollectionExtensions.cs @@ -48,10 +48,10 @@ namespace System.Collections.Generic { return rv; } - - public static IEnumerable ToIEnumerable(this T item) { - yield return item; - } + // use "new [] { item }" - avoid putting this on the intellisense for every item everywhere + //public static IEnumerable ToIEnumerable(this T item) { + // yield return item; + //} public static IEnumerable TakeWhile(this IEnumerable source, TAccumulate seed, Func accumulate, Func predicate) { TAccumulate a = seed; diff --git a/src/client/spark/core/Settings/ISettingsCollector.cs b/src/client/spark/core/Settings/ISettingsCollector.cs index 75f3e2f97..ea737ffa2 100644 --- a/src/client/spark/core/Settings/ISettingsCollector.cs +++ b/src/client/spark/core/Settings/ISettingsCollector.cs @@ -69,16 +69,18 @@ namespace mbts.ui.settings if (window == null || window.Owner == null) return null; MemoryStream out_stream = new MemoryStream(); window.GetState(out_stream); + + var pos = _interop.GetPosition(window); var state = new WindowState() { owner = window.Owner.key(), app_data = out_stream.ToArray(), - position = _interop.GetPosition(window), - title = window.Title + position = pos, + title = string.IsNullOrEmpty(pos.custom_title) ? window.Title : pos.custom_title }; return state; } catch (Exception e) { - Logger.log(bts.log.Level.Error, bts.log.Subsystem.Ui, "Error saving window state for type {0}.\n {1}".fmt(window.GetType(), e.Message)); + Logger.log(Level.Error, Subsystem.Ui, "Error saving window state for type {0}.\n {1}".fmt(window.GetType(), e.Message)); } return null; } diff --git a/src/client/spark/core/Settings/Workspaces/WorkspaceProtos.cs b/src/client/spark/core/Settings/Workspaces/WorkspaceProtos.cs index cb6b86c1b..7758953e6 100644 --- a/src/client/spark/core/Settings/Workspaces/WorkspaceProtos.cs +++ b/src/client/spark/core/Settings/Workspaces/WorkspaceProtos.cs @@ -39,6 +39,9 @@ namespace mbts.ui.shell { [ProtoMember(102), DefaultValue(true)] public bool always_on_top = true; //[ProtoMember(103)] //used + + [ProtoMember(104)] + public string custom_title; } [ProtoContract] @@ -58,7 +61,7 @@ namespace mbts.ui.shell { public WindowPosition position; [ProtoMember(9)] - public string title; + public string title; // for debugging } [ProtoContract] diff --git a/src/client/spark/core/ShellInterface/IShellModule.cs b/src/client/spark/core/ShellInterface/IShellModule.cs index b6aa85c8b..bf66c6eeb 100644 --- a/src/client/spark/core/ShellInterface/IShellModule.cs +++ b/src/client/spark/core/ShellInterface/IShellModule.cs @@ -23,6 +23,9 @@ namespace mbts.ui Task create(Stream load_stream); } + // ILazyModule may also impement IShellMenu to get opening/closing notification + public interface ILazyMenuModule : IShellModule { } + public interface IPersistShellModule : IShellModule { // Called at startup before the UI is shown // This is an opportunity for you to kick off background services diff --git a/src/client/spark/core/ShellInterface/IWindowsInterop.cs b/src/client/spark/core/ShellInterface/IWindowsInterop.cs index de8cc6abb..3d3ce11e3 100644 --- a/src/client/spark/core/ShellInterface/IWindowsInterop.cs +++ b/src/client/spark/core/ShellInterface/IWindowsInterop.cs @@ -17,5 +17,5 @@ namespace mbts.ui WindowPosition GetPosition(IShellWindow window); bool IsVisible(IShellWindow window); void PinWindow(IShellWindow window); - } + } } diff --git a/src/client/spark/view/Controls/SparkMenu/SparkMenu.cs b/src/client/spark/view/Controls/SparkMenu/SparkMenu.cs index ae9d32476..3f71f7013 100644 --- a/src/client/spark/view/Controls/SparkMenu/SparkMenu.cs +++ b/src/client/spark/view/Controls/SparkMenu/SparkMenu.cs @@ -10,9 +10,11 @@ namespace mbts.ui.controls { static SparkMenu() => DefaultStyleKeyProperty.OverrideMetadata(typeof(SparkMenu), new FrameworkPropertyMetadata(typeof(SparkMenu))); - public SparkMenu() => + public SparkMenu() { SetCurrentValue(FocusableProperty, false); + } + public SparkMenu(IEnumerable commands, IBus bus) : this() => ItemsSource = commands.Select(c => new SparkCommandVM(c, bus)).ToList(); diff --git a/src/client/spark/view/DragDrop/DragDropHelper.cs b/src/client/spark/view/DragDrop/DragDropHelper.cs index e0cf43065..6b9daf298 100644 --- a/src/client/spark/view/DragDrop/DragDropHelper.cs +++ b/src/client/spark/view/DragDrop/DragDropHelper.cs @@ -61,16 +61,16 @@ namespace mbts.ui _source_window = window as FloatingWindow; if (_source != null) { _mouse_start = e.GetPosition(window); - if (!is_button_descendant((DependencyObject)e.OriginalSource)) { + if (!is_clickable_descendant((DependencyObject)e.OriginalSource)) { Mouse.Capture(_source); } } } - static bool is_button_descendant(DependencyObject target) { + static bool is_clickable_descendant(DependencyObject target) { while (target != null && !(target is TabDocument)) { target = VisualTreeHelper.GetParent(target); - if (target is Button) return true; + if (target is Button || target is TextBox) return true; } return false; } diff --git a/src/client/spark/view/Extensions/AsyncExtensions.cs b/src/client/spark/view/Extensions/AsyncExtensions.cs index 82ab00912..762745e28 100644 --- a/src/client/spark/view/Extensions/AsyncExtensions.cs +++ b/src/client/spark/view/Extensions/AsyncExtensions.cs @@ -24,38 +24,7 @@ namespace mbts.ui } } - public static async Task FromEvent(this object target, string event_name) { - var evt = target.GetType().GetEvent(event_name); - var delegate_type = evt.EventHandlerType; - var tcs = new TaskCompletionSource(); - Action result = () => { tcs.TrySetResult(null); }; - var d = Delegate.CreateDelegate(evt.EventHandlerType, result, "Invoke"); - try { - evt.AddEventHandler(target, d); - await tcs.Task; - } - finally { - evt.RemoveEventHandler(target, d); - } - } - - public static async Task FromEvent(this object target, string event_name) { - var evt = target.GetType().GetEvent(event_name); - var delegate_type = evt.EventHandlerType; - var tcs = new TaskCompletionSource(); - Action result = (arg) => { tcs.TrySetResult(arg); }; - var d = Delegate.CreateDelegate(evt.EventHandlerType, result, "Invoke"); - try { - evt.AddEventHandler(target, d); - await tcs.Task; - return tcs.Task.Result; - } - finally { - evt.RemoveEventHandler(target, d); - } - } - - public static async Task> FromEvent(this object target, string event_name) { + public static async Task> FromEvent(this DependencyObject target, string event_name) { var evt = target.GetType().GetEvent(event_name); var delegate_type = evt.EventHandlerType; var tcs = new TaskCompletionSource>(); diff --git a/src/client/spark/view/Extensions/TextElement/TextBoxBehavior.cs b/src/client/spark/view/Extensions/TextElement/TextBoxBehavior.cs index 124065e5c..0da35d793 100644 --- a/src/client/spark/view/Extensions/TextElement/TextBoxBehavior.cs +++ b/src/client/spark/view/Extensions/TextElement/TextBoxBehavior.cs @@ -32,7 +32,7 @@ namespace mbts.ui { #region TraverseOnEnter - public static readonly DependencyProperty TraverseOnEnterProperty = DependencyProperty.RegisterAttached("TraverseOnEnter", typeof(bool), typeof(TextBoxBehavior), new PropertyMetadata(false, OnTraverseOnEnterChanged)); + public static readonly DependencyProperty TraverseOnEnterProperty = DependencyProperty.RegisterAttached("TraverseOnEnter", typeof(bool), typeof(TextBoxBehavior), new PropertyMetadata(false, OnTraverseOnEnterChanged)); private static void OnTraverseOnEnterChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { var text_box = (TextBox)d; if ((bool)e.NewValue) text_box.PreviewKeyDown += commit_on_enter_PreviewKeyDownHandler; @@ -67,6 +67,65 @@ namespace mbts.ui { public static void SetCommitOnEnter(DependencyObject obj, bool value) => obj.SetValue(CommitOnEnterProperty, value); #endregion + #region CancelOnEnter + + public static readonly DependencyProperty CancelOnEscapeProperty = + DependencyProperty.RegisterAttached("CancelOnEscape", typeof(bool), typeof(TextBoxBehavior), new PropertyMetadata(false, cancel_on_escape_changed)); + + private static void cancel_on_escape_changed(DependencyObject d, DependencyPropertyChangedEventArgs e) { + var tb = (TextBox)d; + if ((bool)e.NewValue) { + tb.KeyDown += tbx_keydown; + } + else { + tb.KeyDown += tbx_keydown; + } + } + + static void tbx_keydown(object sender, KeyEventArgs e) { + if (e.Key == Key.Escape) { + abort_edit(sender as DependencyObject); + } + } + + // Copy the binding value back and forth to generate a set to the source property with the original value + private static void abort_edit(DependencyObject sender) { + if (sender != null) { + var binding = BindingOperations.GetBindingExpression(sender, TextBox.TextProperty); + binding?.UpdateTarget(); + binding?.UpdateSource(); + } + } + + public static bool GetCancelOnEscape(DependencyObject obj) => (bool)obj.GetValue(CancelOnEscapeProperty); + public static void SetCancelOnEscape(DependencyObject obj, bool value) => obj.SetValue(CancelOnEscapeProperty, value); + + #endregion + + #region TryCancelOnFocusLost + public static readonly DependencyProperty TryCancelOnFocusLostProperty = + DependencyProperty.RegisterAttached("TryCancelOnFocusLost", typeof(bool), typeof(TextBoxBehavior), new PropertyMetadata(false, cancel_on_focus_lost_changed)); + + private static void cancel_on_focus_lost_changed(DependencyObject d, DependencyPropertyChangedEventArgs e) { + var tb = (TextBox)d; + if ((bool)e.NewValue) { + tb.LostFocus += tb_lostfocus; + } + else { + tb.LostFocus += tb_lostfocus; + } + } + + static void tb_lostfocus(object sender, EventArgs e) { + abort_edit(sender as DependencyObject); + } + + public static bool GetTryCancelOnFocusLost(DependencyObject obj) => (bool)obj.GetValue(TryCancelOnFocusLostProperty); + public static void SetTryCancelOnFocusLost(DependencyObject obj, bool value) => obj.SetValue(TryCancelOnFocusLostProperty, value); + + #endregion + + #region ReleaseOnEscape public static readonly DependencyProperty ReleaseOnEscapeProperty = DependencyProperty.RegisterAttached( "ReleaseOnEscape", typeof(bool), typeof(TextBoxBehavior), new PropertyMetadata(false, OnReleaseOnEscapeChanged)); @@ -79,7 +138,8 @@ namespace mbts.ui { tb.ReleaseMouseCapture(); Keyboard.ClearFocus(); })); - } else { + } + else { tb.ClearKeyBindings(Key.Escape, ModifierKeys.None); tb.ClearCommandBindings(ReleaseCaptureCommand); } @@ -180,17 +240,18 @@ namespace mbts.ui { "IncrementDecrementOnMouseClick", typeof(bool), typeof(TextBoxBehavior), new PropertyMetadata(false, IncrementDecrementOnMouseClickPropertyChanged) ); - public static bool GetIncrementDecrementOnMouseClick(TextBox element) { return (bool)element.GetValue(IncrementDecrementOnMouseClickProperty); } + public static bool GetIncrementDecrementOnMouseClick(TextBox element) { return (bool)element.GetValue(IncrementDecrementOnMouseClickProperty); } public static void SetIncrementDecrementOnMouseClick(TextBox element, bool value) { element.SetValue(IncrementDecrementOnMouseClickProperty, value); } private static void IncrementDecrementOnMouseClickPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { var text_box = d as TextBox; - if(text_box != null) { + if (text_box != null) { if ((bool)e.NewValue) { text_box.PreviewMouseLeftButtonDown += OnMouseLeftButtonDownDecrementValue; text_box.PreviewMouseRightButtonDown += OnMouseRightButtonDownIncrementValue; - } else { + } + else { text_box.PreviewMouseLeftButtonDown -= OnMouseLeftButtonDownDecrementValue; text_box.PreviewMouseRightButtonDown -= OnMouseRightButtonDownIncrementValue; } @@ -201,7 +262,8 @@ namespace mbts.ui { var text_box = sender as TextBox; if (text_box == null || String.IsNullOrWhiteSpace(text_box.Text)) { return; - } else { + } + else { if (uint.TryParse(text_box.Text, out uint val)) { if (val < uint.MaxValue) { val++; @@ -226,5 +288,6 @@ namespace mbts.ui { } } #endregion + } } \ No newline at end of file diff --git a/src/client/spark/view/Shell/FloatingWindow.xaml.cs b/src/client/spark/view/Shell/FloatingWindow.xaml.cs index 0e2b1e878..f0e74733f 100644 --- a/src/client/spark/view/Shell/FloatingWindow.xaml.cs +++ b/src/client/spark/view/Shell/FloatingWindow.xaml.cs @@ -14,18 +14,19 @@ namespace mbts.ui.shell public partial class FloatingWindow : Window { bool _closed = false; - private IUndoActions _undo; + readonly IBookmarks _bookmark; private IWindowManager _wm; private ISavedWindowFactory _window_factory; private ISettingsCollector _window_settings; private Stack _recently_closed_windows = new Stack(); // if is_loaded is true, will NOT set width/height - internal FloatingWindow(TabDocument document, IWindowManager wm, IUndoActions undo, ISettingsCollector settings, ISavedWindowFactory factory, bool is_loaded=false) { + internal FloatingWindow(TabDocument document, + IWindowManager wm, IBookmarks bookmarks, ISettingsCollector settings, ISavedWindowFactory factory, bool is_loaded=false) { _wm = wm; - _undo = undo; _window_settings = settings; _window_factory = factory; + _bookmark = bookmarks; InitializeComponent(); if (string.IsNullOrEmpty(document.ViewModel.host_id)) { @@ -67,6 +68,7 @@ namespace mbts.ui.shell private ItemCollection Items { get { return _tabs.Items; } } + public IEnumerable Documents => _tabs.Items.OfType(); public bool IsEmpty { get { return _tabs.Items.Count == 0; } } public bool SingleChild { get { return _tabs.Items.Count == 1; } } public string host_id { get; private set; } @@ -88,10 +90,10 @@ namespace mbts.ui.shell if (sender != this) { var undoaction = create_undo_action(document); if (undoaction != null) { - IDisposable undoitem = _undo.push("Restore Tab '{0}'".fmt(document.Title), undoaction); - _recently_closed_windows.Push(() => { undoaction(); undoitem.Dispose(); }); + _recently_closed_windows.Push(() => { undoaction(); }); } } + _bookmark.save_bookmark(document.Model); } public void remove_document(TabDocument document) { @@ -144,22 +146,9 @@ namespace mbts.ui.shell protected override void OnClosed(EventArgs e) { _closed = true; - TabDocument[] items = _tabs.Items.OfType().ToArray(); - if (items.Length > 0) { - // If we're closing and still have Tabs open we save the whole "window" worth of state in the undo stack - // If the application is shutting down this might be unnecessary work but it's not too costly - var undo_actions = items.Select(t => create_undo_action(t.ViewModel)).Where(item => item != null).ToArray(); - if (undo_actions.Length > 0) { - string name = "Restore Window: '{0}'".fmt(string.Join("', '", items.Select(t => t.ViewModel.Title))); - _undo.push(name, () => { - foreach (var u in undo_actions) { u(); } - }); - } - } - base.OnClosed(e); - foreach (TabDocument document in items) { + foreach (TabDocument document in _tabs.Items.OfType().ToList()) { if (document != null && document.ViewModel.CloseCommand.CanExecute(this)) { document.ViewModel.CloseCommand.Execute(this); } diff --git a/src/client/spark/view/Shell/TabDocument.xaml b/src/client/spark/view/Shell/TabDocument.xaml index de53617fe..85a306459 100644 --- a/src/client/spark/view/Shell/TabDocument.xaml +++ b/src/client/spark/view/Shell/TabDocument.xaml @@ -3,7 +3,9 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - mc:Ignorable="d" Style="{StaticResource {x:Type TabItem}}" d:DesignWidth="125" + xmlns:ui="clr-namespace:mbts.ui" + xmlns:convert="clr-namespace:mbts.ui.converters" + mc:Ignorable="d" d:DesignWidth="125" Header="{Binding}" Content="{Binding AppContent}" Background="#e6e6e6"> @@ -18,6 +20,19 @@ + + + + + + + @@ -28,25 +43,32 @@ - - - - - - + + + + + + + + + + - + + - - + + + diff --git a/src/client/spark/view/Shell/ViewModels/ShellModuleVM.cs b/src/client/spark/view/Shell/ViewModels/ShellModuleVM.cs index 9808a9ec2..507078e76 100644 --- a/src/client/spark/view/Shell/ViewModels/ShellModuleVM.cs +++ b/src/client/spark/view/Shell/ViewModels/ShellModuleVM.cs @@ -18,8 +18,15 @@ namespace mbts.ui.shell { public ImageSource IconSource { get { return _module.icon; } } public UIElement MenuContent => new SparkMenu(_module.actions, _bus); - public void opening() { } + public void opening() { + (_module as IShellMenu)?.opening(); + if (_module is ILazyMenuModule) { + RaisePropertyChanged(nameof(MenuContent)); + } + } - public void closing() { } + public void closing() { + (_module as IShellMenu)?.closing(); + } } } diff --git a/src/client/spark/view/Shell/ViewModels/ShellWindowVM.cs b/src/client/spark/view/Shell/ViewModels/ShellWindowVM.cs index 4ec2762ab..a3d23f032 100644 --- a/src/client/spark/view/Shell/ViewModels/ShellWindowVM.cs +++ b/src/client/spark/view/Shell/ViewModels/ShellWindowVM.cs @@ -24,10 +24,11 @@ namespace mbts.ui.shell Dispatcher _dispatcher; HwndContentHost _hwnd_host; + public ShellWindowVM(IShellWindow model, IWindowManager wm, IShellThreadFactory threads, string host = "") { Logger.assert(model != null); _model = model; - _model.TitleChanged += () => RaisePropertyChanged("Title"); + _model.TitleChanged += () => { if (!HasCustomTitle) RaisePropertyChanged("Title"); }; _model.IconChanged += () => { _icon = null; RaisePropertyChanged("Icon"); }; _wm = wm; host_id = host; @@ -40,13 +41,55 @@ namespace mbts.ui.shell if (HasTabAffinity) { this.host_id = ((ITabAffineWindow)model).tab_group; } + + _edit_mode = backing(nameof(EditMode), false); } public string host_id { get; set; } public Dispatcher Dispatcher { get { return _dispatcher; } } - public string Title { get { return _model.Title; } } + + public string Title { get { return HasCustomTitle? TitleOverride : _model.Title; } } + + string _title_override; + public string TitleOverride { + get => _title_override; + set { + if (_title_override != value) { + if (value == _model.Title) { + _title_override = null; + } + else { + _title_override = value; + } + RaisePropertyChanged(nameof(TitleOverride), nameof(Title), nameof(HasCustomTitle)); + } + _edit_mode.set(false); + } + } + public bool HasCustomTitle => !string.IsNullOrWhiteSpace(TitleOverride); + + Property _edit_mode; + public bool EditMode => _edit_mode.Value; + + + public ICommand rename_command => new DelegateCommand(begin_rename); + public ICommand unrename_command => new DelegateCommand(remove_custom); + + private void begin_rename() { + if (string.IsNullOrEmpty(TitleOverride)) { + _title_override = Title; + } + _edit_mode.set(true); + } + + private void remove_custom() { + TitleOverride = string.Empty; + //begin_close(this); + } + public string OwnerName { get { return _model.Owner == null ? "" : _model.Owner.name; } } public ICommand CloseCommand { get { return new DelegateCommand(begin_close); } } + public double InitialWidth { get; private set; } public double InitialHeight { get; private set; } @@ -155,18 +198,14 @@ namespace mbts.ui.shell } } - public byte[] GetSaveState() { - MemoryStream stream = new MemoryStream(); - _model.GetState(stream); - return stream.ToArray(); - } - public IShellWindow Model { get { return _model; } } public bool IsSlow { get { return _model is ISlowWindow; } } public bool IsShared { get { return _model is ISharedWindow; } } public bool HasTabAffinity { get { return _model is ITabAffineWindow; } } + + public void Dispose() { if (IsShared) { // Shared threads continue running diff --git a/src/client/spark/view/Shell/WindowManager.cs b/src/client/spark/view/Shell/WindowManager.cs index 229c0cdc4..8beff6943 100644 --- a/src/client/spark/view/Shell/WindowManager.cs +++ b/src/client/spark/view/Shell/WindowManager.cs @@ -20,25 +20,31 @@ namespace mbts.ui.shell { [Export(typeof(IWindowManager))] [Export(typeof(IWindowsInterop))] + [Export] public class WindowManager : IWindowManager, IWindowsInterop, IDisposable { Dictionary _documents = new Dictionary(); Dictionary _windows = new Dictionary(); - IShellThreadFactory _threads; + readonly IShellThreadFactory _threads; Lazy _window_settings; - ISavedWindowFactory _window_factory; - IUndoActions _undo; + readonly ISavedWindowFactory _window_factory; + readonly Lazy _bookmarks; IDisposable _dispose; object _lock = new object(); [ImportingConstructor] public WindowManager( IShellThreadFactory threads, Lazy settings, - ISavedWindowFactory factory, IUndoActions undo, IBus bus) { + ISavedWindowFactory factory, Lazy bookmarks, IBus bus) { _threads = threads; _window_settings = settings; _window_factory = factory; - _undo = undo; - _dispose = bus.subscribe(SparkTags.ShowWindow).OnDispatcher().Subscribe(w => add(w).ignore()); + _bookmarks = bookmarks; + _dispose = + Disposable.Create( + bus.subscribe(SparkTags.ShowWindow).OnDispatcher().Subscribe(w => add(w).ignore()), + bus.subscribe(SparkTags.ShowWindowAsync).OnDispatcher().Subscribe(w => add(w).ignore()), + bus.subscribe(SparkTags.ActivateWindow).OnDispatcher().Subscribe(MakeVisible) + ); } #region Window creation @@ -48,6 +54,7 @@ namespace mbts.ui.shell { var state = model.start_position(); if (state != null) { viewmodel.host_id = state.host_id ?? ""; + viewmodel.TitleOverride = state.custom_title; } var window = CreateWindow(content, state); @@ -66,10 +73,10 @@ namespace mbts.ui.shell { } } else { if (position != null) { - window = new FloatingWindow(document, this, _undo, _window_settings.Value, _window_factory, true); + window = new FloatingWindow(document, this, _bookmarks.Value, _window_settings.Value, _window_factory, true); window.set_position(position); } else - window = new FloatingWindow(document, this, _undo, _window_settings.Value, _window_factory); + window = new FloatingWindow(document, this, _bookmarks.Value, _window_settings.Value, _window_factory); _windows.Add(window.host_id, window); window.Closed += (o, e) => _windows.Remove(window.host_id); } @@ -81,12 +88,19 @@ namespace mbts.ui.shell { public IReadOnlyList list_windows() => _documents.Keys.ToList(); + public IReadOnlyList list_documents() => _documents.Values.ToList(); + public async Task add(IShellWindow window) { if (!Application.Current.Dispatcher.CheckAccess()) await Application.Current.Dispatcher.InvokeAsync(() => add(window)); Logger.info(bts.log.Subsystem.Ui, $"Opening window {window.diagnostic_name()}."); - lock (_lock) + lock (_lock) { _documents[window] = _create_document(window); + } + } + + public async Task add(Task window) { + await add(await window); } public void remove(IShellWindow window) { @@ -139,14 +153,13 @@ namespace mbts.ui.shell { #region IWindowsInterop public WindowPosition GetPosition(IShellWindow shell_window) { - return GetPosition(shell_window, null); - } - public WindowPosition GetPosition(IShellWindow shell_window, FloatingWindow owning_window) { - FloatingWindow window = owning_window == null ? window_for(shell_window) : owning_window; + FloatingWindow window = window_for(shell_window); + var doc = window.Documents.FirstOrDefault(td => td.ViewModel.Model == shell_window); if (window != null) { WindowPosition pos = window.get_position(); pos.tab_index = window.document_index(shell_window); pos.host_id = window.host_id; + pos.custom_title = doc?.ViewModel?.TitleOverride; return pos; } Logger.log(bts.log.Level.Warn, bts.log.Subsystem.Ui, "IShellWindow '{0}' does not have a valid position. It may not be displayed".fmt(shell_window.Title)); diff --git a/src/client/spark/view/Shell/Workspaces/WorkspacesModel.cs b/src/client/spark/view/Shell/Workspaces/WorkspacesModel.cs index 6d01d158f..2d742e139 100644 --- a/src/client/spark/view/Shell/Workspaces/WorkspacesModel.cs +++ b/src/client/spark/view/Shell/Workspaces/WorkspacesModel.cs @@ -19,6 +19,7 @@ using mbts.persist; namespace mbts.ui.shell { + [Export] public class WorkspacesModel : ViewModelBaseWithValidation { @@ -35,10 +36,11 @@ namespace mbts.ui.shell private bool _closing = false; private ILauncher _launcher; private IUndoActions _undo; + readonly IBookmarks _bookmarks; [ImportingConstructor] public WorkspacesModel(ISettingsCollector settings, ISavedWindowFactory window_restore, - IWindowManager windows, ObservableCollection modules, IPersist persist, + IWindowManager windows, ObservableCollection modules, IPersist persist, IBookmarks bm, IUserPersist user_persist, ILauncher launcher, IUndoActions undo, [Import("workspace")]string initial_workspace) { _settings_collector = settings; _window_restore = window_restore; @@ -48,6 +50,7 @@ namespace mbts.ui.shell _modules = modules; _launcher = launcher; _undo = undo; + _bookmarks = bm; _launcher.closing += _launcher_closing; Workspaces = new ObservableCollection(); init(initial_workspace).ignore(); @@ -150,6 +153,7 @@ namespace mbts.ui.shell workspace.windows = _settings_collector.get_window_state().ToList(); workspace.modules = _settings_collector.get_module_state().ToList(); workspace.launcher_state = _settings_collector.get_launcher_state(); + workspace.named_windows = _bookmarks.bookmarks.ToList(); return workspace; } @@ -166,6 +170,7 @@ namespace mbts.ui.shell await Task.Yield(); } workspace.launcher_state = _settings_collector.get_launcher_state(); + workspace.named_windows = _bookmarks.bookmarks.ToList(); return workspace; } @@ -226,10 +231,15 @@ namespace mbts.ui.shell } } - // Notify workspace changed - if (WorkspaceLoaded != null) { - WorkspaceLoaded(name); + _bookmarks.clear(); + if (def.named_windows != null) { + foreach (var window in def.named_windows) { + _bookmarks.save_bookmark(window); + } } + + // Notify workspace changed + WorkspaceLoaded?.Invoke(name); } public Task delete_workspace(string name, WorkspaceDefinition def) { @@ -244,18 +254,20 @@ namespace mbts.ui.shell } return (def.is_shared ? _public : _private).clear(WORKSPACE_NAMESPACE, name); } + } // The serialized data for the Workspace [ProtoContract(Name = "WorkspaceDefinition")] public class WorkspaceDefinition { - // Converted the protobuf type ShellSettings to c# - // Avoid re-using id: 1,3,4,5,6,7 - [ProtoMember(2, IsRequired = false)] public List windows { get; set; } + // named windows which are not currently open + [ProtoMember(3)] + public List named_windows { get; set; } + [ProtoMember(9, IsRequired = false)] public List modules { get; set; } diff --git a/src/client/spark/view/Spark/Shell/OrderBook/OrderNode.cs b/src/client/spark/view/Spark/Shell/OrderBook/OrderNode.cs index ba39fb958..fbce547b0 100644 --- a/src/client/spark/view/Spark/Shell/OrderBook/OrderNode.cs +++ b/src/client/spark/view/Spark/Shell/OrderBook/OrderNode.cs @@ -37,13 +37,13 @@ namespace bts.spark if (this.IsRoot) { return Enumerable.Empty(); } - return this.Parent.ToIEnumerable().Concat(this.Parent.Ancestors); + return new[] { this.Parent }.Concat(this.Parent.Ancestors); } } public IEnumerable MeAndDescedants { get { - return this.ToIEnumerable().Concat(this.children.SelectMany(c => c.MeAndDescedants)); + return new[] { this }.Concat(this.children.SelectMany(c => c.MeAndDescedants)); } } diff --git a/src/lib/config/defaults/cpp_config.conf b/src/lib/config/defaults/cpp_config.conf new file mode 100644 index 000000000..3a65f3f72 --- /dev/null +++ b/src/lib/config/defaults/cpp_config.conf @@ -0,0 +1,5507 @@ +CppConfig +{ + value + { + cpp_entry { + key: "0A" + value: 100 + } + cpp_entry { + key: "0B" + value: 100 + } + cpp_entry { + key: "0C" + value: 100 + } + cpp_entry { + key: "0E" + value: 100 + } + cpp_entry { + key: "16E" + value: 1000 + } + cpp_entry { + key: "1BT" + value: 100 + } + cpp_entry { + key: "1E" + value: 1000 + } + cpp_entry { + key: "1ET" + value: 100 + } + cpp_entry { + key: "1FT" + value: 250 + } + cpp_entry { + key: "1H" + value: 1000 + } + cpp_entry { + key: "1IT" + value: 100 + } + cpp_entry { + key: "1KT" + value: 100 + } + cpp_entry { + key: "1NA" + value: 1000 + } + cpp_entry { + key: "1PT" + value: 100 + } + cpp_entry { + key: "1S" + value: 42000 + } + cpp_entry { + key: "1T" + value: 1000 + } + cpp_entry { + key: "1UT" + value: 100 + } + cpp_entry { + key: "1VT" + value: 100 + } + cpp_entry { + key: "1Y" + value: 80 + } + cpp_entry { + key: "1YT" + value: 100 + } + cpp_entry { + key: "1ZA" + value: 80 + } + cpp_entry { + key: "22" + value: 1000 + } + cpp_entry { + key: "23" + value: 42000 + } + cpp_entry { + key: "26" + value: 1000 + } + cpp_entry { + key: "27" + value: 42000 + } + cpp_entry { + key: "29" + value: 1000 + } + cpp_entry { + key: "2C" + value: 42000 + } + cpp_entry { + key: "2D" + value: 5 + } + cpp_entry { + key: "2FW" + value: 80 + } + cpp_entry { + key: "2GT" + value: 50 + } + cpp_entry { + key: "2JW" + value: 5 + } + cpp_entry { + key: "2RB" + value: 42000 + } + cpp_entry { + key: "2VT" + value: 50 + } + cpp_entry { + key: "2ZW" + value: 5 + } + cpp_entry { + key: "36" + value: 1000 + } + cpp_entry { + key: "36E" + value: 1000 + } + cpp_entry { + key: "37" + value: 1000 + } + cpp_entry { + key: "38" + value: 1000 + } + cpp_entry { + key: "39" + value: 1000 + } + cpp_entry { + key: "3L" + value: 42000 + } + cpp_entry { + key: "3P" + value: 42000 + } + cpp_entry { + key: "3V" + value: 1000 + } + cpp_entry { + key: "3XW" + value: 5 + } + cpp_entry { + key: "3ZW" + value: 80 + } + cpp_entry { + key: "4C" + value: 42000 + } + cpp_entry { + key: "4G" + value: 1000 + } + cpp_entry { + key: "4RB" + value: 42000 + } + cpp_entry { + key: "4U" + value: 42000 + } + cpp_entry { + key: "4V" + value: 1000 + } + cpp_entry { + key: "4XW" + value: 80 + } + cpp_entry { + key: "4Y" + value: 42000 + } + cpp_entry { + key: "51" + value: 1000 + } + cpp_entry { + key: "5L" + value: 100 + } + cpp_entry { + key: "5Y" + value: 42000 + } + cpp_entry { + key: "5ZN" + value: 2500 + } + cpp_entry { + key: "63" + value: 1000 + } + cpp_entry { + key: "6A" + value: 100000 + } + cpp_entry { + key: "6B" + value: 62500 + } + cpp_entry { + key: "6C" + value: 100000 + } + cpp_entry { + key: "6E" + value: 125000 + } + cpp_entry { + key: "6J" + value: 12500000 + } + cpp_entry { + key: "6L" + value: 100000 + } + cpp_entry { + key: "6M" + value: 500000 + } + cpp_entry { + key: "6N" + value: 100000 + } + cpp_entry { + key: "6R" + value: 2500000 + } + cpp_entry { + key: "6S" + value: 125000 + } + cpp_entry { + key: "6Z" + value: 500000 + } + cpp_entry { + key: "7D" + value: 1000 + } + cpp_entry { + key: "7FT" + value: 100 + } + cpp_entry { + key: "7N" + value: 1000 + } + cpp_entry { + key: "7P" + value: 1000 + } + cpp_entry { + key: "7S" + value: 1000 + } + cpp_entry { + key: "7U" + value: 42000 + } + cpp_entry { + key: "7V" + value: 1000 + } + cpp_entry { + key: "7X" + value: 1000 + } + cpp_entry { + key: "88" + value: 1000 + } + cpp_entry { + key: "8D" + value: 1000 + } + cpp_entry { + key: "8W" + value: 1000 + } + cpp_entry { + key: "8XN" + value: 2500 + } + cpp_entry { + key: "8ZN" + value: 2500 + } + cpp_entry { + key: "9FN" + value: 2500 + } + cpp_entry { + key: "9Q" + value: 1000 + } + cpp_entry { + key: "A0D" + value: 100 + } + cpp_entry { + key: "A0F" + value: 100 + } + cpp_entry { + key: "A1D" + value: 42000 + } + cpp_entry { + key: "A1G" + value: 42000 + } + cpp_entry { + key: "A1L" + value: 42000 + } + cpp_entry { + key: "A1M" + value: 42000 + } + cpp_entry { + key: "A1P" + value: 1000 + } + cpp_entry { + key: "A1Q" + value: 42000 + } + cpp_entry { + key: "A1R" + value: 42000 + } + cpp_entry { + key: "A1U" + value: 42000 + } + cpp_entry { + key: "A1V" + value: 1000 + } + cpp_entry { + key: "A1W" + value: 1000 + } + cpp_entry { + key: "A1X" + value: 1000 + } + cpp_entry { + key: "A32" + value: 1000 + } + cpp_entry { + key: "A33" + value: 1000 + } + cpp_entry { + key: "A38" + value: 44092 + } + cpp_entry { + key: "A3C" + value: 42000 + } + cpp_entry { + key: "A3G" + value: 1000 + } + cpp_entry { + key: "A3M" + value: 42000 + } + cpp_entry { + key: "A3N" + value: 42000 + } + cpp_entry { + key: "A3Q" + value: 42000 + } + cpp_entry { + key: "A3R" + value: 42000 + } + cpp_entry { + key: "A42" + value: 1000 + } + cpp_entry { + key: "A43" + value: 1000 + } + cpp_entry { + key: "A46" + value: 5 + } + cpp_entry { + key: "A47" + value: 80 + } + cpp_entry { + key: "A49" + value: 80 + } + cpp_entry { + key: "A4L" + value: 80 + } + cpp_entry { + key: "A4M" + value: 5 + } + cpp_entry { + key: "A4N" + value: 80 + } + cpp_entry { + key: "A4P" + value: 5 + } + cpp_entry { + key: "A4Q" + value: 80 + } + cpp_entry { + key: "A4R" + value: 5 + } + cpp_entry { + key: "A50" + value: 5 + } + cpp_entry { + key: "A55" + value: 80 + } + cpp_entry { + key: "A58" + value: 5 + } + cpp_entry { + key: "A59" + value: 1000 + } + cpp_entry { + key: "A5C" + value: 42000 + } + cpp_entry { + key: "A5U" + value: 42000 + } + cpp_entry { + key: "A6L" + value: 1000 + } + cpp_entry { + key: "A6V" + value: 1000 + } + cpp_entry { + key: "A6W" + value: 1000 + } + cpp_entry { + key: "A6X" + value: 1000 + } + cpp_entry { + key: "A7E" + value: 1000 + } + cpp_entry { + key: "A7G" + value: 1000 + } + cpp_entry { + key: "A7I" + value: 1000 + } + cpp_entry { + key: "A7L" + value: 1000 + } + cpp_entry { + key: "A7Q" + value: 42000 + } + cpp_entry { + key: "A7Y" + value: 42000 + } + cpp_entry { + key: "A81" + value: 4200 + } + cpp_entry { + key: "A8C" + value: 42000 + } + cpp_entry { + key: "A8G" + value: 1000 + } + cpp_entry { + key: "A8I" + value: 42000 + } + cpp_entry { + key: "A8J" + value: 42000 + } + cpp_entry { + key: "A8K" + value: 42000 + } + cpp_entry { + key: "A8L" + value: 42000 + } + cpp_entry { + key: "A8M" + value: 42000 + } + cpp_entry { + key: "A8N" + value: 1000 + } + cpp_entry { + key: "A8O" + value: 42000 + } + cpp_entry { + key: "A91" + value: 1000 + } + cpp_entry { + key: "A9N" + value: 1000 + } + cpp_entry { + key: "AA3" + value: 5 + } + cpp_entry { + key: "AA4" + value: 1000 + } + cpp_entry { + key: "AA5" + value: 42000 + } + cpp_entry { + key: "AA6" + value: 42000 + } + cpp_entry { + key: "AA7" + value: 42000 + } + cpp_entry { + key: "AA8" + value: 42000 + } + cpp_entry { + key: "AA9" + value: 42000 + } + cpp_entry { + key: "AAW" + value: 42000 + } + cpp_entry { + key: "AB3" + value: 80 + } + cpp_entry { + key: "AB7" + value: 1000 + } + cpp_entry { + key: "ABH" + value: 42000 + } + cpp_entry { + key: "ABI" + value: 1000 + } + cpp_entry { + key: "ABS" + value: 1000 + } + cpp_entry { + key: "ABT" + value: 1000 + } + cpp_entry { + key: "ABX" + value: 1000 + } + cpp_entry { + key: "ABY" + value: 1000 + } + cpp_entry { + key: "AC0" + value: 42000 + } + cpp_entry { + key: "ACD" + value: 200000 + } + cpp_entry { + key: "ACM" + value: 1000 + } + cpp_entry { + key: "ACT" + value: 1000 + } + cpp_entry { + key: "AD0" + value: 42000 + } + cpp_entry { + key: "AD5" + value: 80 + } + cpp_entry { + key: "AD6" + value: 5 + } + cpp_entry { + key: "AD8" + value: 80 + } + cpp_entry { + key: "AD9" + value: 5 + } + cpp_entry { + key: "ADB" + value: 1000 + } + cpp_entry { + key: "AE3" + value: 80 + } + cpp_entry { + key: "AE5" + value: 1000 + } + cpp_entry { + key: "AE8" + value: 5 + } + cpp_entry { + key: "AE9" + value: 80 + } + cpp_entry { + key: "AEJ" + value: 960 + } + cpp_entry { + key: "AEP" + value: 25 + } + cpp_entry { + key: "AET" + value: 1000 + } + cpp_entry { + key: "AEZ" + value: 42000 + } + cpp_entry { + key: "AF" + value: 42000 + } + cpp_entry { + key: "AF2" + value: 5 + } + cpp_entry { + key: "AF4" + value: 5 + } + cpp_entry { + key: "AF5" + value: 5 + } + cpp_entry { + key: "AFE" + value: 1000 + } + cpp_entry { + key: "AFF" + value: 1000 + } + cpp_entry { + key: "AFH" + value: 1000 + } + cpp_entry { + key: "AFI" + value: 1000 + } + cpp_entry { + key: "AFK" + value: 1000 + } + cpp_entry { + key: "AFY" + value: 1000 + } + cpp_entry { + key: "AGA" + value: 1000 + } + cpp_entry { + key: "AGE" + value: 42000 + } + cpp_entry { + key: "AGP" + value: 42000 + } + cpp_entry { + key: "AGT" + value: 1000 + } + cpp_entry { + key: "AGX" + value: 1000 + } + cpp_entry { + key: "AH1" + value: 1000 + } + cpp_entry { + key: "AH3" + value: 80 + } + cpp_entry { + key: "AHJ" + value: 5 + } + cpp_entry { + key: "AHL" + value: 1000 + } + cpp_entry { + key: "AHM" + value: 80 + } + cpp_entry { + key: "AI1" + value: 80 + } + cpp_entry { + key: "AI2" + value: 5 + } + cpp_entry { + key: "AI3" + value: 80 + } + cpp_entry { + key: "AI4" + value: 5 + } + cpp_entry { + key: "AI5" + value: 80 + } + cpp_entry { + key: "AI6" + value: 5 + } + cpp_entry { + key: "AI7" + value: 80 + } + cpp_entry { + key: "AI9" + value: 80 + } + cpp_entry { + key: "AJ" + value: 42000 + } + cpp_entry { + key: "AJ1" + value: 5 + } + cpp_entry { + key: "AJ2" + value: 80 + } + cpp_entry { + key: "AJ9" + value: 1000 + } + cpp_entry { + key: "AJB" + value: 1000 + } + cpp_entry { + key: "AJJ" + value: 5 + } + cpp_entry { + key: "AJL" + value: 42000 + } + cpp_entry { + key: "AJP" + value: 960 + } + cpp_entry { + key: "AJR" + value: 1000 + } + cpp_entry { + key: "AJS" + value: 42000 + } + cpp_entry { + key: "AJU" + value: 42000 + } + cpp_entry { + key: "AJY" + value: 200000 + } + cpp_entry { + key: "AK1" + value: 80 + } + cpp_entry { + key: "AKL" + value: 42000 + } + cpp_entry { + key: "AKR" + value: 1000 + } + cpp_entry { + key: "AKS" + value: 1000 + } + cpp_entry { + key: "AKX" + value: 1000 + } + cpp_entry { + key: "AKZ" + value: 1000 + } + cpp_entry { + key: "AL1" + value: 80 + } + cpp_entry { + key: "AL5" + value: 80 + } + cpp_entry { + key: "AL6" + value: 80 + } + cpp_entry { + key: "AL8" + value: 80 + } + cpp_entry { + key: "AL9" + value: 5 + } + cpp_entry { + key: "ALA" + value: 100 + } + cpp_entry { + key: "ALB" + value: 100 + } + cpp_entry { + key: "ALI" + value: 25 + } + cpp_entry { + key: "ALM" + value: 80 + } + cpp_entry { + key: "ALW" + value: 1000 + } + cpp_entry { + key: "ALX" + value: 42000 + } + cpp_entry { + key: "ALY" + value: 42000 + } + cpp_entry { + key: "AM1" + value: 5 + } + cpp_entry { + key: "AML" + value: 1000 + } + cpp_entry { + key: "AN1" + value: 80 + } + cpp_entry { + key: "ANC" + value: 1000 + } + cpp_entry { + key: "ANE" + value: 200000 + } + cpp_entry { + key: "ANL" + value: 80 + } + cpp_entry { + key: "ANT" + value: 1000 + } + cpp_entry { + key: "AO1" + value: 5 + } + cpp_entry { + key: "AOB" + value: 1000 + } + cpp_entry { + key: "AOH" + value: 80 + } + cpp_entry { + key: "AOJ" + value: 5 + } + cpp_entry { + key: "AOL" + value: 5 + } + cpp_entry { + key: "AP1" + value: 5 + } + cpp_entry { + key: "AP2" + value: 80 + } + cpp_entry { + key: "AP3" + value: 5 + } + cpp_entry { + key: "AP4" + value: 80 + } + cpp_entry { + key: "AP5" + value: 5 + } + cpp_entry { + key: "AP7" + value: 80 + } + cpp_entry { + key: "AP8" + value: 5 + } + cpp_entry { + key: "AP9" + value: 80 + } + cpp_entry { + key: "APA" + value: 80 + } + cpp_entry { + key: "APS" + value: 1000 + } + cpp_entry { + key: "AQ5" + value: 80 + } + cpp_entry { + key: "AQ8" + value: 5 + } + cpp_entry { + key: "AQA" + value: 100 + } + cpp_entry { + key: "AQK" + value: 1 + } + cpp_entry { + key: "AR0" + value: 42000 + } + cpp_entry { + key: "AR1" + value: 80 + } + cpp_entry { + key: "AR3" + value: 5 + } + cpp_entry { + key: "AR4" + value: 5 + } + cpp_entry { + key: "AR6" + value: 80 + } + cpp_entry { + key: "AR8" + value: 80 + } + cpp_entry { + key: "ARE" + value: 1000 + } + cpp_entry { + key: "ARI" + value: 42000 + } + cpp_entry { + key: "ARY" + value: 42000 + } + cpp_entry { + key: "AS4" + value: 80 + } + cpp_entry { + key: "ASD" + value: 1000 + } + cpp_entry { + key: "ASP" + value: 1000 + } + cpp_entry { + key: "AT0" + value: 100 + } + cpp_entry { + key: "ATP" + value: 1000 + } + cpp_entry { + key: "ATU" + value: 1000 + } + cpp_entry { + key: "ATY" + value: 1000 + } + cpp_entry { + key: "AU2" + value: 80 + } + cpp_entry { + key: "AU3" + value: 5 + } + cpp_entry { + key: "AU4" + value: 80 + } + cpp_entry { + key: "AU5" + value: 5 + } + cpp_entry { + key: "AU6" + value: 80 + } + cpp_entry { + key: "AUB" + value: 1000 + } + cpp_entry { + key: "AUDJYC" + value: 1 + } + cpp_entry { + key: "AUDUSC" + value: 1 + } + cpp_entry { + key: "AUDUSD" + value: 1 + } + cpp_entry { + key: "AUDUSN" + value: 1 + } + cpp_entry { + key: "AUF" + value: 1000 + } + cpp_entry { + key: "AUH" + value: 1000 + } + cpp_entry { + key: "AUI" + value: 1000 + } + cpp_entry { + key: "AUJ" + value: 1000 + } + cpp_entry { + key: "AUP" + value: 55116 + } + cpp_entry { + key: "AUS" + value: 42000 + } + cpp_entry { + key: "AUT" + value: 42000 + } + cpp_entry { + key: "AUW" + value: 50 + } + cpp_entry { + key: "AUY" + value: 42000 + } + cpp_entry { + key: "AUZ" + value: 42000 + } + cpp_entry { + key: "AV0" + value: 1000 + } + cpp_entry { + key: "AVK" + value: 1000 + } + cpp_entry { + key: "AVL" + value: 1000 + } + cpp_entry { + key: "AVU" + value: 1000 + } + cpp_entry { + key: "AVZ" + value: 1000 + } + cpp_entry { + key: "AW" + value: 100 + } + cpp_entry { + key: "AW2" + value: 5 + } + cpp_entry { + key: "AW4" + value: 5 + } + cpp_entry { + key: "AW6" + value: 5 + } + cpp_entry { + key: "AWJ" + value: 1000 + } + cpp_entry { + key: "AWQ" + value: 1000 + } + cpp_entry { + key: "AX1" + value: 5 + } + cpp_entry { + key: "AXA" + value: 1000 + } + cpp_entry { + key: "AXB" + value: 1000 + } + cpp_entry { + key: "AY" + value: 1000 + } + cpp_entry { + key: "AY1" + value: 80 + } + cpp_entry { + key: "AY3" + value: 1000 + } + cpp_entry { + key: "AY4" + value: 1000 + } + cpp_entry { + key: "AYH" + value: 42000 + } + cpp_entry { + key: "AYV" + value: 1000 + } + cpp_entry { + key: "AYX" + value: 1000 + } + cpp_entry { + key: "AZ0" + value: 1000 + } + cpp_entry { + key: "AZ1" + value: 100 + } + cpp_entry { + key: "AZ5" + value: 1000 + } + cpp_entry { + key: "AZ7" + value: 1000 + } + cpp_entry { + key: "AZ9" + value: 80 + } + cpp_entry { + key: "B0" + value: 42000 + } + cpp_entry { + key: "B1" + value: 1000 + } + cpp_entry { + key: "B1U" + value: 1000 + } + cpp_entry { + key: "B2K" + value: 5 + } + cpp_entry { + key: "B6L" + value: 5 + } + cpp_entry { + key: "B7H" + value: 1000 + } + cpp_entry { + key: "B8" + value: 1000 + } + cpp_entry { + key: "BB" + value: 1000 + } + cpp_entry { + key: "BBT" + value: 1000 + } + cpp_entry { + key: "BBV" + value: 1 + } + cpp_entry { + key: "BCF" + value: 50 + } + cpp_entry { + key: "BCH" + value: 50 + } + cpp_entry { + key: "BDB" + value: 1000 + } + cpp_entry { + key: "BDI" + value: 100 + } + cpp_entry { + key: "BDS" + value: 1000 + } + cpp_entry { + key: "BFR" + value: 100 + } + cpp_entry { + key: "BG" + value: 1000 + } + cpp_entry { + key: "BIO" + value: 50 + } + cpp_entry { + key: "BIT" + value: 50 + } + cpp_entry { + key: "BK" + value: 1000 + } + cpp_entry { + key: "BOO" + value: 6350 + } + cpp_entry { + key: "BOS" + value: 250 + } + cpp_entry { + key: "BR7" + value: 1000 + } + cpp_entry { + key: "BSW" + value: 136 + } + cpp_entry { + key: "BTC" + value: 5 + } + cpp_entry { + key: "BTT" + value: 50 + } + cpp_entry { + key: "BU2" + value: 20000 + } + cpp_entry { + key: "BU3" + value: 30000 + } + cpp_entry { + key: "BU5" + value: 50000 + } + cpp_entry { + key: "BUC" + value: 42000 + } + cpp_entry { + key: "BUS" + value: 20 + } + cpp_entry { + key: "BUW" + value: 20 + } + cpp_entry { + key: "BWF" + value: 50 + } + cpp_entry { + key: "BWH" + value: 50 + } + cpp_entry { + key: "BZ" + value: 1000 + } + cpp_entry { + key: "BZ1" + value: 1000 + } + cpp_entry { + key: "BZ2" + value: 1000 + } + cpp_entry { + key: "BZL" + value: 1000 + } + cpp_entry { + key: "BZS" + value: 1000 + } + cpp_entry { + key: "BZT" + value: 1000 + } + cpp_entry { + key: "C2E" + value: 5 + } + cpp_entry { + key: "C3D" + value: 42000 + } + cpp_entry { + key: "C4D" + value: 42000 + } + cpp_entry { + key: "C4Z" + value: 5 + } + cpp_entry { + key: "C5D" + value: 42000 + } + cpp_entry { + key: "C6C" + value: 1000 + } + cpp_entry { + key: "C7C" + value: 1000 + } + cpp_entry { + key: "C8C" + value: 1000 + } + cpp_entry { + key: "C9C" + value: 1000 + } + cpp_entry { + key: "CADJYC" + value: 1 + } + cpp_entry { + key: "CB" + value: 200 + } + cpp_entry { + key: "CBA" + value: 42000 + } + cpp_entry { + key: "CBB" + value: 42000 + } + cpp_entry { + key: "CBC" + value: 1000 + } + cpp_entry { + key: "CBO" + value: 42000 + } + cpp_entry { + key: "CC0" + value: 1000 + } + cpp_entry { + key: "CC5" + value: 1000 + } + cpp_entry { + key: "CCM" + value: 1000 + } + cpp_entry { + key: "CF" + value: 1000 + } + cpp_entry { + key: "CFB" + value: 1000 + } + cpp_entry { + key: "CFC" + value: 1000 + } + cpp_entry { + key: "CGB" + value: 42000 + } + cpp_entry { + key: "CHB" + value: 1000 + } + cpp_entry { + key: "CHI" + value: 250 + } + cpp_entry { + key: "CHL" + value: 100000 + } + cpp_entry { + key: "CHP" + value: 50000000 + } + cpp_entry { + key: "CIL" + value: 1000 + } + cpp_entry { + key: "CIN" + value: 2500 + } + cpp_entry { + key: "CJ" + value: 10 + } + cpp_entry { + key: "CJY" + value: 200000 + } + cpp_entry { + key: "CK" + value: 1000 + } + cpp_entry { + key: "CKW" + value: 5000 + } + cpp_entry { + key: "CL" + value: 1000 + } + cpp_entry { + key: "CL1" + value: 1000 + } + cpp_entry { + key: "CL2" + value: 1000 + } + cpp_entry { + key: "CLL" + value: 1000 + } + cpp_entry { + key: "CLS" + value: 1000 + } + cpp_entry { + key: "CLT" + value: 1000 + } + cpp_entry { + key: "CMF" + value: 1000 + } + cpp_entry { + key: "CNH" + value: 100000 + } + cpp_entry { + key: "COL" + value: 80 + } + cpp_entry { + key: "CPB" + value: 42000 + } + cpp_entry { + key: "CPC" + value: 25 + } + cpp_entry { + key: "CPD" + value: 1000 + } + cpp_entry { + key: "CPO" + value: 25 + } + cpp_entry { + key: "CPP" + value: 42000 + } + cpp_entry { + key: "CRB" + value: 42000 + } + cpp_entry { + key: "CRG" + value: 42000 + } + cpp_entry { + key: "CSC" + value: 20000 + } + cpp_entry { + key: "CSN" + value: 1000 + } + cpp_entry { + key: "CSW" + value: 1000 + } + cpp_entry { + key: "CSX" + value: 1000 + } + cpp_entry { + key: "CTB" + value: 25 + } + cpp_entry { + key: "CTM" + value: 25 + } + cpp_entry { + key: "CTR" + value: 25 + } + cpp_entry { + key: "CU" + value: 42000 + } + cpp_entry { + key: "CUP" + value: 25 + } + cpp_entry { + key: "CUS" + value: 250 + } + cpp_entry { + key: "CY" + value: 1000 + } + cpp_entry { + key: "CZK" + value: 4000000 + } + cpp_entry { + key: "CZN" + value: 2500 + } + cpp_entry { + key: "D0" + value: 20 + } + cpp_entry { + key: "D0X" + value: 20 + } + cpp_entry { + key: "D0Z" + value: 20 + } + cpp_entry { + key: "D1N" + value: 1000 + } + cpp_entry { + key: "D2" + value: 20 + } + cpp_entry { + key: "D2L" + value: 5 + } + cpp_entry { + key: "D2X" + value: 20 + } + cpp_entry { + key: "D2Z" + value: 20 + } + cpp_entry { + key: "D3L" + value: 80 + } + cpp_entry { + key: "D4L" + value: 5 + } + cpp_entry { + key: "D7L" + value: 80 + } + cpp_entry { + key: "DAX" + value: 5 + } + cpp_entry { + key: "DAZ" + value: 80 + } + cpp_entry { + key: "DBB" + value: 1000 + } + cpp_entry { + key: "DBI" + value: 1000 + } + cpp_entry { + key: "DBL" + value: 100 + } + cpp_entry { + key: "DBT" + value: 100 + } + cpp_entry { + key: "DC" + value: 2000 + } + cpp_entry { + key: "DCB" + value: 1000 + } + cpp_entry { + key: "DCD" + value: 1000 + } + cpp_entry { + key: "DCL" + value: 1000 + } + cpp_entry { + key: "DCW" + value: 1000 + } + cpp_entry { + key: "DDA" + value: 1000 + } + cpp_entry { + key: "DDB" + value: 1000 + } + cpp_entry { + key: "DDE" + value: 1000 + } + cpp_entry { + key: "DDI" + value: 1000 + } + cpp_entry { + key: "DDO" + value: 1000 + } + cpp_entry { + key: "DEB" + value: 744 + } + cpp_entry { + key: "DEN" + value: 250 + } + cpp_entry { + key: "DEP" + value: 264 + } + cpp_entry { + key: "DES" + value: 1000 + } + cpp_entry { + key: "DFL" + value: 100 + } + cpp_entry { + key: "DFT" + value: 100 + } + cpp_entry { + key: "DG2" + value: 100 + } + cpp_entry { + key: "DG3" + value: 100 + } + cpp_entry { + key: "DGS" + value: 100 + } + cpp_entry { + key: "DHA" + value: 80 + } + cpp_entry { + key: "DHE" + value: 1000 + } + cpp_entry { + key: "DHI" + value: 1000 + } + cpp_entry { + key: "DIH" + value: 2500 + } + cpp_entry { + key: "DJR" + value: 100 + } + cpp_entry { + key: "DKR" + value: 1000 + } + cpp_entry { + key: "DRS" + value: 100 + } + cpp_entry { + key: "DSD" + value: 1000 + } + cpp_entry { + key: "DSE" + value: 1000 + } + cpp_entry { + key: "DSI" + value: 1000 + } + cpp_entry { + key: "DSM" + value: 1000 + } + cpp_entry { + key: "DUP" + value: 1000 + } + cpp_entry { + key: "DVE" + value: 200 + } + cpp_entry { + key: "DVT" + value: 200 + } + cpp_entry { + key: "DY" + value: 440 + } + cpp_entry { + key: "E1U" + value: 1000 + } + cpp_entry { + key: "E4L" + value: 5 + } + cpp_entry { + key: "E6" + value: 1000 + } + cpp_entry { + key: "E6M" + value: 100 + } + cpp_entry { + key: "E7" + value: 62500 + } + cpp_entry { + key: "E9X" + value: 80 + } + cpp_entry { + key: "EAA" + value: 5 + } + cpp_entry { + key: "EAB" + value: 5 + } + cpp_entry { + key: "EAC" + value: 80 + } + cpp_entry { + key: "EAD" + value: 125000 + } + cpp_entry { + key: "EAE" + value: 5 + } + cpp_entry { + key: "EAF" + value: 1000 + } + cpp_entry { + key: "EAW" + value: 80 + } + cpp_entry { + key: "EB" + value: 2500 + } + cpp_entry { + key: "EBE" + value: 1000 + } + cpp_entry { + key: "ECD" + value: 125000 + } + cpp_entry { + key: "ECK" + value: 4000000 + } + cpp_entry { + key: "EDP" + value: 25 + } + cpp_entry { + key: "EFF" + value: 1000 + } + cpp_entry { + key: "EFM" + value: 1000 + } + cpp_entry { + key: "EGB" + value: 1000 + } + cpp_entry { + key: "EGN" + value: 1000 + } + cpp_entry { + key: "EH" + value: 29000 + } + cpp_entry { + key: "EHF" + value: 30000000 + } + cpp_entry { + key: "EI" + value: 100 + } + cpp_entry { + key: "EIT" + value: 100 + } + cpp_entry { + key: "EJL" + value: 5 + } + cpp_entry { + key: "EL1" + value: 1000 + } + cpp_entry { + key: "EMC" + value: 0.1 + } + cpp_entry { + key: "EMD" + value: 100 + } + cpp_entry { + key: "EMT" + value: 100 + } + cpp_entry { + key: "EMW" + value: 100 + } + cpp_entry { + key: "EN" + value: 1000 + } + cpp_entry { + key: "ENK" + value: 125000 + } + cpp_entry { + key: "ENP" + value: 5 + } + cpp_entry { + key: "ENS" + value: 1000 + } + cpp_entry { + key: "ENY" + value: 100 + } + cpp_entry { + key: "EO1" + value: 1000 + } + cpp_entry { + key: "EOB" + value: 8330 + } + cpp_entry { + key: "EP1" + value: 1000 + } + cpp_entry { + key: "EPN" + value: 1000 + } + cpp_entry { + key: "EPZ" + value: 500000 + } + cpp_entry { + key: "ERL" + value: 5 + } + cpp_entry { + key: "ES" + value: 50 + } + cpp_entry { + key: "ESB" + value: 1000 + } + cpp_entry { + key: "ESK" + value: 125000 + } + cpp_entry { + key: "ESQ" + value: 50 + } + cpp_entry { + key: "ESS" + value: 7450 + } + cpp_entry { + key: "EST" + value: 50 + } + cpp_entry { + key: "ETT" + value: 100 + } + cpp_entry { + key: "EUB" + value: 80 + } + cpp_entry { + key: "EUL" + value: 1000 + } + cpp_entry { + key: "EURADC" + value: 1 + } + cpp_entry { + key: "EURBPC" + value: 1 + } + cpp_entry { + key: "EURBPN" + value: 1 + } + cpp_entry { + key: "EURJYC" + value: 1 + } + cpp_entry { + key: "EURSFC" + value: 1 + } + cpp_entry { + key: "EURUSC" + value: 1 + } + cpp_entry { + key: "EURUSD" + value: 1 + } + cpp_entry { + key: "EURUSN" + value: 1 + } + cpp_entry { + key: "EVC" + value: 1000 + } + cpp_entry { + key: "EWB" + value: 1000 + } + cpp_entry { + key: "EWG" + value: 1000 + } + cpp_entry { + key: "EWN" + value: 1000 + } + cpp_entry { + key: "EXR" + value: 350000 + } + cpp_entry { + key: "F1E" + value: 1000 + } + cpp_entry { + key: "F1U" + value: 1000 + } + cpp_entry { + key: "F3" + value: 1000 + } + cpp_entry { + key: "FAL" + value: 5 + } + cpp_entry { + key: "FBD" + value: 100 + } + cpp_entry { + key: "FBT" + value: 100 + } + cpp_entry { + key: "FCB" + value: 1000 + } + cpp_entry { + key: "FCN" + value: 100 + } + cpp_entry { + key: "FEF" + value: 5 + } + cpp_entry { + key: "FEW" + value: 1000 + } + cpp_entry { + key: "FL" + value: 1000 + } + cpp_entry { + key: "FLB" + value: 1000 + } + cpp_entry { + key: "FLP" + value: 1000 + } + cpp_entry { + key: "FO" + value: 1000 + } + cpp_entry { + key: "FOA" + value: 1000 + } + cpp_entry { + key: "FOC" + value: 1000 + } + cpp_entry { + key: "FOM" + value: 1000 + } + cpp_entry { + key: "FOR" + value: 100 + } + cpp_entry { + key: "FRC" + value: 1000 + } + cpp_entry { + key: "FRS" + value: 1000 + } + cpp_entry { + key: "FSF" + value: 10 + } + cpp_entry { + key: "FSS" + value: 1000 + } + cpp_entry { + key: "FT1" + value: 10 + } + cpp_entry { + key: "FT5" + value: 2 + } + cpp_entry { + key: "FTB" + value: 50 + } + cpp_entry { + key: "FTC" + value: 2 + } + cpp_entry { + key: "FTL" + value: 5 + } + cpp_entry { + key: "FTT" + value: 10 + } + cpp_entry { + key: "FTU" + value: 50 + } + cpp_entry { + key: "FVB" + value: 6350 + } + cpp_entry { + key: "FXBP" + value: 1 + } + cpp_entry { + key: "FZE" + value: 14500 + } + cpp_entry { + key: "G0" + value: 20 + } + cpp_entry { + key: "G0K" + value: 20 + } + cpp_entry { + key: "G0N" + value: 20 + } + cpp_entry { + key: "G2" + value: 20 + } + cpp_entry { + key: "G2K" + value: 20 + } + cpp_entry { + key: "G2N" + value: 20 + } + cpp_entry { + key: "GB" + value: 1 + } + cpp_entry { + key: "GBA" + value: 42000 + } + cpp_entry { + key: "GBB" + value: 42000 + } + cpp_entry { + key: "GBC" + value: 1 + } + cpp_entry { + key: "GBPUSC" + value: 1 + } + cpp_entry { + key: "GBPUSD" + value: 1 + } + cpp_entry { + key: "GBPUSN" + value: 1 + } + cpp_entry { + key: "GBR" + value: 100 + } + cpp_entry { + key: "GC" + value: 100 + } + cpp_entry { + key: "GC7" + value: 100 + } + cpp_entry { + key: "GCB" + value: 1000 + } + cpp_entry { + key: "GCC" + value: 1000 + } + cpp_entry { + key: "GCD" + value: 100 + } + cpp_entry { + key: "GCG" + value: 1000 + } + cpp_entry { + key: "GCI" + value: 1000 + } + cpp_entry { + key: "GCK" + value: 32.15 + } + cpp_entry { + key: "GCM" + value: 42000 + } + cpp_entry { + key: "GCT" + value: 100 + } + cpp_entry { + key: "GCU" + value: 1000 + } + cpp_entry { + key: "GD" + value: 250 + } + cpp_entry { + key: "GDH" + value: 1000 + } + cpp_entry { + key: "GDK" + value: 2000 + } + cpp_entry { + key: "GDL" + value: 1000 + } + cpp_entry { + key: "GE" + value: 2500 + } + cpp_entry { + key: "GF" + value: 500 + } + cpp_entry { + key: "GFC" + value: 1000 + } + cpp_entry { + key: "GFT" + value: 500 + } + cpp_entry { + key: "GHB" + value: 1000 + } + cpp_entry { + key: "GHS" + value: 1000 + } + cpp_entry { + key: "GIE" + value: 100 + } + cpp_entry { + key: "GKS" + value: 1000 + } + cpp_entry { + key: "GLB" + value: 2500 + } + cpp_entry { + key: "GLI" + value: 100 + } + cpp_entry { + key: "GNF" + value: 440 + } + cpp_entry { + key: "GNL" + value: 80 + } + cpp_entry { + key: "GOC" + value: 7450 + } + cpp_entry { + key: "GPS" + value: 100 + } + cpp_entry { + key: "GSI" + value: 42000 + } + cpp_entry { + key: "GSP" + value: 100 + } + cpp_entry { + key: "GSR" + value: 500 + } + cpp_entry { + key: "GSW" + value: 1000 + } + cpp_entry { + key: "GUD" + value: 42000 + } + cpp_entry { + key: "GY" + value: 1000 + } + cpp_entry { + key: "GZ" + value: 1000 + } + cpp_entry { + key: "H0" + value: 20 + } + cpp_entry { + key: "H0X" + value: 20 + } + cpp_entry { + key: "H0Z" + value: 20 + } + cpp_entry { + key: "H1" + value: 20 + } + cpp_entry { + key: "H1X" + value: 20 + } + cpp_entry { + key: "H1Z" + value: 20 + } + cpp_entry { + key: "H2" + value: 20 + } + cpp_entry { + key: "H2L" + value: 5 + } + cpp_entry { + key: "H2X" + value: 20 + } + cpp_entry { + key: "H2Z" + value: 20 + } + cpp_entry { + key: "H3" + value: 20 + } + cpp_entry { + key: "H3X" + value: 20 + } + cpp_entry { + key: "H3Z" + value: 20 + } + cpp_entry { + key: "H4" + value: 20 + } + cpp_entry { + key: "H4X" + value: 20 + } + cpp_entry { + key: "H4Z" + value: 20 + } + cpp_entry { + key: "H5" + value: 20 + } + cpp_entry { + key: "H5L" + value: 80 + } + cpp_entry { + key: "H5X" + value: 20 + } + cpp_entry { + key: "H5Z" + value: 20 + } + cpp_entry { + key: "HB" + value: 2500 + } + cpp_entry { + key: "HE" + value: 400 + } + cpp_entry { + key: "HET" + value: 400 + } + cpp_entry { + key: "HG" + value: 25000 + } + cpp_entry { + key: "HG0" + value: 25000 + } + cpp_entry { + key: "HGS" + value: 25000 + } + cpp_entry { + key: "HGT" + value: 25000 + } + cpp_entry { + key: "HH" + value: 10000 + } + cpp_entry { + key: "HHE" + value: 10000 + } + cpp_entry { + key: "HHT" + value: 10000 + } + cpp_entry { + key: "HIA" + value: 1000 + } + cpp_entry { + key: "HIB" + value: 1000 + } + cpp_entry { + key: "HIL" + value: 1000 + } + cpp_entry { + key: "HJC" + value: 1000 + } + cpp_entry { + key: "HO" + value: 42000 + } + cpp_entry { + key: "HO2" + value: 42000 + } + cpp_entry { + key: "HO4" + value: 42000 + } + cpp_entry { + key: "HOA" + value: 5 + } + cpp_entry { + key: "HOB" + value: 1000 + } + cpp_entry { + key: "HOL" + value: 42000 + } + cpp_entry { + key: "HOS" + value: 42000 + } + cpp_entry { + key: "HOT" + value: 42000 + } + cpp_entry { + key: "HP" + value: 10000 + } + cpp_entry { + key: "HPD" + value: 47000 + } + cpp_entry { + key: "HPE" + value: 47000 + } + cpp_entry { + key: "HQ" + value: 20 + } + cpp_entry { + key: "HQX" + value: 20 + } + cpp_entry { + key: "HQZ" + value: 20 + } + cpp_entry { + key: "HRC" + value: 20 + } + cpp_entry { + key: "HS" + value: 20 + } + cpp_entry { + key: "HSX" + value: 20 + } + cpp_entry { + key: "HSZ" + value: 20 + } + cpp_entry { + key: "HTA" + value: 1000 + } + cpp_entry { + key: "HTB" + value: 1000 + } + cpp_entry { + key: "HTT" + value: 1000 + } + cpp_entry { + key: "HUF" + value: 30000000 + } + cpp_entry { + key: "HWA" + value: 80 + } + cpp_entry { + key: "IBB" + value: 1 + } + cpp_entry { + key: "IBE" + value: 1000 + } + cpp_entry { + key: "IBS" + value: 1000 + } + cpp_entry { + key: "IBV" + value: 1 + } + cpp_entry { + key: "IC" + value: 5000 + } + cpp_entry { + key: "ICI" + value: 1000 + } + cpp_entry { + key: "IDL" + value: 5 + } + cpp_entry { + key: "IH" + value: 5000 + } + cpp_entry { + key: "ILB" + value: 1750 + } + cpp_entry { + key: "ILS" + value: 1000000 + } + cpp_entry { + key: "IN" + value: 2500 + } + cpp_entry { + key: "IP" + value: 5000 + } + cpp_entry { + key: "IPO" + value: 10 + } + cpp_entry { + key: "IPT" + value: 10 + } + cpp_entry { + key: "IS" + value: 5000 + } + cpp_entry { + key: "ITB" + value: 744 + } + cpp_entry { + key: "ITP" + value: 264 + } + cpp_entry { + key: "IW" + value: 5000 + } + cpp_entry { + key: "J4L" + value: 80 + } + cpp_entry { + key: "J7" + value: 6250000 + } + cpp_entry { + key: "JA" + value: 1000 + } + cpp_entry { + key: "JDL" + value: 80 + } + cpp_entry { + key: "JE" + value: 42000 + } + cpp_entry { + key: "JET" + value: 42000 + } + cpp_entry { + key: "JFB" + value: 1000 + } + cpp_entry { + key: "JFC" + value: 1000 + } + cpp_entry { + key: "JKM" + value: 10000 + } + cpp_entry { + key: "JML" + value: 560 + } + cpp_entry { + key: "JNC" + value: 1000 + } + cpp_entry { + key: "JNG" + value: 10000 + } + cpp_entry { + key: "JNL" + value: 80 + } + cpp_entry { + key: "JPP" + value: 80 + } + cpp_entry { + key: "JQ" + value: 1000 + } + cpp_entry { + key: "JTB" + value: 42000 + } + cpp_entry { + key: "K0" + value: 20 + } + cpp_entry { + key: "K0K" + value: 20 + } + cpp_entry { + key: "K0N" + value: 20 + } + cpp_entry { + key: "K1" + value: 20 + } + cpp_entry { + key: "K1K" + value: 20 + } + cpp_entry { + key: "K1N" + value: 20 + } + cpp_entry { + key: "K2" + value: 20 + } + cpp_entry { + key: "K2K" + value: 20 + } + cpp_entry { + key: "K2L" + value: 5 + } + cpp_entry { + key: "K2N" + value: 20 + } + cpp_entry { + key: "K3" + value: 20 + } + cpp_entry { + key: "K3K" + value: 20 + } + cpp_entry { + key: "K3L" + value: 80 + } + cpp_entry { + key: "K3N" + value: 20 + } + cpp_entry { + key: "K4" + value: 20 + } + cpp_entry { + key: "K4K" + value: 20 + } + cpp_entry { + key: "K4L" + value: 5 + } + cpp_entry { + key: "K4N" + value: 20 + } + cpp_entry { + key: "K5" + value: 20 + } + cpp_entry { + key: "K5K" + value: 20 + } + cpp_entry { + key: "K5N" + value: 20 + } + cpp_entry { + key: "KE" + value: 5000 + } + cpp_entry { + key: "KET" + value: 5000 + } + cpp_entry { + key: "KQ" + value: 20 + } + cpp_entry { + key: "KQK" + value: 20 + } + cpp_entry { + key: "KQN" + value: 20 + } + cpp_entry { + key: "KRW" + value: 125000000 + } + cpp_entry { + key: "KS" + value: 20 + } + cpp_entry { + key: "KSK" + value: 20 + } + cpp_entry { + key: "KSN" + value: 20 + } + cpp_entry { + key: "KT" + value: 37500 + } + cpp_entry { + key: "L3L" + value: 5 + } + cpp_entry { + key: "LAF" + value: 5 + } + cpp_entry { + key: "LAP" + value: 80 + } + cpp_entry { + key: "LAV" + value: 250 + } + cpp_entry { + key: "LAX" + value: 250 + } + cpp_entry { + key: "LBB" + value: 1000 + } + cpp_entry { + key: "LBS" + value: 110 + } + cpp_entry { + key: "LCF" + value: 100 + } + cpp_entry { + key: "LE" + value: 400 + } + cpp_entry { + key: "LED" + value: 25 + } + cpp_entry { + key: "LEL" + value: 47000 + } + cpp_entry { + key: "LET" + value: 400 + } + cpp_entry { + key: "LHV" + value: 5000 + } + cpp_entry { + key: "LL" + value: 42000 + } + cpp_entry { + key: "LLR" + value: 1000 + } + cpp_entry { + key: "LPE" + value: 47000 + } + cpp_entry { + key: "LPS" + value: 1000 + } + cpp_entry { + key: "LSF" + value: 1 + } + cpp_entry { + key: "LSW" + value: 1000 + } + cpp_entry { + key: "LT" + value: 42000 + } + cpp_entry { + key: "LWB" + value: 1000 + } + cpp_entry { + key: "M5F" + value: 10 + } + cpp_entry { + key: "M6A" + value: 10000 + } + cpp_entry { + key: "M6B" + value: 6250 + } + cpp_entry { + key: "M6E" + value: 12500 + } + cpp_entry { + key: "MAA" + value: 100 + } + cpp_entry { + key: "MAC" + value: 833 + } + cpp_entry { + key: "MAE" + value: 100 + } + cpp_entry { + key: "MAS" + value: 100 + } + cpp_entry { + key: "MB" + value: 1000 + } + cpp_entry { + key: "MBB" + value: 100000 + } + cpp_entry { + key: "MBC" + value: 100 + } + cpp_entry { + key: "MBE" + value: 100000 + } + cpp_entry { + key: "MBL" + value: 42000 + } + cpp_entry { + key: "MBR" + value: 100000 + } + cpp_entry { + key: "MBS" + value: 1000 + } + cpp_entry { + key: "MCC" + value: 1000 + } + cpp_entry { + key: "MCD" + value: 10000 + } + cpp_entry { + key: "MCT" + value: 80 + } + cpp_entry { + key: "MCX" + value: 5000 + } + cpp_entry { + key: "MDB" + value: 100 + } + cpp_entry { + key: "MDD" + value: 5 + } + cpp_entry { + key: "MDL" + value: 80 + } + cpp_entry { + key: "ME" + value: 42000 + } + cpp_entry { + key: "MEB" + value: 100 + } + cpp_entry { + key: "MEE" + value: 100 + } + cpp_entry { + key: "MEL" + value: 840 + } + cpp_entry { + key: "MEO" + value: 100 + } + cpp_entry { + key: "MEW" + value: 100 + } + cpp_entry { + key: "MFB" + value: 1000 + } + cpp_entry { + key: "MFD" + value: 100 + } + cpp_entry { + key: "MFF" + value: 1000 + } + cpp_entry { + key: "MFP" + value: 100 + } + cpp_entry { + key: "MFR" + value: 635 + } + cpp_entry { + key: "MGB" + value: 100 + } + cpp_entry { + key: "MGC" + value: 10 + } + cpp_entry { + key: "MGF" + value: 100 + } + cpp_entry { + key: "MGH" + value: 1000 + } + cpp_entry { + key: "MGN" + value: 100 + } + cpp_entry { + key: "MGO" + value: 100 + } + cpp_entry { + key: "MGS" + value: 100 + } + cpp_entry { + key: "MH" + value: 42000 + } + cpp_entry { + key: "MHE" + value: 100 + } + cpp_entry { + key: "MHS" + value: 100 + } + cpp_entry { + key: "MIA" + value: 250 + } + cpp_entry { + key: "MIP" + value: 80 + } + cpp_entry { + key: "MIR" + value: 100 + } + cpp_entry { + key: "MJB" + value: 100 + } + cpp_entry { + key: "MJC" + value: 100 + } + cpp_entry { + key: "MJN" + value: 100 + } + cpp_entry { + key: "MJP" + value: 25 + } + cpp_entry { + key: "MJY" + value: 1250000 + } + cpp_entry { + key: "MKC" + value: 1000 + } + cpp_entry { + key: "MLD" + value: 80 + } + cpp_entry { + key: "MM" + value: 1000 + } + cpp_entry { + key: "MME" + value: 100 + } + cpp_entry { + key: "MMF" + value: 100 + } + cpp_entry { + key: "MMO" + value: 5 + } + cpp_entry { + key: "MMP" + value: 80 + } + cpp_entry { + key: "MMR" + value: 5 + } + cpp_entry { + key: "MNB" + value: 42000 + } + cpp_entry { + key: "MNC" + value: 100 + } + cpp_entry { + key: "MNE" + value: 100 + } + cpp_entry { + key: "MNG" + value: 2500 + } + cpp_entry { + key: "MNH" + value: 10000 + } + cpp_entry { + key: "MNS" + value: 635 + } + cpp_entry { + key: "MNT" + value: 80 + } + cpp_entry { + key: "MO" + value: 1000 + } + cpp_entry { + key: "MOA" + value: 5 + } + cpp_entry { + key: "MOI" + value: 5 + } + cpp_entry { + key: "MPA" + value: 80 + } + cpp_entry { + key: "MPE" + value: 1000 + } + cpp_entry { + key: "MPP" + value: 80 + } + cpp_entry { + key: "MPS" + value: 100 + } + cpp_entry { + key: "MPX" + value: 42000 + } + cpp_entry { + key: "MQ" + value: 42000 + } + cpp_entry { + key: "MRI" + value: 5 + } + cpp_entry { + key: "MRT" + value: 5 + } + cpp_entry { + key: "MSB" + value: 100 + } + cpp_entry { + key: "MSD" + value: 1000 + } + cpp_entry { + key: "MSE" + value: 100 + } + cpp_entry { + key: "MSF" + value: 12500 + } + cpp_entry { + key: "MSG" + value: 100 + } + cpp_entry { + key: "MT2" + value: 100 + } + cpp_entry { + key: "MTB" + value: 100 + } + cpp_entry { + key: "MTF" + value: 1000 + } + cpp_entry { + key: "MTI" + value: 80 + } + cpp_entry { + key: "MTS" + value: 100 + } + cpp_entry { + key: "MUD" + value: 100 + } + cpp_entry { + key: "MWE" + value: 5000 + } + cpp_entry { + key: "MX" + value: 1000 + } + cpp_entry { + key: "MXB" + value: 35000 + } + cpp_entry { + key: "MXL" + value: 5 + } + cpp_entry { + key: "MXR" + value: 35000 + } + cpp_entry { + key: "N1B" + value: 1000 + } + cpp_entry { + key: "N1E" + value: 1000 + } + cpp_entry { + key: "N1U" + value: 1000 + } + cpp_entry { + key: "N3L" + value: 80 + } + cpp_entry { + key: "N3P" + value: 80 + } + cpp_entry { + key: "N9L" + value: 5 + } + cpp_entry { + key: "NBB" + value: 8900 + } + cpp_entry { + key: "NBD" + value: 10 + } + cpp_entry { + key: "NBP" + value: 10000 + } + cpp_entry { + key: "NCC" + value: 890 + } + cpp_entry { + key: "NCD" + value: 5 + } + cpp_entry { + key: "NCF" + value: 100 + } + cpp_entry { + key: "NCO" + value: 5 + } + cpp_entry { + key: "NCP" + value: 100 + } + cpp_entry { + key: "NEN" + value: 2500 + } + cpp_entry { + key: "NEO" + value: 5 + } + cpp_entry { + key: "NEP" + value: 80 + } + cpp_entry { + key: "NFC" + value: 1000 + } + cpp_entry { + key: "NFD" + value: 80 + } + cpp_entry { + key: "NFG" + value: 1000 + } + cpp_entry { + key: "NFN" + value: 2500 + } + cpp_entry { + key: "NFO" + value: 5 + } + cpp_entry { + key: "NG" + value: 10000 + } + cpp_entry { + key: "NGT" + value: 10000 + } + cpp_entry { + key: "NHH" + value: 5000 + } + cpp_entry { + key: "NHN" + value: 2500 + } + cpp_entry { + key: "NHO" + value: 5 + } + cpp_entry { + key: "NHP" + value: 80 + } + cpp_entry { + key: "NIY" + value: 500 + } + cpp_entry { + key: "NJ" + value: 2500 + } + cpp_entry { + key: "NKD" + value: 5 + } + cpp_entry { + key: "NKN" + value: 2500 + } + cpp_entry { + key: "NL" + value: 2500 + } + cpp_entry { + key: "NLS" + value: 42000 + } + cpp_entry { + key: "NMO" + value: 5 + } + cpp_entry { + key: "NMP" + value: 80 + } + cpp_entry { + key: "NN" + value: 2500 + } + cpp_entry { + key: "NNE" + value: 2500 + } + cpp_entry { + key: "NNP" + value: 80 + } + cpp_entry { + key: "NNT" + value: 2500 + } + cpp_entry { + key: "NOD" + value: 5 + } + cpp_entry { + key: "NOI" + value: 5 + } + cpp_entry { + key: "NOK" + value: 2000000 + } + cpp_entry { + key: "NOO" + value: 8900 + } + cpp_entry { + key: "NPG" + value: 2500 + } + cpp_entry { + key: "NQ" + value: 20 + } + cpp_entry { + key: "NQT" + value: 20 + } + cpp_entry { + key: "NR" + value: 2500 + } + cpp_entry { + key: "NRO" + value: 5 + } + cpp_entry { + key: "NRP" + value: 80 + } + cpp_entry { + key: "NRR" + value: 5000 + } + cpp_entry { + key: "NSO" + value: 5 + } + cpp_entry { + key: "NSP" + value: 80 + } + cpp_entry { + key: "NTP" + value: 80 + } + cpp_entry { + key: "NW" + value: 2500 + } + cpp_entry { + key: "NWO" + value: 5 + } + cpp_entry { + key: "NWP" + value: 80 + } + cpp_entry { + key: "NX" + value: 2500 + } + cpp_entry { + key: "NY" + value: 2500 + } + cpp_entry { + key: "NYA" + value: 42000 + } + cpp_entry { + key: "NYB" + value: 1000 + } + cpp_entry { + key: "NYF" + value: 1000 + } + cpp_entry { + key: "NYG" + value: 1000 + } + cpp_entry { + key: "NYH" + value: 1000 + } + cpp_entry { + key: "NYM" + value: 250 + } + cpp_entry { + key: "NYP" + value: 10000 + } + cpp_entry { + key: "NYR" + value: 42000 + } + cpp_entry { + key: "NYS" + value: 1000 + } + cpp_entry { + key: "NYT" + value: 1000 + } + cpp_entry { + key: "NZDUSC" + value: 1 + } + cpp_entry { + key: "NZN" + value: 2500 + } + cpp_entry { + key: "OAD" + value: 1 + } + cpp_entry { + key: "ODO" + value: 1000 + } + cpp_entry { + key: "OFF" + value: 5 + } + cpp_entry { + key: "OML" + value: 5 + } + cpp_entry { + key: "OMM" + value: 80 + } + cpp_entry { + key: "OOD" + value: 5 + } + cpp_entry { + key: "OPF" + value: 25 + } + cpp_entry { + key: "OPO" + value: 80 + } + cpp_entry { + key: "OPS" + value: 25 + } + cpp_entry { + key: "OQ1" + value: 1000 + } + cpp_entry { + key: "OQB" + value: 1000 + } + cpp_entry { + key: "OQD" + value: 1000 + } + cpp_entry { + key: "OVL" + value: 5 + } + cpp_entry { + key: "PA" + value: 100 + } + cpp_entry { + key: "PAL" + value: 80 + } + cpp_entry { + key: "PBO" + value: 5 + } + cpp_entry { + key: "PBP" + value: 80 + } + cpp_entry { + key: "PCO" + value: 5 + } + cpp_entry { + key: "PCP" + value: 80 + } + cpp_entry { + key: "PD" + value: 2500 + } + cpp_entry { + key: "PDJ" + value: 0.1 + } + cpp_entry { + key: "PDL" + value: 80 + } + cpp_entry { + key: "PE" + value: 2500 + } + cpp_entry { + key: "PEL" + value: 5 + } + cpp_entry { + key: "PEX" + value: 80 + } + cpp_entry { + key: "PF" + value: 2500 + } + cpp_entry { + key: "PFO" + value: 5 + } + cpp_entry { + key: "PFP" + value: 5 + } + cpp_entry { + key: "PGG" + value: 100000 + } + cpp_entry { + key: "PGN" + value: 2500 + } + cpp_entry { + key: "PH" + value: 2500 + } + cpp_entry { + key: "PHF" + value: 5 + } + cpp_entry { + key: "PHO" + value: 5 + } + cpp_entry { + key: "PHP" + value: 80 + } + cpp_entry { + key: "PIO" + value: 500 + } + cpp_entry { + key: "PJY" + value: 125000 + } + cpp_entry { + key: "PKP" + value: 80 + } + cpp_entry { + key: "PL" + value: 50 + } + cpp_entry { + key: "PLN" + value: 500000 + } + cpp_entry { + key: "PLO" + value: 5 + } + cpp_entry { + key: "PLP" + value: 80 + } + cpp_entry { + key: "PLT" + value: 50 + } + cpp_entry { + key: "PM" + value: 2500 + } + cpp_entry { + key: "PMO" + value: 5 + } + cpp_entry { + key: "PMP" + value: 80 + } + cpp_entry { + key: "PNL" + value: 80 + } + cpp_entry { + key: "POC" + value: 5 + } + cpp_entry { + key: "POG" + value: 25 + } + cpp_entry { + key: "POL" + value: 5 + } + cpp_entry { + key: "PPL" + value: 80 + } + cpp_entry { + key: "PPP" + value: 47000 + } + cpp_entry { + key: "PPS" + value: 100 + } + cpp_entry { + key: "PPW" + value: 47000 + } + cpp_entry { + key: "PQO" + value: 5 + } + cpp_entry { + key: "PQP" + value: 80 + } + cpp_entry { + key: "PRO" + value: 5 + } + cpp_entry { + key: "PRP" + value: 80 + } + cpp_entry { + key: "PSF" + value: 125000 + } + cpp_entry { + key: "PSO" + value: 5 + } + cpp_entry { + key: "PSP" + value: 80 + } + cpp_entry { + key: "PTL" + value: 80 + } + cpp_entry { + key: "PTO" + value: 5 + } + cpp_entry { + key: "PUO" + value: 5 + } + cpp_entry { + key: "PUP" + value: 80 + } + cpp_entry { + key: "PVL" + value: 80 + } + cpp_entry { + key: "PVO" + value: 5 + } + cpp_entry { + key: "PVP" + value: 80 + } + cpp_entry { + key: "PW" + value: 2500 + } + cpp_entry { + key: "PWL" + value: 5 + } + cpp_entry { + key: "PXO" + value: 5 + } + cpp_entry { + key: "PXP" + value: 80 + } + cpp_entry { + key: "PYO" + value: 5 + } + cpp_entry { + key: "PYP" + value: 80 + } + cpp_entry { + key: "PZO" + value: 5 + } + cpp_entry { + key: "PZP" + value: 80 + } + cpp_entry { + key: "QC" + value: 12500 + } + cpp_entry { + key: "QCN" + value: 20 + } + cpp_entry { + key: "QG" + value: 2500 + } + cpp_entry { + key: "QH" + value: 21000 + } + cpp_entry { + key: "QI" + value: 2500 + } + cpp_entry { + key: "QM" + value: 500 + } + cpp_entry { + key: "QO" + value: 50 + } + cpp_entry { + key: "QP" + value: 1000 + } + cpp_entry { + key: "QU" + value: 21000 + } + cpp_entry { + key: "QVL" + value: 5 + } + cpp_entry { + key: "QXB" + value: 1000 + } + cpp_entry { + key: "R1T" + value: 50 + } + cpp_entry { + key: "R2G" + value: 50 + } + cpp_entry { + key: "R2V" + value: 50 + } + cpp_entry { + key: "R7L" + value: 5 + } + cpp_entry { + key: "RB" + value: 42000 + } + cpp_entry { + key: "RBB" + value: 1000 + } + cpp_entry { + key: "RBF" + value: 100 + } + cpp_entry { + key: "RBG" + value: 42000 + } + cpp_entry { + key: "RBL" + value: 42000 + } + cpp_entry { + key: "RBS" + value: 42000 + } + cpp_entry { + key: "RBT" + value: 42000 + } + cpp_entry { + key: "RE" + value: 1000 + } + cpp_entry { + key: "REB" + value: 1000 + } + cpp_entry { + key: "REX" + value: 100 + } + cpp_entry { + key: "RF" + value: 125000 + } + cpp_entry { + key: "RGI" + value: 1000 + } + cpp_entry { + key: "RGT" + value: 50 + } + cpp_entry { + key: "RHB" + value: 1000 + } + cpp_entry { + key: "RHS" + value: 1000 + } + cpp_entry { + key: "RKA" + value: 1000 + } + cpp_entry { + key: "RLT" + value: 50 + } + cpp_entry { + key: "RLX" + value: 42000 + } + cpp_entry { + key: "RMB" + value: 1000000 + } + cpp_entry { + key: "RME" + value: 1000000 + } + cpp_entry { + key: "RP" + value: 125000 + } + cpp_entry { + key: "RRE" + value: 100 + } + cpp_entry { + key: "RS1" + value: 50 + } + cpp_entry { + key: "RSG" + value: 50 + } + cpp_entry { + key: "RSV" + value: 50 + } + cpp_entry { + key: "RT" + value: 42000 + } + cpp_entry { + key: "RTY" + value: 50 + } + cpp_entry { + key: "RVR" + value: 42000 + } + cpp_entry { + key: "RVT" + value: 50 + } + cpp_entry { + key: "RX" + value: 100 + } + cpp_entry { + key: "RY" + value: 125000 + } + cpp_entry { + key: "RYA" + value: 42000 + } + cpp_entry { + key: "S1U" + value: 1000 + } + cpp_entry { + key: "SBT" + value: 5000 + } + cpp_entry { + key: "SD" + value: 1000 + } + cpp_entry { + key: "SDA" + value: 250 + } + cpp_entry { + key: "SDD" + value: 1680 + } + cpp_entry { + key: "SDG" + value: 250 + } + cpp_entry { + key: "SDI" + value: 1000 + } + cpp_entry { + key: "SDM" + value: 100 + } + cpp_entry { + key: "SE" + value: 1000 + } + cpp_entry { + key: "SE2" + value: 100 + } + cpp_entry { + key: "SE3" + value: 100 + } + cpp_entry { + key: "SEK" + value: 2000000 + } + cpp_entry { + key: "SES" + value: 100 + } + cpp_entry { + key: "SF1" + value: 6350 + } + cpp_entry { + key: "SF3" + value: 6350 + } + cpp_entry { + key: "SFB" + value: 1000 + } + cpp_entry { + key: "SFR" + value: 250 + } + cpp_entry { + key: "SG" + value: 250 + } + cpp_entry { + key: "SGB" + value: 1000 + } + cpp_entry { + key: "SGE" + value: 42000 + } + cpp_entry { + key: "SGG" + value: 1000 + } + cpp_entry { + key: "SGT" + value: 250 + } + cpp_entry { + key: "SI" + value: 5000 + } + cpp_entry { + key: "SIL" + value: 1000 + } + cpp_entry { + key: "SIR" + value: 500 + } + cpp_entry { + key: "SIT" + value: 5000 + } + cpp_entry { + key: "SJY" + value: 250000 + } + cpp_entry { + key: "SLP" + value: 10 + } + cpp_entry { + key: "SLT" + value: 10 + } + cpp_entry { + key: "SMC" + value: 100 + } + cpp_entry { + key: "SMT" + value: 100 + } + cpp_entry { + key: "SMU" + value: 1000 + } + cpp_entry { + key: "SMW" + value: 100 + } + cpp_entry { + key: "SP" + value: 250 + } + cpp_entry { + key: "SR1" + value: 4167 + } + cpp_entry { + key: "SR3" + value: 2500 + } + cpp_entry { + key: "SRT" + value: 1680 + } + cpp_entry { + key: "SSI" + value: 1000 + } + cpp_entry { + key: "SSP" + value: 5000 + } + cpp_entry { + key: "SSW" + value: 1000 + } + cpp_entry { + key: "STI" + value: 1000 + } + cpp_entry { + key: "STR" + value: 1000 + } + cpp_entry { + key: "STS" + value: 1000 + } + cpp_entry { + key: "STT" + value: 1000 + } + cpp_entry { + key: "STY" + value: 1000 + } + cpp_entry { + key: "SU" + value: 250 + } + cpp_entry { + key: "SUT" + value: 250 + } + cpp_entry { + key: "T02" + value: 800 + } + cpp_entry { + key: "T03" + value: 800 + } + cpp_entry { + key: "T05" + value: 800 + } + cpp_entry { + key: "T06" + value: 800 + } + cpp_entry { + key: "T09" + value: 800 + } + cpp_entry { + key: "T10" + value: 800 + } + cpp_entry { + key: "T11" + value: 800 + } + cpp_entry { + key: "T12" + value: 800 + } + cpp_entry { + key: "T13" + value: 800 + } + cpp_entry { + key: "T16" + value: 800 + } + cpp_entry { + key: "T17" + value: 800 + } + cpp_entry { + key: "T18" + value: 800 + } + cpp_entry { + key: "T19" + value: 800 + } + cpp_entry { + key: "T1E" + value: 1000 + } + cpp_entry { + key: "T1U" + value: 1000 + } + cpp_entry { + key: "T20" + value: 800 + } + cpp_entry { + key: "T23" + value: 800 + } + cpp_entry { + key: "T24" + value: 800 + } + cpp_entry { + key: "T25" + value: 800 + } + cpp_entry { + key: "T2B" + value: 1000 + } + cpp_entry { + key: "T2D" + value: 1000 + } + cpp_entry { + key: "T2M" + value: 100 + } + cpp_entry { + key: "T3B" + value: 1000 + } + cpp_entry { + key: "T3L" + value: 80 + } + cpp_entry { + key: "T4B" + value: 1000 + } + cpp_entry { + key: "T4D" + value: 100 + } + cpp_entry { + key: "T5B" + value: 1000 + } + cpp_entry { + key: "T5C" + value: 1000 + } + cpp_entry { + key: "T6B" + value: 1000 + } + cpp_entry { + key: "T7K" + value: 1000 + } + cpp_entry { + key: "T8B" + value: 1000 + } + cpp_entry { + key: "T9B" + value: 1000 + } + cpp_entry { + key: "TB2" + value: 1000 + } + cpp_entry { + key: "TC" + value: 2500 + } + cpp_entry { + key: "TC6" + value: 1000 + } + cpp_entry { + key: "TC9" + value: 1000 + } + cpp_entry { + key: "TD3" + value: 1000 + } + cpp_entry { + key: "TD8" + value: 1000 + } + cpp_entry { + key: "TGT" + value: 250 + } + cpp_entry { + key: "TH" + value: 1000 + } + cpp_entry { + key: "THB" + value: 1000 + } + cpp_entry { + key: "THD" + value: 10000 + } + cpp_entry { + key: "TIC" + value: 500 + } + cpp_entry { + key: "TIO" + value: 500 + } + cpp_entry { + key: "TK" + value: 1000 + } + cpp_entry { + key: "TKB" + value: 1000 + } + cpp_entry { + key: "TL" + value: 1000 + } + cpp_entry { + key: "TLB" + value: 1000 + } + cpp_entry { + key: "TLD" + value: 100 + } + cpp_entry { + key: "TM" + value: 1000 + } + cpp_entry { + key: "TMB" + value: 1000 + } + cpp_entry { + key: "TMD" + value: 100 + } + cpp_entry { + key: "TMT" + value: 100 + } + cpp_entry { + key: "TN" + value: 1000 + } + cpp_entry { + key: "TPB" + value: 5000 + } + cpp_entry { + key: "TPY" + value: 5000 + } + cpp_entry { + key: "TRB" + value: 25 + } + cpp_entry { + key: "TRE" + value: 125000 + } + cpp_entry { + key: "TRI" + value: 25 + } + cpp_entry { + key: "TRM" + value: 25 + } + cpp_entry { + key: "TRY" + value: 200000 + } + cpp_entry { + key: "TRZ" + value: 2500 + } + cpp_entry { + key: "TST" + value: 250 + } + cpp_entry { + key: "TT" + value: 50000 + } + cpp_entry { + key: "TTD" + value: 24 + } + cpp_entry { + key: "TTE" + value: 10000 + } + cpp_entry { + key: "TTF" + value: 744 + } + cpp_entry { + key: "TW" + value: 1000 + } + cpp_entry { + key: "TXN" + value: 2500 + } + cpp_entry { + key: "TZ6" + value: 2500 + } + cpp_entry { + key: "U7" + value: 1000 + } + cpp_entry { + key: "U9" + value: 1000 + } + cpp_entry { + key: "UA" + value: 1000 + } + cpp_entry { + key: "UB" + value: 1000 + } + cpp_entry { + key: "UCM" + value: 100 + } + cpp_entry { + key: "UDL" + value: 80 + } + cpp_entry { + key: "UFG" + value: 100 + } + cpp_entry { + key: "UFN" + value: 100 + } + cpp_entry { + key: "UFU" + value: 100 + } + cpp_entry { + key: "UFZ" + value: 100 + } + cpp_entry { + key: "UGG" + value: 42000 + } + cpp_entry { + key: "UKG" + value: 310 + } + cpp_entry { + key: "ULB" + value: 42000 + } + cpp_entry { + key: "UMB" + value: 1000 + } + cpp_entry { + key: "UMD" + value: 1000 + } + cpp_entry { + key: "UME" + value: 100 + } + cpp_entry { + key: "UN" + value: 1000 + } + cpp_entry { + key: "UNB" + value: 1000 + } + cpp_entry { + key: "UNS" + value: 1000 + } + cpp_entry { + key: "UR" + value: 1000 + } + cpp_entry { + key: "USDBRL" + value: 1 + } + cpp_entry { + key: "USDCAC" + value: 1 + } + cpp_entry { + key: "USDCAD" + value: 1 + } + cpp_entry { + key: "USDCAN" + value: 1 + } + cpp_entry { + key: "USDCKC" + value: 1 + } + cpp_entry { + key: "USDCLP" + value: 1 + } + cpp_entry { + key: "USDCNY" + value: 1 + } + cpp_entry { + key: "USDCOP" + value: 1 + } + cpp_entry { + key: "USDDKC" + value: 1 + } + cpp_entry { + key: "USDHFC" + value: 1 + } + cpp_entry { + key: "USDHKC" + value: 1 + } + cpp_entry { + key: "USDIDR" + value: 1 + } + cpp_entry { + key: "USDINR" + value: 1 + } + cpp_entry { + key: "USDISC" + value: 1 + } + cpp_entry { + key: "USDJPY" + value: 1 + } + cpp_entry { + key: "USDJYC" + value: 1 + } + cpp_entry { + key: "USDJYN" + value: 1 + } + cpp_entry { + key: "USDKRW" + value: 1 + } + cpp_entry { + key: "USDMPC" + value: 1 + } + cpp_entry { + key: "USDMXN" + value: 1 + } + cpp_entry { + key: "USDNKC" + value: 1 + } + cpp_entry { + key: "USDPEN" + value: 1 + } + cpp_entry { + key: "USDPHP" + value: 1 + } + cpp_entry { + key: "USDPZC" + value: 1 + } + cpp_entry { + key: "USDRUB" + value: 1 + } + cpp_entry { + key: "USDSDC" + value: 1 + } + cpp_entry { + key: "USDSFC" + value: 1 + } + cpp_entry { + key: "USDSFN" + value: 1 + } + cpp_entry { + key: "USDSKC" + value: 1 + } + cpp_entry { + key: "USDTBC" + value: 1 + } + cpp_entry { + key: "USDTLC" + value: 1 + } + cpp_entry { + key: "USDTWD" + value: 1 + } + cpp_entry { + key: "USDZRC" + value: 1 + } + cpp_entry { + key: "UV" + value: 1000 + } + cpp_entry { + key: "UX" + value: 250 + } + cpp_entry { + key: "V3L" + value: 5 + } + cpp_entry { + key: "V7" + value: 1000 + } + cpp_entry { + key: "VDL" + value: 80 + } + cpp_entry { + key: "VLD" + value: 80 + } + cpp_entry { + key: "VR" + value: 1000 + } + cpp_entry { + key: "VV" + value: 42000 + } + cpp_entry { + key: "W0" + value: 1000 + } + cpp_entry { + key: "WCC" + value: 1000 + } + cpp_entry { + key: "WCE" + value: 1000 + } + cpp_entry { + key: "WCW" + value: 1000 + } + cpp_entry { + key: "WDC" + value: 250 + } + cpp_entry { + key: "WMK" + value: 5000 + } + cpp_entry { + key: "WNC" + value: 1000 + } + cpp_entry { + key: "WNT" + value: 1000 + } + cpp_entry { + key: "WOL" + value: 5 + } + cpp_entry { + key: "WPL" + value: 80 + } + cpp_entry { + key: "WS" + value: 1000 + } + cpp_entry { + key: "WTA" + value: 1000 + } + cpp_entry { + key: "WTI" + value: 1000 + } + cpp_entry { + key: "WTS" + value: 1000 + } + cpp_entry { + key: "WTT" + value: 1000 + } + cpp_entry { + key: "X0" + value: 1000 + } + cpp_entry { + key: "X6" + value: 1000 + } + cpp_entry { + key: "X7" + value: 1000 + } + cpp_entry { + key: "X9" + value: 1000 + } + cpp_entry { + key: "XAB" + value: 100 + } + cpp_entry { + key: "XAE" + value: 100 + } + cpp_entry { + key: "XAF" + value: 250 + } + cpp_entry { + key: "XAI" + value: 100 + } + cpp_entry { + key: "XAK" + value: 100 + } + cpp_entry { + key: "XAP" + value: 100 + } + cpp_entry { + key: "XAR" + value: 250 + } + cpp_entry { + key: "XAU" + value: 100 + } + cpp_entry { + key: "XAV" + value: 100 + } + cpp_entry { + key: "XAY" + value: 100 + } + cpp_entry { + key: "XBT" + value: 100 + } + cpp_entry { + key: "XC" + value: 1000 + } + cpp_entry { + key: "XER" + value: 1000 + } + cpp_entry { + key: "XET" + value: 100 + } + cpp_entry { + key: "XFT" + value: 250 + } + cpp_entry { + key: "XH" + value: 2500 + } + cpp_entry { + key: "XIT" + value: 100 + } + cpp_entry { + key: "XK" + value: 1000 + } + cpp_entry { + key: "XKT" + value: 100 + } + cpp_entry { + key: "XPP" + value: 80 + } + cpp_entry { + key: "XPT" + value: 100 + } + cpp_entry { + key: "XR" + value: 2500 + } + cpp_entry { + key: "XRI" + value: 250 + } + cpp_entry { + key: "XRT" + value: 250 + } + cpp_entry { + key: "XUT" + value: 100 + } + cpp_entry { + key: "XVT" + value: 100 + } + cpp_entry { + key: "XW" + value: 1000 + } + cpp_entry { + key: "XX" + value: 2500 + } + cpp_entry { + key: "XYT" + value: 100 + } + cpp_entry { + key: "YF" + value: 42000 + } + cpp_entry { + key: "YHE" + value: 80 + } + cpp_entry { + key: "YHF" + value: 80 + } + cpp_entry { + key: "YM" + value: 5 + } + cpp_entry { + key: "YMT" + value: 5 + } + cpp_entry { + key: "YNO" + value: 1000 + } + cpp_entry { + key: "YO" + value: 112000 + } + cpp_entry { + key: "YRP" + value: 5 + } + cpp_entry { + key: "YRW" + value: 80 + } + cpp_entry { + key: "YS" + value: 42000 + } + cpp_entry { + key: "YUE" + value: 80 + } + cpp_entry { + key: "YWE" + value: 80 + } + cpp_entry { + key: "YWF" + value: 5 + } + cpp_entry { + key: "YWK" + value: 5 + } + cpp_entry { + key: "Z00000" + value: 1000 + } + cpp_entry { + key: "Z00001" + value: 1000 + } + cpp_entry { + key: "Z00002" + value: 1000 + } + cpp_entry { + key: "Z1B" + value: 100 + } + cpp_entry { + key: "Z3N" + value: 2000 + } + cpp_entry { + key: "Z4" + value: 1000 + } + cpp_entry { + key: "Z6" + value: 1000 + } + cpp_entry { + key: "ZA9102" + value: 1000 + } + cpp_entry { + key: "ZA9202" + value: 1000 + } + cpp_entry { + key: "ZA9903" + value: 1000 + } + cpp_entry { + key: "ZA9906" + value: 1000 + } + cpp_entry { + key: "ZA9909" + value: 1000 + } + cpp_entry { + key: "ZA9912" + value: 1000 + } + cpp_entry { + key: "ZAL" + value: 5 + } + cpp_entry { + key: "ZAR" + value: 100000 + } + cpp_entry { + key: "ZB" + value: 1000 + } + cpp_entry { + key: "ZB0001" + value: 1000 + } + cpp_entry { + key: "ZB0002" + value: 1000 + } + cpp_entry { + key: "ZB0003" + value: 1000 + } + cpp_entry { + key: "ZB0038" + value: 1000 + } + cpp_entry { + key: "ZB0039" + value: 1000 + } + cpp_entry { + key: "ZB0040" + value: 1000 + } + cpp_entry { + key: "ZB9103" + value: 1000 + } + cpp_entry { + key: "ZB9104" + value: 1000 + } + cpp_entry { + key: "ZB9105" + value: 1000 + } + cpp_entry { + key: "ZB9203" + value: 1000 + } + cpp_entry { + key: "ZB9204" + value: 1000 + } + cpp_entry { + key: "ZB9205" + value: 1000 + } + cpp_entry { + key: "ZB9903" + value: 1000 + } + cpp_entry { + key: "ZB9906" + value: 1000 + } + cpp_entry { + key: "ZB9909" + value: 1000 + } + cpp_entry { + key: "ZB9912" + value: 1000 + } + cpp_entry { + key: "ZC" + value: 5000 + } + cpp_entry { + key: "ZC0001" + value: 1000 + } + cpp_entry { + key: "ZC0002" + value: 1000 + } + cpp_entry { + key: "ZC0003" + value: 1000 + } + cpp_entry { + key: "ZC0004" + value: 1000 + } + cpp_entry { + key: "ZC0005" + value: 1000 + } + cpp_entry { + key: "ZC0029" + value: 1000 + } + cpp_entry { + key: "ZC0030" + value: 1000 + } + cpp_entry { + key: "ZC9107" + value: 1000 + } + cpp_entry { + key: "ZC9110" + value: 1000 + } + cpp_entry { + key: "ZC9207" + value: 1000 + } + cpp_entry { + key: "ZC9210" + value: 1000 + } + cpp_entry { + key: "ZC9903" + value: 1000 + } + cpp_entry { + key: "ZC9906" + value: 1000 + } + cpp_entry { + key: "ZC9909" + value: 1000 + } + cpp_entry { + key: "ZC9912" + value: 1000 + } + cpp_entry { + key: "ZCT" + value: 5000 + } + cpp_entry { + key: "ZD0030" + value: 1000 + } + cpp_entry { + key: "ZD9112" + value: 1000 + } + cpp_entry { + key: "ZD9115" + value: 1000 + } + cpp_entry { + key: "ZD9120" + value: 1000 + } + cpp_entry { + key: "ZD9130" + value: 1000 + } + cpp_entry { + key: "ZD9212" + value: 1000 + } + cpp_entry { + key: "ZD9215" + value: 1000 + } + cpp_entry { + key: "ZD9220" + value: 1000 + } + cpp_entry { + key: "ZD9230" + value: 1000 + } + cpp_entry { + key: "ZD9803" + value: 1000 + } + cpp_entry { + key: "ZD9806" + value: 1000 + } + cpp_entry { + key: "ZD9809" + value: 1000 + } + cpp_entry { + key: "ZD9812" + value: 1000 + } + cpp_entry { + key: "ZD9903" + value: 1000 + } + cpp_entry { + key: "ZD9906" + value: 1000 + } + cpp_entry { + key: "ZD9909" + value: 1000 + } + cpp_entry { + key: "ZD9912" + value: 1000 + } + cpp_entry { + key: "ZF" + value: 1000 + } + cpp_entry { + key: "ZGD" + value: 100 + } + cpp_entry { + key: "ZGL" + value: 5 + } + cpp_entry { + key: "ZJL" + value: 5 + } + cpp_entry { + key: "ZKU" + value: 1000 + } + cpp_entry { + key: "ZL" + value: 600 + } + cpp_entry { + key: "ZLT" + value: 600 + } + cpp_entry { + key: "ZM" + value: 100 + } + cpp_entry { + key: "ZMT" + value: 100 + } + cpp_entry { + key: "ZN" + value: 1000 + } + cpp_entry { + key: "ZNC" + value: 25 + } + cpp_entry { + key: "ZO" + value: 5000 + } + cpp_entry { + key: "ZQ" + value: 4167 + } + cpp_entry { + key: "ZR" + value: 2000 + } + cpp_entry { + key: "ZS" + value: 5000 + } + cpp_entry { + key: "ZT" + value: 2000 + } + cpp_entry { + key: "ZW" + value: 5000 + } + cpp_entry { + key: "ZWT" + value: 5000 + } + + } +} \ No newline at end of file diff --git a/src/lib/config/protos/cpp_config.proto b/src/lib/config/protos/cpp_config.proto new file mode 100644 index 000000000..7070adbe9 --- /dev/null +++ b/src/lib/config/protos/cpp_config.proto @@ -0,0 +1,6 @@ +syntax='proto2'; +package bts.config; + +message CppConfig { + map cpp_entry = 1; +} \ No newline at end of file diff --git a/src/lib/md/SecurityDB.cpp b/src/lib/md/SecurityDB.cpp index d6d5184f6..dcb04b6de 100644 --- a/src/lib/md/SecurityDB.cpp +++ b/src/lib/md/SecurityDB.cpp @@ -89,7 +89,7 @@ size_t load_securities( void store_if_new(const std::vector& securities) { auto dbptr = open_db(); - auto insert = utils::prepare_query(dbptr, "insert into securities (key, symbol, venue, type, security_blob, expiration) values (?,?,?,?,?,?)"); + auto insert = utils::prepare_query(dbptr, "insert or ignore into securities (key, symbol, venue, type, security_blob, expiration) values (?,?,?,?,?,?)"); sqlite3_exec_nofail(dbptr, "BEGIN TRANSACTION"); std::string buffer; for (const api::Security* psecurity : securities) { @@ -100,10 +100,7 @@ void store_if_new(const std::vector& securities) { SQLITE_CHK(sqlite3_bind_int(insert.get(), 4, securitytype_of(*psecurity)), dbptr); SQLITE_CHK(sqlite3_bind_blob(insert.get(), 5, buffer.c_str(), buffer.size(), SQLITE_STATIC), dbptr); SQLITE_CHK(sqlite3_bind_int(insert.get(), 6, expiration(*psecurity).to_short()), dbptr); - auto result = sqlite3_step(insert.get()); - if (result != SQLITE_DONE) { - LOG(md, Warn, "Failed to insert security into security db. key={}", psecurity->id()); - } + sqlite3_step(insert.get()); sqlite3_reset(insert.get()); } } diff --git a/src/lib/md/SecurityIDRecorder.cpp b/src/lib/md/SecurityIDRecorder.cpp index 5af4b9bde..00c66c222 100644 --- a/src/lib/md/SecurityIDRecorder.cpp +++ b/src/lib/md/SecurityIDRecorder.cpp @@ -133,6 +133,8 @@ void SecurityIDRecorder::work_db() { // Once a security has a key it is public so record it in the security database std::shared_ptr temp; vector> new_entries; + // SPARK-1446 Need to try to add existing securities to the db in case we deleted them by hand + vector> existing_securities; vector> defer; vector new_descriptors; size_t count = 0; @@ -150,6 +152,7 @@ void SecurityIDRecorder::work_db() { if (key != invalid_security_key) { temp->security.set_id(key); temp->callback(temp->security); + existing_securities.push_back(move(temp)); } else { // always push in parallel @@ -168,7 +171,7 @@ void SecurityIDRecorder::work_db() { } - if (new_entries.size() > 0) { + if (!new_entries.empty()) { sqlite3_exec_nofail(_self->db.get(), "BEGIN TRANSACTION"); for (size_t x = 0; x < new_entries.size(); ++x) { @@ -179,15 +182,22 @@ void SecurityIDRecorder::work_db() { } sqlite3_exec_nofail(_self->db.get(), "COMMIT TRANSACTION"); + } - // record the securities + // record the securities + if (!new_entries.empty() || !existing_securities.empty()) { std::vector save_these; - save_these.reserve(new_entries.size()); + save_these.reserve(new_entries.size() + existing_securities.size()); for (const auto& e : new_entries) { save_these.push_back(&e->security); } + for (const auto& e : existing_securities) { + save_these.push_back(&e->security); + } db::store_if_new(save_these); + } + if (!new_entries.empty()) { for (size_t x = 0; x < new_entries.size(); ++x) { Security& security = new_entries[x]->security; new_entries[x]->callback(security); diff --git a/src/sdk/build_example.sh b/src/sdk/build_example.sh deleted file mode 100755 index 38d2a115c..000000000 --- a/src/sdk/build_example.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -g++ -isystem include/externals/linux/include \ - -I include \ - -I include/spark \ - -o example \ - example.cpp \ - -Wl,-rpath,lib \ - -L lib \ - -l spark - diff --git a/src/sdk/example.cpp b/src/sdk/example.cpp deleted file mode 100644 index 427bb0dea..000000000 --- a/src/sdk/example.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "spark/lib/logging/logging.h" -#include "spark/lib/utils/init_spark_lib.h" -#include "spark/lib/utils/bts_chrono.h" - - -int main() -{ - using namespace bts; - - utils::init_spark_lib(); - LOG(md, Info, "Hello world"); - sleep_for(5s); - utils::finit_spark_lib(); - return 0; -} diff --git a/src/sdk/example/build_example.sh b/src/sdk/example/build_example.sh index 21c6a9ce9..b5dd70fdd 100755 --- a/src/sdk/example/build_example.sh +++ b/src/sdk/example/build_example.sh @@ -1,6 +1,6 @@ #!/bin/bash -g++ -isystem ../include/externals/linux/include \ +g++ -isystem ../externals/include \ -I ../include \ -I ../include/spark \ -o example \ diff --git a/src/sdk/example/example.cpp b/src/sdk/example/example.cpp index 4b502b839..58c2a8783 100644 --- a/src/sdk/example/example.cpp +++ b/src/sdk/example/example.cpp @@ -5,44 +5,38 @@ #include "spark/lib/utils/PBUtils.h" using namespace bts; +using namespace bts::md; void produce() { md::MDProducer producer(co2::PLATFORM_SIM); - auto s = utils::pb::from_string ( - "id: 16\n" - "symbol: \"ZF\"\n" - "exchange: VENUE_GLBX\n" - "contract_spec {\n" - "low_tick: 0.0078125\n" - "high_tick: 0.0078125\n" - "cash_per_point: 0.012799999999999999\n" - "price_multiplier: 1\n" - "}\n" - "future {\n" - "expiration_year: 2018\n" - "expiration_month: 9\n" - "expiration_day: 28\n" - "}\n" - "glbx {\n" - "exchange_id: 164760\n" - "security_desc: \"ZFU8\"\n" - "cfi_code: \"FFDXSX\"\n" - "cme_symbol: \"ZF\"\n" - "main_fraction: 32\n" - "sub_fraction: 4\n" - "price_display_format: 3\n" - "market_segment_id: 84\n" - "}\n" - ); + // Create temporary security (on the stack) + md::FixedFutureSecurity fsec; + fsec.numeric_id = 12345; // Exchange ID + fsec.symbol("ZF"); + fsec.exchange = api::VENUE_GLBX; + fsec.low_tick = 0.0078125; + fsec.high_tick = 0.0078125; + fsec.cash_per_point = 0.0128; + // display price is price * pow10(display_factor) + fsec.display_factor = 0; + fsec.expiration_year = 2018; + fsec.expiration_month = 9; + fsec.expiration_day = 28; + fsec.security_desc("ZFU8"); + fsec.cfi_code("FFDXSX"); + fsec.alt_symbol("ZF"); + fsec.cme_main_fraction = 32; + fsec.cme_sub_fraction = 4; + fsec.cme_price_display_format = 3; + fsec.cme_market_segment_id = 84; + - // create security and obtain handle so we can update it later std::vector producer_handles; - md::with_security_like(s, [&s,&producer,&producer_handles](auto &fs) { - md::convert_security(s, fs, true); - producer_handles.push_back(producer.add_security(fs)); - }); + // Add the security to the producer (this copies fsec) and get a handle to update it + // This call is thread safe and may take a symbol specific lock internally + producer_handles.push_back(producer.add_security(fsec)); // initialized bid side book data std::array bids = { @@ -72,7 +66,7 @@ void produce() md::PriceSize::from_double<7> (10.0,100) }; - // update book + // Update book - this call does not use locks so should not be called concurrently producer_handles[0].update_book(utils::TimeStamp::now(), bids, asks); } diff --git a/src/sdk/make_sdk.sh b/src/sdk/make_sdk.sh index b00bd8b0e..5c04b6e4f 100755 --- a/src/sdk/make_sdk.sh +++ b/src/sdk/make_sdk.sh @@ -9,7 +9,7 @@ mkdir -p $1/sdk rm -rf $1/sdk/* mkdir -p $1/sdk/include/spark -mkdir -p $1/sdk/include/externals/linux/ +mkdir -p $1/sdk/externals/ # lib headers (cd $2/.. && find lib -type f -name "*.h" -exec cp --parents \{\} $1/sdk/include/spark/ \;) @@ -18,7 +18,9 @@ mkdir -p $1/sdk/include/externals/linux/ (cd $1/src && find lib -type f -name "*.h" -exec cp --parents \{\} $1/sdk/include/spark/ \;) (cd $1/src && find lib -type f -name "*.cc" -exec cp --parents \{\} $1/sdk/include/spark/ \;) -ln -sf $2/../../externals/linux/include $1/sdk/include/externals/linux +ln -sf $2/../../externals/linux/include $1/sdk/externals/include +ln -sf $2/../../externals/linux/lib/Release $1/sdk/externals/lib + ln -sf $1/server $1/sdk/lib mkdir $1/sdk/example cp $2/example/* $1/sdk/example diff --git a/src/sdk/update_sdk_repo.sh b/src/sdk/update_sdk_repo.sh new file mode 100755 index 000000000..1cdb988d7 --- /dev/null +++ b/src/sdk/update_sdk_repo.sh @@ -0,0 +1,18 @@ +#!/bin/bash +if [ ! -f spark_sdk.tgz ]; then + wget http://jenkins/job/Spark_Server/lastSuccessfulBuild/artifact/spark_sdk_1909.tgz -O spark_sdk.tgz +fi + +if [ ! -d spark_sdk ]; then + git clone git@bitbucket.org:bluetradesys/spark_sdk.git +else + (cd spark_sdk && git pull) +fi + +rm -rf new_sdk +mkdir new_sdk +(cd new_sdk && tar -xvzf ../spark_sdk.tgz) +cp -R new_sdk/* spark_sdk + +# http://jenkins/job/Spark_Server/lastSuccessfulBuild/artifact/spark_server_1909.tgz +# http://jenkins/job/Spark_Server/lastSuccessfulBuild/artifact/spark_sdk_1909.tgz diff --git a/src/server/sparkd/CMakeDeps.cmake b/src/server/sparkd/CMakeDeps.cmake index 171351b2f..28a9d9409 100644 --- a/src/server/sparkd/CMakeDeps.cmake +++ b/src/server/sparkd/CMakeDeps.cmake @@ -1 +1 @@ -set(sources cmds/AutoCert.cpp;cmds/Benchmark.cpp;cmds/CmdRegistry.cpp;cmds/ConfigCheck.cpp;cmds/Help.cpp;cmds/Md.cpp;cmds/QuickTest.cpp;cmds/Run.cpp;cmds/RunSim.cpp;cmds/Span.cpp;cmds/Test.cpp;cmds/TestCeloxica.cpp;cmds/Web.cpp;dspark/mirage.cpp;dspark/mirage/routing/Router.cpp;exchange_sim/ExchangeSim.cpp;exchange_sim/ExchangeSimApplication.cpp;exchange_sim/book/Book.cpp;exchange_sim/book/ExchangeSim.proto;exchange_sim/book/Order.cpp;exchange_sim/book/OrderMatcher.cpp;exchange_sim/book/book_transform.cpp;exchange_sim/tests/test_book_transform.cpp;http/ApiGateway.cpp;http/WebServer.cpp;jetfix/codec/FIXArray.cpp;jetfix/common/OutFIX.cpp;jetfix/connection/AsyncReader.cpp;jetfix/connection/IConnection.cpp;jetfix/connection/SocketConnection.cpp;jetfix/gateway/CoreGateway.cpp;jetfix/gateway/JetFIXGateway.cpp;jetfix/gateway/Session.cpp;jetfix/store/FIXFileStore.cpp;jetfix/store/session_name.cpp;jetfix/tests/async_reader_tests.cpp;jetfix/tests/decoding_tests.cpp;jetfix/tests/fix_encoding_stream_tests.cpp;jetfix/tests/fix_fragment_tests.cpp;jetfix/tests/jetfix_performance_tests.cpp;jetfix/tests/sample_fix.cpp;jetfix/tests/store_tests.cpp;main.cpp;md/platforms/celoxica/CXListener.cpp;md/platforms/celoxica/CXMain.cpp;md/platforms/celoxica/tests/cx_tests.cpp;md/platforms/mdp3_onixs/MDP3Listener.cpp;md/platforms/mdp3_onixs/MDP3Main.cpp;md/platforms/mdp3_onixs/MDP3Utils.cpp;md/platforms/mdp3_onixs/tests/mdp3_tests.cpp;md/run_md.cpp;mercury/actors/Actor.cpp;mercury/broker/AsyncEventBroker.cpp;mercury/broker/CoreEventBroker.cpp;mercury/broker/IEventBroker.cpp;mercury/events/TimerEvent.cpp;mercury/mercury_utils/Executor.cpp;mercury/mercury_utils/IPollableActor.cpp;mercury/mercury_utils/mercury_common.cpp;mercury/synopsis/SynopsisBuilder.cpp;mercury/topics/ITopic.cpp;orderman/actors/AsyncFactory.cpp;orderman/actors/ExecutionGateway.cpp;orderman/actors/FillStore.cpp;orderman/actors/OrderStore.cpp;orderman/actors/SecuritySrc.cpp;orderman/actors/ServiceBridge.cpp;orderman/actors/order_manager/OrderBuilder.cpp;orderman/actors/order_manager/OrderManager.cpp;orderman/actors/order_manager/OrderServicesData.cpp;orderman/events/CancelRejectEvent.cpp;orderman/events/NewExecutionReportEvent.cpp;orderman/limiter/LimitStore.cpp;orderman/limiter/Limiter.cpp;orderman/limiter/ProductLimitNode.cpp;orderman/limiter/ProductLimitTree.cpp;orderman/limiter/SecurityLimitNode.cpp;orderman/limiter/SecurityLimitTree.cpp;orderman/limiter/tests/limit_tests.cpp;orderman/order_factory/OrderFactory.cpp;orderman/order_router/OrderRouter.cpp;orderman/orderman_utils/fix_order_codec.cpp;orderman/orders/IcebergOrder.cpp;orderman/orders/NativeOrder.cpp;orderman/orders/Order.cpp;orderman/orders/TimeBoxOrder.cpp;orderman/orders/book_algos/BookAlgo.cpp;orderman/orders/book_algos/JoinOrder.cpp;orderman/orders/book_algos/LeanOrder.cpp;orderman/orders/book_algos/TickOrder.cpp;orderman/orders/book_algos/TopOrder.cpp;orderman/orders/spreader_orders/SpreaderOrder.cpp;orderman/orders/spreader_orders/spreader/LegPropertyData.cpp;orderman/orders/spreader_orders/spreader/QuoteLegPriceQuantityState.cpp;orderman/orders/spreader_orders/spreader/SingleFillHedger.cpp;orderman/orders/spreader_orders/spreader/SingleLegQuoter.cpp;orderman/orders/spreader_orders/spreader/SpreaderBookkeepingData.cpp;orderman/orders/spreader_orders/spreader/SpreaderChildOrderState.cpp;orderman/orders/spreader_orders/spreader/SpreaderLegData.cpp;orderman/orders/spreader_orders/spreader/SpreaderUtils.cpp;orderman/orders/spreader_orders/spreader/external_interfacing/SpreaderOrderBuilder.cpp;orderman/orders/spreader_orders/spreader/external_interfacing/SpreaderOrderServices.cpp;orderman/orders/spreader_orders/spreader/external_interfacing/SpreaderPreActivationOrderServices.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerEndStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerStartStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerWaitingForCancelAckStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerWaitingForFirstAckCancelledStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerWaitingForFirstAckStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerWorkingStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterEndStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterStartStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWaitingForCancelAckStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWaitingForFirstAckCancelledWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWaitingForFirstAckWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWaitingForSizeStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWorkingStateWorker.cpp;orderman/orders/spreader_orders/spreader_states/SpreaderEndStateWorker.cpp;orderman/orders/spreader_orders/spreader_states/SpreaderStartStateWorker.cpp;orderman/orders/spreader_orders/spreader_states/SpreaderWaitingForCancelAllStateWorker.cpp;orderman/orders/spreader_orders/spreader_states/SpreaderWorkingStateWorker.cpp;orderman/orders/spreader_orders/tests/spreader_tests.cpp;orderman/server/OrderServiceServer.cpp;orderman/tests/fat_wrapper_tests.cpp;persistence/IStore.cpp;persistence/PersistenceServiceServer.cpp;persistence/SqliteStore.cpp;persistence/tests/PersistenceServiceTests.cpp;position/IMarginObserver.cpp;position/IPositionObserver.cpp;position/MarginServiceCore.cpp;position/PositionServiceCore.cpp;position/tests/PositionTests.cpp;support/ErrorReportService.cpp;support/ShellLatencyServer.cpp;tracing/bts_trace_c.c;user/AdminServiceServer.cpp;user/UserServiceServer.cpp;user/tests/admin_service_tests.cpp) \ No newline at end of file +set(sources cmds/AutoCert.cpp;cmds/Benchmark.cpp;cmds/CmdRegistry.cpp;cmds/ConfigCheck.cpp;cmds/Help.cpp;cmds/Md.cpp;cmds/QuickTest.cpp;cmds/Run.cpp;cmds/RunSim.cpp;cmds/Span.cpp;cmds/Test.cpp;cmds/TestCeloxica.cpp;cmds/Web.cpp;dspark/mirage.cpp;dspark/mirage/routing/Router.cpp;exchange_sim/ExchangeSim.cpp;exchange_sim/ExchangeSimApplication.cpp;exchange_sim/book/Book.cpp;exchange_sim/book/ExchangeSim.proto;exchange_sim/book/Order.cpp;exchange_sim/book/OrderMatcher.cpp;exchange_sim/book/book_transform.cpp;exchange_sim/tests/test_book_transform.cpp;http/ApiGateway.cpp;http/WebServer.cpp;jetfix/codec/FIXArray.cpp;jetfix/common/OutFIX.cpp;jetfix/connection/AsyncReader.cpp;jetfix/connection/IConnection.cpp;jetfix/connection/SocketConnection.cpp;jetfix/gateway/CoreGateway.cpp;jetfix/gateway/JetFIXGateway.cpp;jetfix/gateway/Session.cpp;jetfix/store/FIXFileStore.cpp;jetfix/store/session_name.cpp;jetfix/tests/async_reader_tests.cpp;jetfix/tests/decoding_tests.cpp;jetfix/tests/fix_encoding_stream_tests.cpp;jetfix/tests/fix_fragment_tests.cpp;jetfix/tests/jetfix_performance_tests.cpp;jetfix/tests/sample_fix.cpp;jetfix/tests/store_tests.cpp;main.cpp;md/platforms/celoxica/CXListener.cpp;md/platforms/celoxica/CXMain.cpp;md/platforms/celoxica/tests/cx_tests.cpp;md/platforms/mdp3_onixs/MDP3Listener.cpp;md/platforms/mdp3_onixs/MDP3Main.cpp;md/platforms/mdp3_onixs/MDP3Utils.cpp;md/platforms/mdp3_onixs/tests/mdp3_tests.cpp;md/run_md.cpp;mercury/actors/Actor.cpp;mercury/broker/AsyncEventBroker.cpp;mercury/broker/CoreEventBroker.cpp;mercury/broker/IEventBroker.cpp;mercury/events/TimerEvent.cpp;mercury/mercury_utils/Executor.cpp;mercury/mercury_utils/IPollableActor.cpp;mercury/mercury_utils/mercury_common.cpp;mercury/synopsis/SynopsisBuilder.cpp;mercury/topics/ITopic.cpp;orderman/actors/AsyncFactory.cpp;orderman/actors/ExecutionGateway.cpp;orderman/actors/FillStore.cpp;orderman/actors/OrderStore.cpp;orderman/actors/SecuritySrc.cpp;orderman/actors/ServiceBridge.cpp;orderman/actors/order_manager/OrderBuilder.cpp;orderman/actors/order_manager/OrderManager.cpp;orderman/actors/order_manager/OrderServicesData.cpp;orderman/events/CancelRejectEvent.cpp;orderman/events/NewExecutionReportEvent.cpp;orderman/limiter/LimitStore.cpp;orderman/limiter/Limiter.cpp;orderman/limiter/ProductLimitNode.cpp;orderman/limiter/ProductLimitTree.cpp;orderman/limiter/SecurityLimitNode.cpp;orderman/limiter/SecurityLimitTree.cpp;orderman/limiter/tests/limit_tests.cpp;orderman/order_factory/OrderFactory.cpp;orderman/order_router/OrderRouter.cpp;orderman/orderman_utils/fix_order_codec.cpp;orderman/orders/IcebergOrder.cpp;orderman/orders/NativeOrder.cpp;orderman/orders/Order.cpp;orderman/orders/TimeBoxOrder.cpp;orderman/orders/book_algos/BookAlgo.cpp;orderman/orders/book_algos/JoinOrder.cpp;orderman/orders/book_algos/LeanOrder.cpp;orderman/orders/book_algos/TickOrder.cpp;orderman/orders/book_algos/TopOrder.cpp;orderman/orders/spreader_orders/SpreaderOrder.cpp;orderman/orders/spreader_orders/spreader/LegPropertyData.cpp;orderman/orders/spreader_orders/spreader/QuoteLegPriceQuantityState.cpp;orderman/orders/spreader_orders/spreader/SingleFillHedger.cpp;orderman/orders/spreader_orders/spreader/SingleLegQuoter.cpp;orderman/orders/spreader_orders/spreader/SpreaderBookkeepingData.cpp;orderman/orders/spreader_orders/spreader/SpreaderChildOrderState.cpp;orderman/orders/spreader_orders/spreader/SpreaderLegData.cpp;orderman/orders/spreader_orders/spreader/SpreaderUtils.cpp;orderman/orders/spreader_orders/spreader/external_interfacing/SpreaderOrderBuilder.cpp;orderman/orders/spreader_orders/spreader/external_interfacing/SpreaderOrderServices.cpp;orderman/orders/spreader_orders/spreader/external_interfacing/SpreaderPreActivationOrderServices.cpp;orderman/orders/spreader_orders/spreader/hedger/UnhedgedDelta.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerEndStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerStartStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerWaitingForCancelAckStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerWaitingForFirstAckCancelledStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerWaitingForFirstAckStateWorker.cpp;orderman/orders/spreader_orders/spreader/hedger/hedger_states/HedgerWorkingStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSet.cpp;orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSetHistory.cpp;orderman/orders/spreader_orders/spreader/quoter/QuoteLegDriver.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterEndStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterStartStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWaitingForCancelAckStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWaitingForFirstAckCancelledWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWaitingForFirstAckWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWaitingForSizeStateWorker.cpp;orderman/orders/spreader_orders/spreader/quoter/quoter_states/QuoterWorkingStateWorker.cpp;orderman/orders/spreader_orders/spreader_states/SpreaderEndStateWorker.cpp;orderman/orders/spreader_orders/spreader_states/SpreaderStartStateWorker.cpp;orderman/orders/spreader_orders/spreader_states/SpreaderWaitingForCancelAllStateWorker.cpp;orderman/orders/spreader_orders/spreader_states/SpreaderWorkingStateWorker.cpp;orderman/orders/spreader_orders/tests/spreader_tests.cpp;orderman/server/OrderServiceServer.cpp;orderman/tests/fat_wrapper_tests.cpp;persistence/IStore.cpp;persistence/PersistenceServiceServer.cpp;persistence/SqliteStore.cpp;persistence/tests/PersistenceServiceTests.cpp;position/IMarginObserver.cpp;position/IPositionObserver.cpp;position/MarginServiceCore.cpp;position/PositionServiceCore.cpp;position/tests/PositionTests.cpp;support/ErrorReportService.cpp;support/ShellLatencyServer.cpp;tracing/bts_trace_c.c;user/AdminServiceServer.cpp;user/UserServiceServer.cpp;user/tests/admin_service_tests.cpp) \ No newline at end of file diff --git a/src/server/sparkd/jetfix/tests/fix_encoding_stream_tests.cpp b/src/server/sparkd/jetfix/tests/fix_encoding_stream_tests.cpp index 7a59b122c..849076404 100644 --- a/src/server/sparkd/jetfix/tests/fix_encoding_stream_tests.cpp +++ b/src/server/sparkd/jetfix/tests/fix_encoding_stream_tests.cpp @@ -54,15 +54,15 @@ TEST_CASE("JetFIX FIX Encoding","[jetfix_encoding]") stream.close (); auto str = stream.to_human_str (); - REQUIRE (str.compare (0,strlen ("8=FIX.4.2|9=000102|"), "8=FIX.4.2|9=000102|")==0); + REQUIRE (str.compare (0,strlen ("8=FIX.4.2|9=000092|"), "8=FIX.4.2|9=000092|")==0); } SECTION("checksum_is_correct") { char target [] = - "8=FIX.4.2\0019=000102\00135=i\00134=000000000\001369=000000000\001" + "8=FIX.4.2\0019=000092\00135=i\00134=000000000\001369=000000000\001" "52=20150427-19:05:18.923\00149=O2TESTER\00156=BTS\00157=BTS\001" - "142=US,NC\00158=hello\001"; + "58=hello\001"; uint32_t byte_sum = 0; for (auto c : target) @@ -74,7 +74,8 @@ TEST_CASE("JetFIX FIX Encoding","[jetfix_encoding]") stream.close (); // std::string human_target(target); // std::replace(human_target.begin(), human_target.end(),'\001','|'); - // REQUIRE(stream.to_human_str() == human_target); + // std::cout << human_target << "\n"; + // std::cout << stream.to_human_str() << "\n"; auto chk = stream.msg_map ()[0].checksum; REQUIRE (chk==byte_sum); } @@ -88,9 +89,9 @@ TEST_CASE("JetFIX FIX Encoding","[jetfix_encoding]") stream.stamp (1,1000,"20150427-19:05:18.922"); std::string lit = - "8=FIX.4.2\0019=000102\00135=i\00134=000000002\001369=000001000\001" + "8=FIX.4.2\0019=000092\00135=i\00134=000000002\001369=000001000\001" "52=20150427-19:05:18.922\00149=O2TESTER\00156=BTS\00157=BTS\001" - "142=US,NC\00158=hello\001"; + "58=hello\001"; uint32_t lit_checksum = 0; for (auto c : lit) lit_checksum += c; diff --git a/src/server/sparkd/orderman/orders/spreader_orders/spreader/SpreaderUtils.h b/src/server/sparkd/orderman/orders/spreader_orders/spreader/SpreaderUtils.h index 2679164a2..e78e581af 100644 --- a/src/server/sparkd/orderman/orders/spreader_orders/spreader/SpreaderUtils.h +++ b/src/server/sparkd/orderman/orders/spreader_orders/spreader/SpreaderUtils.h @@ -308,7 +308,6 @@ public: double& out_new_price){ int64_t time_diff = ms_diff (now_time, order_time); if (time_diff > time_based_forced_cross.time_in_ms_threshold()){ - LOG(OrderMan, Info, "SpreaderUtils::post_hedge_time_based_forced_cross order_time: {} now_time: {} ms_time_diff: {} threshold: {}", order_time, now_time, time_diff, time_based_forced_cross.time_in_ms_threshold()); if (hedge_side == api::SIDE_BUY){ const md::PriceSize& opp_inside_price_size = book.side(api::Side::SIDE_SELL)[0]; if (opp_inside_price_size.size() > 0){ diff --git a/src/server/sparkd/orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSetHistory.cpp b/src/server/sparkd/orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSetHistory.cpp index 87e441f1c..fa544e151 100644 --- a/src/server/sparkd/orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSetHistory.cpp +++ b/src/server/sparkd/orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSetHistory.cpp @@ -5,10 +5,9 @@ namespace bts { namespace orderman { QuoteDriverSetHistory::QuoteDriverSetHistory(size_t n_legs, - size_t cache_size, - double tick_size) + size_t cache_size, + double tick_size) : -_n_legs(n_legs), _cache_size(cache_size), _tick_size(tick_size), _quote_seq_no(0), diff --git a/src/server/sparkd/orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSetHistory.h b/src/server/sparkd/orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSetHistory.h index 6968ae0d9..c1ef9b0c2 100644 --- a/src/server/sparkd/orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSetHistory.h +++ b/src/server/sparkd/orderman/orders/spreader_orders/spreader/quoter/QuoteDriverSetHistory.h @@ -7,7 +7,8 @@ namespace orderman { class QuoteDriverSetHistory{ private: - const size_t _n_legs, _cache_size; + // const size_t _n_legs; // THIS IS NOT USED + const size_t _cache_size; const double _tick_size; uint16_t _quote_seq_no; std::vector _driver_sets; @@ -16,11 +17,11 @@ private: const QuoteDriverSet* _find_driver_set(Price quote_price) const; public: QuoteDriverSetHistory(size_t n_legs, - size_t cache_size, - double tick_size); + size_t cache_size, + double tick_size); void add(const std::vector& drivers, Price quote_price); const QuoteLegDriver* find_driver(Price quote_price, size_t leg_index) const; }; -}} \ No newline at end of file +}} diff --git a/src/web/CMakeDeps.cmake b/src/web/CMakeDeps.cmake index d445f4af4..3eaaf1a02 100644 --- a/src/web/CMakeDeps.cmake +++ b/src/web/CMakeDeps.cmake @@ -1 +1 @@ -set(sources ../../externals/linux/include/google/protobuf/descriptor.proto;../../externals/linux/include/google/protobuf/timestamp.proto;../lib/api/apicore.proto;../lib/api/apigateway.proto;../lib/api/apioptions.proto;../lib/api/services/AdminService.proto;../lib/api/services/ApiUnitTestService.proto;../lib/api/services/ErrorReportService.proto;../lib/api/services/HelloService.proto;../lib/api/services/MarketDataRelay.proto;../lib/api/services/OrderService.proto;../lib/api/services/OutOfProcessURLListener.proto;../lib/api/services/PersistenceService.proto;../lib/api/services/ShellDiagnosticService.proto;../lib/api/services/ShellLatencyService.proto;../lib/api/services/SyntheticSecurityService.proto;../lib/api/services/UserService.proto;../lib/domain_model/Security.proto;../lib/md/protos/co2.proto;../lib/sparkproto/SparkProtos.proto;api/build.sh;api/node_modules/cssstyle/scripts/run_tests.sh;api/node_modules/exit/test/fixtures/create-files.sh;api/node_modules/protobufjs/cli/node_modules/acorn-jsx/node_modules/acorn/bin/update_authors.sh;api/node_modules/watch/release.sh;api/quiet_build.sh;api/src/DynamicService.ts;api/src/ServiceContext.ts;api/src/bts_assert.ts;ui/src/Access.fs;ui/src/Accounts/ClipLimits.fs;ui/src/Accounts/ProductLimits.fs;ui/src/Accounts/SecurityLimits.fs;ui/src/Accounts/State.fs;ui/src/Accounts/Types.fs;ui/src/Accounts/View.fs;ui/src/App.fs;ui/src/Cmd.fs;ui/src/Controls/Button.fs;ui/src/Controls/DataGrid.fs;ui/src/Controls/Fields.fs;ui/src/Controls/Modal.fs;ui/src/Controls/ReactGrid.fs;ui/src/Controls/Table.fs;ui/src/Controls/nbsp.fs;ui/src/Global.fs;ui/src/Imports.fs;ui/src/Lens.fs;ui/src/Login/Login.fs;ui/src/Navbar/View.fs;ui/src/State.fs;ui/src/Types.fs;ui/src/Users/State.fs;ui/src/Users/Types.fs;ui/src/Users/View.fs;ui/src/Util/EnumUtils.fs;ui/src/Util/JSMap.fs) \ No newline at end of file +set(sources ../../externals/linux/include/google/protobuf/descriptor.proto;../../externals/linux/include/google/protobuf/timestamp.proto;../lib/api/apicore.proto;../lib/api/apigateway.proto;../lib/api/apioptions.proto;../lib/api/services/AdminService.proto;../lib/api/services/ApiUnitTestService.proto;../lib/api/services/ErrorReportService.proto;../lib/api/services/HelloService.proto;../lib/api/services/MarketDataRelay.proto;../lib/api/services/OrderService.proto;../lib/api/services/OutOfProcessURLListener.proto;../lib/api/services/PersistenceService.proto;../lib/api/services/ShellDiagnosticService.proto;../lib/api/services/ShellLatencyService.proto;../lib/api/services/SyntheticSecurityService.proto;../lib/api/services/UserService.proto;../lib/domain_model/Security.proto;../lib/md/protos/co2.proto;../lib/sparkproto/SparkProtos.proto;api/build.sh;api/node_modules/cssstyle/scripts/run_tests.sh;api/node_modules/exit/test/fixtures/create-files.sh;api/node_modules/protobufjs/cli/node_modules/acorn-jsx/node_modules/acorn/bin/update_authors.sh;api/node_modules/watch/release.sh;api/quiet_build.sh;api/src/DynamicService.ts;api/src/ServiceContext.ts;api/src/bts_assert.ts;ui/src/Access.fs;ui/src/Accounts/ClipLimits.fs;ui/src/Accounts/ProductLimits.fs;ui/src/Accounts/SecurityLimits.fs;ui/src/Accounts/State.fs;ui/src/Accounts/Types.fs;ui/src/Accounts/View.fs;ui/src/App.fs;ui/src/Cmd.fs;ui/src/Controls/Button.fs;ui/src/Controls/DataGrid.fs;ui/src/Controls/Fields.fs;ui/src/Controls/Modal.fs;ui/src/Controls/ReactGrid.fs;ui/src/Controls/Table.fs;ui/src/Controls/nbsp.fs;ui/src/Global.fs;ui/src/Imports.fs;ui/src/Lens.fs;ui/src/Login/Login.fs;ui/src/Nav.fs;ui/src/State.fs;ui/src/Types.fs;ui/src/Users/State.fs;ui/src/Users/Types.fs;ui/src/Users/View.fs;ui/src/Util/EnumUtils.fs;ui/src/Util/JSMap.fs) \ No newline at end of file diff --git a/src/web/ui/package-lock.json b/src/web/ui/package-lock.json index 2469ecda3..43fc558b5 100644 --- a/src/web/ui/package-lock.json +++ b/src/web/ui/package-lock.json @@ -29,8 +29,8 @@ "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", "requires": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" + "@protobufjs/aspromise": "1.1.2", + "@protobufjs/inquire": "1.1.0" } }, "@protobufjs/float": { @@ -80,14 +80,14 @@ "integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo=", "dev": true, "requires": { - "mime-types": "~2.1.11", + "mime-types": "2.1.15", "negotiator": "0.6.1" } }, "acorn": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.1.1.tgz", - "integrity": "sha512-vOk6uEMctu0vQrvuSqFdJyqj1Q0S5VTDL79qtjo+DhRr+1mmaD+tluFSCZqhvi/JUhXSzoZN2BhtstaPEeE8cw==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.1.tgz", + "integrity": "sha512-d+nbxBUGKg7Arpsvbnlq61mc12ek3EY8EQldM3GPAhWJ1UVxC6TDGbIvUMNU6obBX3i1+ptCIzV4vq0gFPEGVQ==", "dev": true }, "acorn-dynamic-import": { @@ -96,7 +96,7 @@ "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", "dev": true, "requires": { - "acorn": "^4.0.3" + "acorn": "4.0.13" }, "dependencies": { "acorn": { @@ -107,10 +107,36 @@ } } }, + "ajv": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.1.tgz", + "integrity": "sha512-pgZos1vgOHDiC7gKNbZW8eKvCnNXARv2oqrGQT7Hzbq5Azp7aZG6DJzADnkuSq7RH6qkXp4J/m68yPX/2uBHyQ==", + "dev": true, + "requires": { + "fast-deep-equal": "2.0.1", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.4.1", + "uri-js": "4.2.2" + }, + "dependencies": { + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + } + } + }, "ajv-keywords": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.0.tgz", - "integrity": "sha1-opbhf3v658HOT34N5T0pyzIWLfA=", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz", + "integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=", "dev": true }, "align-text": { @@ -119,9 +145,9 @@ "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", "dev": true, "requires": { - "kind-of": "^3.0.2", - "longest": "^1.0.1", - "repeat-string": "^1.5.2" + "kind-of": "3.2.2", + "longest": "1.0.1", + "repeat-string": "1.6.1" } }, "alphanum-sort": { @@ -160,8 +186,8 @@ "integrity": "sha1-o+Uvo5FoyCX/V7AkgSbOWo/5VQc=", "dev": true, "requires": { - "arrify": "^1.0.0", - "micromatch": "^2.1.5" + "arrify": "1.0.1", + "micromatch": "2.3.11" } }, "aproba": { @@ -176,8 +202,8 @@ "integrity": "sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0=", "dev": true, "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "delegates": "1.0.0", + "readable-stream": "2.3.3" } }, "argparse": { @@ -186,7 +212,7 @@ "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=", "dev": true, "requires": { - "sprintf-js": "~1.0.2" + "sprintf-js": "1.0.3" } }, "arr-diff": { @@ -195,7 +221,7 @@ "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", "dev": true, "requires": { - "arr-flatten": "^1.0.1" + "arr-flatten": "1.1.0" } }, "arr-flatten": { @@ -204,6 +230,12 @@ "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", "dev": true }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, "array-find-index": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", @@ -222,8 +254,8 @@ "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", "dev": true, "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.7.0" + "define-properties": "1.1.2", + "es-abstract": "1.12.0" } }, "array-union": { @@ -232,7 +264,7 @@ "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", "dev": true, "requires": { - "array-uniq": "^1.0.1" + "array-uniq": "1.0.3" } }, "array-uniq": { @@ -270,9 +302,9 @@ "integrity": "sha1-SLokC0WpKA6UdImQull9IWYX/UA=", "dev": true, "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "bn.js": "4.11.7", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0" } }, "assert": { @@ -290,13 +322,27 @@ "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=", "dev": true }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, "async": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz", - "integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "dev": true, "requires": { - "lodash": "^4.14.0" + "lodash": "4.17.10" + }, + "dependencies": { + "lodash": { + "version": "4.17.10", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", + "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", + "dev": true + } } }, "async-each": { @@ -317,18 +363,24 @@ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", "dev": true }, + "atob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.1.tgz", + "integrity": "sha1-ri1acpR38onWDdf5amMUoi3Wwio=", + "dev": true + }, "autoprefixer": { "version": "6.7.7", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=", "dev": true, "requires": { - "browserslist": "^1.7.6", - "caniuse-db": "^1.0.30000634", - "normalize-range": "^0.1.2", - "num2fraction": "^1.2.2", - "postcss": "^5.2.16", - "postcss-value-parser": "^3.2.3" + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000704", + "normalize-range": "0.1.2", + "num2fraction": "1.2.2", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "aws-sign2": { @@ -349,36 +401,36 @@ "integrity": "sha1-AnYgvuVnqIwyVhV05/0IAdMxGOQ=", "dev": true, "requires": { - "chalk": "^1.1.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" } }, "babel-core": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz", - "integrity": "sha1-rzL3izGm/O8RnIew/Y2XU/A6C7g=", + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", "dev": true, "requires": { - "babel-code-frame": "^6.26.0", - "babel-generator": "^6.26.0", - "babel-helpers": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-register": "^6.26.0", - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "convert-source-map": "^1.5.0", - "debug": "^2.6.8", - "json5": "^0.5.1", - "lodash": "^4.17.4", - "minimatch": "^3.0.4", - "path-is-absolute": "^1.0.1", - "private": "^0.1.7", - "slash": "^1.0.0", - "source-map": "^0.5.6" + "babel-code-frame": "6.26.0", + "babel-generator": "6.26.1", + "babel-helpers": "6.24.1", + "babel-messages": "6.23.0", + "babel-register": "6.26.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "convert-source-map": "1.5.1", + "debug": "2.6.9", + "json5": "0.5.1", + "lodash": "4.17.4", + "minimatch": "3.0.4", + "path-is-absolute": "1.0.1", + "private": "0.1.8", + "slash": "1.0.0", + "source-map": "0.5.7" }, "dependencies": { "babel-code-frame": { @@ -387,40 +439,9 @@ "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", "dev": true, "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" - } - }, - "babel-generator": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.0.tgz", - "integrity": "sha1-rBriAHC3n248odMmlhMFN3TyDcU=", - "dev": true, - "requires": { - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "detect-indent": "^4.0.0", - "jsesc": "^1.3.0", - "lodash": "^4.17.4", - "source-map": "^0.5.6", - "trim-right": "^1.0.1" - } - }, - "babel-register": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", - "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", - "dev": true, - "requires": { - "babel-core": "^6.26.0", - "babel-runtime": "^6.26.0", - "core-js": "^2.5.0", - "home-or-tmp": "^2.0.0", - "lodash": "^4.17.4", - "mkdirp": "^0.5.1", - "source-map-support": "^0.4.15" + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" } }, "babel-template": { @@ -429,11 +450,11 @@ "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", "dev": true, "requires": { - "babel-runtime": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "lodash": "^4.17.4" + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "lodash": "4.17.4" } }, "babel-traverse": { @@ -442,15 +463,15 @@ "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", "dev": true, "requires": { - "babel-code-frame": "^6.26.0", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "debug": "^2.6.8", - "globals": "^9.18.0", - "invariant": "^2.2.2", - "lodash": "^4.17.4" + "babel-code-frame": "6.26.0", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "debug": "2.6.9", + "globals": "9.18.0", + "invariant": "2.2.2", + "lodash": "4.17.4" } }, "babel-types": { @@ -459,10 +480,10 @@ "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", "dev": true, "requires": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" + "babel-runtime": "6.26.0", + "esutils": "2.0.2", + "lodash": "4.17.4", + "to-fast-properties": "1.0.3" } }, "babylon": { @@ -471,10 +492,67 @@ "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", "dev": true }, - "core-js": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz", - "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=", + "convert-source-map": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "detect-indent": "4.0.0", + "jsesc": "1.3.0", + "lodash": "4.17.4", + "source-map": "0.5.7", + "trim-right": "1.0.1" + }, + "dependencies": { + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "esutils": "2.0.2", + "lodash": "4.17.4", + "to-fast-properties": "1.0.3" + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "dev": true } } @@ -485,10 +563,10 @@ "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", "dev": true, "requires": { - "babel-helper-hoist-variables": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" } }, "babel-helper-define-map": { @@ -497,10 +575,10 @@ "integrity": "sha1-epdH8ljYlH0y1RX2qhx70CIEoIA=", "dev": true, "requires": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1", - "lodash": "^4.2.0" + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.25.0", + "lodash": "4.17.4" } }, "babel-helper-function-name": { @@ -509,11 +587,11 @@ "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", "dev": true, "requires": { - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" } }, "babel-helper-get-function-arity": { @@ -522,8 +600,8 @@ "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.25.0" } }, "babel-helper-hoist-variables": { @@ -532,8 +610,8 @@ "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.25.0" } }, "babel-helper-optimise-call-expression": { @@ -542,8 +620,8 @@ "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.25.0" } }, "babel-helper-regex": { @@ -552,9 +630,9 @@ "integrity": "sha1-024i+rEAjXnYhkjjIRaGgShFbOg=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1", - "lodash": "^4.2.0" + "babel-runtime": "6.26.0", + "babel-types": "6.25.0", + "lodash": "4.17.4" } }, "babel-helper-replace-supers": { @@ -563,12 +641,12 @@ "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", "dev": true, "requires": { - "babel-helper-optimise-call-expression": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-optimise-call-expression": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" } }, "babel-helpers": { @@ -577,19 +655,19 @@ "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-template": "6.25.0" } }, "babel-loader": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.2.tgz", - "integrity": "sha512-jRwlFbINAeyDStqK6Dd5YuY0k5YuzQUvlz2ZamuXrXmxav3pNqe9vfJ402+2G+OmlJSXxCOpB6Uz0INM7RQe2A==", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.4.tgz", + "integrity": "sha512-/hbyEvPzBJuGpk9o80R0ZyTej6heEOr59GoEUtn8qFKbnx4cJm9FWES6J/iv644sYgrtVw9JJQkjaLW/bqb5gw==", "dev": true, "requires": { - "find-cache-dir": "^1.0.0", - "loader-utils": "^1.0.2", - "mkdirp": "^0.5.1" + "find-cache-dir": "1.0.0", + "loader-utils": "1.1.0", + "mkdirp": "0.5.1" } }, "babel-messages": { @@ -598,7 +676,7 @@ "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-check-es2015-constants": { @@ -607,7 +685,7 @@ "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-arrow-functions": { @@ -616,7 +694,7 @@ "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-block-scoped-functions": { @@ -625,7 +703,7 @@ "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-block-scoping": { @@ -634,11 +712,11 @@ "integrity": "sha1-dsKV3DpHQbFmWt/TFnIV3P8ypXY=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1", - "lodash": "^4.2.0" + "babel-runtime": "6.26.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0", + "lodash": "4.17.4" } }, "babel-plugin-transform-es2015-classes": { @@ -647,15 +725,15 @@ "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", "dev": true, "requires": { - "babel-helper-define-map": "^6.24.1", - "babel-helper-function-name": "^6.24.1", - "babel-helper-optimise-call-expression": "^6.24.1", - "babel-helper-replace-supers": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-define-map": "6.24.1", + "babel-helper-function-name": "6.24.1", + "babel-helper-optimise-call-expression": "6.24.1", + "babel-helper-replace-supers": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" } }, "babel-plugin-transform-es2015-computed-properties": { @@ -664,8 +742,8 @@ "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-template": "6.25.0" } }, "babel-plugin-transform-es2015-destructuring": { @@ -674,7 +752,7 @@ "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-duplicate-keys": { @@ -683,8 +761,8 @@ "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.25.0" } }, "babel-plugin-transform-es2015-for-of": { @@ -693,7 +771,7 @@ "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-function-name": { @@ -702,9 +780,9 @@ "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", "dev": true, "requires": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.25.0" } }, "babel-plugin-transform-es2015-literals": { @@ -713,7 +791,7 @@ "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-modules-amd": { @@ -722,9 +800,9 @@ "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", "dev": true, "requires": { - "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-plugin-transform-es2015-modules-commonjs": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.25.0" } }, "babel-plugin-transform-es2015-modules-commonjs": { @@ -733,10 +811,10 @@ "integrity": "sha1-0+MQtA72ZKNmIiAAl8bUQCmPK/4=", "dev": true, "requires": { - "babel-plugin-transform-strict-mode": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-types": "^6.24.1" + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.25.0", + "babel-types": "6.25.0" } }, "babel-plugin-transform-es2015-modules-systemjs": { @@ -745,9 +823,9 @@ "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", "dev": true, "requires": { - "babel-helper-hoist-variables": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.25.0" } }, "babel-plugin-transform-es2015-modules-umd": { @@ -756,9 +834,9 @@ "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", "dev": true, "requires": { - "babel-plugin-transform-es2015-modules-amd": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.25.0" } }, "babel-plugin-transform-es2015-object-super": { @@ -767,8 +845,8 @@ "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", "dev": true, "requires": { - "babel-helper-replace-supers": "^6.24.1", - "babel-runtime": "^6.22.0" + "babel-helper-replace-supers": "6.24.1", + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-parameters": { @@ -777,12 +855,12 @@ "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", "dev": true, "requires": { - "babel-helper-call-delegate": "^6.24.1", - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-call-delegate": "6.24.1", + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" } }, "babel-plugin-transform-es2015-shorthand-properties": { @@ -791,8 +869,8 @@ "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.25.0" } }, "babel-plugin-transform-es2015-spread": { @@ -801,7 +879,7 @@ "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-sticky-regex": { @@ -810,9 +888,9 @@ "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", "dev": true, "requires": { - "babel-helper-regex": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-helper-regex": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.25.0" } }, "babel-plugin-transform-es2015-template-literals": { @@ -821,7 +899,7 @@ "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-typeof-symbol": { @@ -830,7 +908,7 @@ "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-unicode-regex": { @@ -839,9 +917,9 @@ "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", "dev": true, "requires": { - "babel-helper-regex": "^6.24.1", - "babel-runtime": "^6.22.0", - "regexpu-core": "^2.0.0" + "babel-helper-regex": "6.24.1", + "babel-runtime": "6.26.0", + "regexpu-core": "2.0.0" } }, "babel-plugin-transform-regenerator": { @@ -859,7 +937,7 @@ "integrity": "sha1-iEkNRGUC6puOfvsP4J7E2ZR5se4=", "dev": true, "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-strict-mode": { @@ -868,8 +946,8 @@ "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.25.0" } }, "babel-preset-es2015": { @@ -878,30 +956,53 @@ "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=", "dev": true, "requires": { - "babel-plugin-check-es2015-constants": "^6.22.0", - "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoping": "^6.24.1", - "babel-plugin-transform-es2015-classes": "^6.24.1", - "babel-plugin-transform-es2015-computed-properties": "^6.24.1", - "babel-plugin-transform-es2015-destructuring": "^6.22.0", - "babel-plugin-transform-es2015-duplicate-keys": "^6.24.1", - "babel-plugin-transform-es2015-for-of": "^6.22.0", - "babel-plugin-transform-es2015-function-name": "^6.24.1", - "babel-plugin-transform-es2015-literals": "^6.22.0", - "babel-plugin-transform-es2015-modules-amd": "^6.24.1", - "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", - "babel-plugin-transform-es2015-modules-systemjs": "^6.24.1", - "babel-plugin-transform-es2015-modules-umd": "^6.24.1", - "babel-plugin-transform-es2015-object-super": "^6.24.1", - "babel-plugin-transform-es2015-parameters": "^6.24.1", - "babel-plugin-transform-es2015-shorthand-properties": "^6.24.1", - "babel-plugin-transform-es2015-spread": "^6.22.0", - "babel-plugin-transform-es2015-sticky-regex": "^6.24.1", - "babel-plugin-transform-es2015-template-literals": "^6.22.0", - "babel-plugin-transform-es2015-typeof-symbol": "^6.22.0", - "babel-plugin-transform-es2015-unicode-regex": "^6.24.1", - "babel-plugin-transform-regenerator": "^6.24.1" + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.24.1", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.24.1", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-regenerator": "6.24.1" + } + }, + "babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "dev": true, + "requires": { + "babel-core": "6.26.3", + "babel-runtime": "6.26.0", + "core-js": "2.5.7", + "home-or-tmp": "2.0.0", + "lodash": "4.17.4", + "mkdirp": "0.5.1", + "source-map-support": "0.4.15" + }, + "dependencies": { + "core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==", + "dev": true + } } }, "babel-runtime": { @@ -909,8 +1010,8 @@ "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" + "core-js": "2.4.1", + "regenerator-runtime": "0.11.0" }, "dependencies": { "regenerator-runtime": { @@ -926,11 +1027,11 @@ "integrity": "sha1-ZlJBFmt8KqTGGdceGSlpVSsQwHE=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "babel-traverse": "^6.25.0", - "babel-types": "^6.25.0", - "babylon": "^6.17.2", - "lodash": "^4.2.0" + "babel-runtime": "6.26.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0", + "babylon": "6.17.4", + "lodash": "4.17.4" } }, "babel-traverse": { @@ -939,15 +1040,15 @@ "integrity": "sha1-IldJfi/NGbie3BPEyROB+VEklvE=", "dev": true, "requires": { - "babel-code-frame": "^6.22.0", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.22.0", - "babel-types": "^6.25.0", - "babylon": "^6.17.2", - "debug": "^2.2.0", - "globals": "^9.0.0", - "invariant": "^2.2.0", - "lodash": "^4.2.0" + "babel-code-frame": "6.22.0", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.25.0", + "babylon": "6.17.4", + "debug": "2.6.8", + "globals": "9.18.0", + "invariant": "2.2.2", + "lodash": "4.17.4" } }, "babel-types": { @@ -956,10 +1057,10 @@ "integrity": "sha1-cK+ySNVmDl0Y+BHZHIMDtUE0oY4=", "dev": true, "requires": { - "babel-runtime": "^6.22.0", - "esutils": "^2.0.2", - "lodash": "^4.2.0", - "to-fast-properties": "^1.0.1" + "babel-runtime": "6.26.0", + "esutils": "2.0.2", + "lodash": "4.17.4", + "to-fast-properties": "1.0.3" } }, "babylon": { @@ -974,6 +1075,73 @@ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "1.0.1", + "class-utils": "0.3.6", + "component-emitter": "1.2.1", + "define-property": "1.0.0", + "isobject": "3.0.1", + "mixin-deep": "1.3.1", + "pascalcase": "0.1.1" + }, + "dependencies": { + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + }, + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, "base-64": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/base-64/-/base-64-0.1.0.tgz", @@ -998,7 +1166,7 @@ "dev": true, "optional": true, "requires": { - "tweetnacl": "^0.14.3" + "tweetnacl": "0.14.5" } }, "big.js": { @@ -1019,7 +1187,7 @@ "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", "dev": true, "requires": { - "inherits": "~2.0.0" + "inherits": "2.0.3" } }, "bn.js": { @@ -1035,15 +1203,15 @@ "dev": true, "requires": { "bytes": "3.0.0", - "content-type": "~1.0.4", + "content-type": "1.0.4", "debug": "2.6.9", - "depd": "~1.1.1", - "http-errors": "~1.6.2", + "depd": "1.1.2", + "http-errors": "1.6.3", "iconv-lite": "0.4.19", - "on-finished": "~2.3.0", + "on-finished": "2.3.0", "qs": "6.5.1", "raw-body": "2.3.2", - "type-is": "~1.6.15" + "type-is": "1.6.15" }, "dependencies": { "bytes": { @@ -1052,12 +1220,6 @@ "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", "dev": true }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "dev": true - }, "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", @@ -1068,21 +1230,21 @@ } }, "depd": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", - "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", "dev": true }, "http-errors": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", - "integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=", + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", "dev": true, "requires": { - "depd": "1.1.1", + "depd": "1.1.2", "inherits": "2.0.3", - "setprototypeof": "1.0.3", - "statuses": ">= 1.3.1 < 2" + "setprototypeof": "1.1.0", + "statuses": "1.5.0" } }, "iconv-lite": { @@ -1096,6 +1258,18 @@ "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "dev": true } } }, @@ -1105,12 +1279,12 @@ "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=", "dev": true, "requires": { - "array-flatten": "^2.1.0", - "deep-equal": "^1.0.1", - "dns-equal": "^1.0.0", - "dns-txt": "^2.0.2", - "multicast-dns": "^6.0.1", - "multicast-dns-service-types": "^1.1.0" + "array-flatten": "2.1.1", + "deep-equal": "1.0.1", + "dns-equal": "1.0.0", + "dns-txt": "2.0.2", + "multicast-dns": "6.1.1", + "multicast-dns-service-types": "1.1.0" } }, "boom": { @@ -1119,7 +1293,7 @@ "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", "dev": true, "requires": { - "hoek": "2.x.x" + "hoek": "2.16.3" } }, "brace-expansion": { @@ -1128,7 +1302,7 @@ "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", "dev": true, "requires": { - "balanced-match": "^1.0.0", + "balanced-match": "1.0.0", "concat-map": "0.0.1" } }, @@ -1138,9 +1312,9 @@ "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", "dev": true, "requires": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" + "expand-range": "1.8.2", + "preserve": "0.2.0", + "repeat-element": "1.1.2" } }, "brorand": { @@ -1155,11 +1329,11 @@ "integrity": "sha1-Xncl297x/Vkw1OurSFZ85FHEigo=", "dev": true, "requires": { - "buffer-xor": "^1.0.2", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.0", - "inherits": "^2.0.1" + "buffer-xor": "1.0.3", + "cipher-base": "1.0.4", + "create-hash": "1.1.3", + "evp_bytestokey": "1.0.0", + "inherits": "2.0.3" } }, "browserify-cipher": { @@ -1168,9 +1342,9 @@ "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=", "dev": true, "requires": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" + "browserify-aes": "1.0.6", + "browserify-des": "1.0.0", + "evp_bytestokey": "1.0.0" } }, "browserify-des": { @@ -1179,9 +1353,9 @@ "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=", "dev": true, "requires": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1" + "cipher-base": "1.0.4", + "des.js": "1.0.0", + "inherits": "2.0.3" } }, "browserify-rsa": { @@ -1190,8 +1364,8 @@ "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "randombytes": "^2.0.1" + "bn.js": "4.11.7", + "randombytes": "2.0.5" } }, "browserify-sign": { @@ -1200,13 +1374,13 @@ "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", "dev": true, "requires": { - "bn.js": "^4.1.1", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.2", - "elliptic": "^6.0.0", - "inherits": "^2.0.1", - "parse-asn1": "^5.0.0" + "bn.js": "4.11.7", + "browserify-rsa": "4.0.1", + "create-hash": "1.1.3", + "create-hmac": "1.1.6", + "elliptic": "6.4.0", + "inherits": "2.0.3", + "parse-asn1": "5.1.0" } }, "browserify-zlib": { @@ -1215,7 +1389,7 @@ "integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=", "dev": true, "requires": { - "pako": "~0.2.0" + "pako": "0.2.9" } }, "browserslist": { @@ -1224,8 +1398,8 @@ "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "dev": true, "requires": { - "caniuse-db": "^1.0.30000639", - "electron-to-chromium": "^1.2.7" + "caniuse-db": "1.0.30000704", + "electron-to-chromium": "1.3.16" } }, "buffer": { @@ -1234,15 +1408,15 @@ "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", "dev": true, "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" + "base64-js": "1.2.1", + "ieee754": "1.1.8", + "isarray": "1.0.0" } }, "buffer-indexof": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.0.tgz", - "integrity": "sha1-9U9kfE9OJSKLqmVqLlfkPV8nCYI=", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz", + "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==", "dev": true }, "buffer-xor": { @@ -1264,9 +1438,9 @@ "dev": true }, "bulma": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/bulma/-/bulma-0.5.2.tgz", - "integrity": "sha1-tcRpUHVwC5U5YZVVhA2PT5+Es6U=", + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/bulma/-/bulma-0.5.3.tgz", + "integrity": "sha1-vpOvtiRhklBcMN8/nBwpqX0xmhM=", "dev": true }, "bytes": { @@ -1275,6 +1449,31 @@ "integrity": "sha1-TJQj6i0lLCcMQbK97+/5u2tiwGo=", "dev": true }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "1.0.0", + "component-emitter": "1.2.1", + "get-value": "2.0.6", + "has-value": "1.0.0", + "isobject": "3.0.1", + "set-value": "2.0.0", + "to-object-path": "0.3.0", + "union-value": "1.0.0", + "unset-value": "1.0.0" + }, + "dependencies": { + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + } + } + }, "camelcase": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", @@ -1287,8 +1486,8 @@ "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", "dev": true, "requires": { - "camelcase": "^2.0.0", - "map-obj": "^1.0.0" + "camelcase": "2.1.1", + "map-obj": "1.0.1" } }, "caniuse-api": { @@ -1297,10 +1496,10 @@ "integrity": "sha1-tTTnxzTE+B7F++isoq0kNUuWLGw=", "dev": true, "requires": { - "browserslist": "^1.3.6", - "caniuse-db": "^1.0.30000529", - "lodash.memoize": "^4.1.2", - "lodash.uniq": "^4.5.0" + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000704", + "lodash.memoize": "4.1.2", + "lodash.uniq": "4.5.0" } }, "caniuse-db": { @@ -1321,8 +1520,8 @@ "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", "dev": true, "requires": { - "align-text": "^0.1.3", - "lazy-cache": "^1.0.3" + "align-text": "0.1.4", + "lazy-cache": "1.0.4" }, "dependencies": { "lazy-cache": { @@ -1339,11 +1538,11 @@ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" } }, "chokidar": { @@ -1352,15 +1551,15 @@ "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", "dev": true, "requires": { - "anymatch": "^1.3.0", - "async-each": "^1.0.0", - "fsevents": "^1.0.0", - "glob-parent": "^2.0.0", - "inherits": "^2.0.1", - "is-binary-path": "^1.0.0", - "is-glob": "^2.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.0.0" + "anymatch": "1.3.0", + "async-each": "1.0.1", + "fsevents": "1.2.0", + "glob-parent": "2.0.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "2.0.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.1.0" } }, "chownr": { @@ -1376,8 +1575,8 @@ "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.0.1" } }, "clap": { @@ -1386,7 +1585,30 @@ "integrity": "sha1-WckP4+E3EEdG/xlGmiemNP9oyFc=", "dev": true, "requires": { - "chalk": "^1.1.3" + "chalk": "1.1.3" + } + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "3.1.0", + "define-property": "0.2.5", + "isobject": "3.0.1", + "static-extend": "0.1.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + } } }, "cliui": { @@ -1395,9 +1617,9 @@ "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "dev": true, "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" } }, "clone": { @@ -1405,18 +1627,6 @@ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz", "integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=" }, - "clone-deep": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-0.3.0.tgz", - "integrity": "sha1-NIxhrpzb4O3+BT2R/0zFIdeQ7eg=", - "dev": true, - "requires": { - "for-own": "^1.0.0", - "is-plain-object": "^2.0.1", - "kind-of": "^3.2.2", - "shallow-clone": "^0.1.2" - } - }, "co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -1429,7 +1639,7 @@ "integrity": "sha1-qe8VNmDWqGqL3sAomlxoTSF0Mv0=", "dev": true, "requires": { - "q": "^1.1.2" + "q": "1.5.0" } }, "code-point-at": { @@ -1438,15 +1648,25 @@ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "1.0.0", + "object-visit": "1.0.1" + } + }, "color": { "version": "0.11.4", "resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz", "integrity": "sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q=", "dev": true, "requires": { - "clone": "^1.0.2", - "color-convert": "^1.3.0", - "color-string": "^0.3.0" + "clone": "1.0.2", + "color-convert": "1.9.0", + "color-string": "0.3.0" }, "dependencies": { "clone": { @@ -1463,7 +1683,7 @@ "integrity": "sha1-Gsz5fdc5uYO/mU1W/sj5WFNkG3o=", "dev": true, "requires": { - "color-name": "^1.1.1" + "color-name": "1.1.3" } }, "color-name": { @@ -1478,7 +1698,7 @@ "integrity": "sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE=", "dev": true, "requires": { - "color-name": "^1.0.0" + "color-name": "1.1.3" } }, "colormin": { @@ -1487,9 +1707,9 @@ "integrity": "sha1-6i90IKcrlogaOKrlnsEkpvcpgTM=", "dev": true, "requires": { - "color": "^0.11.0", + "color": "0.11.4", "css-color-names": "0.0.4", - "has": "^1.0.1" + "has": "1.0.3" } }, "colors": { @@ -1504,7 +1724,7 @@ "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", "dev": true, "requires": { - "delayed-stream": "~1.0.0" + "delayed-stream": "1.0.0" } }, "commander": { @@ -1530,7 +1750,7 @@ "integrity": "sha1-/tocf3YXkScyspv4zyYlKiC57s0=", "dev": true, "requires": { - "mime-db": ">= 1.27.0 < 2" + "mime-db": "1.27.0" } }, "compression": { @@ -1539,13 +1759,13 @@ "integrity": "sha1-AwyfGY8WQ6BX13anOOki2kNzAS0=", "dev": true, "requires": { - "accepts": "~1.3.3", + "accepts": "1.3.3", "bytes": "2.5.0", - "compressible": "~2.0.10", + "compressible": "2.0.10", "debug": "2.6.8", - "on-headers": "~1.0.1", + "on-headers": "1.0.1", "safe-buffer": "5.1.1", - "vary": "~1.1.1" + "vary": "1.1.1" }, "dependencies": { "safe-buffer": { @@ -1563,9 +1783,9 @@ "dev": true }, "connect-history-api-fallback": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.3.0.tgz", - "integrity": "sha1-5R0X+PDvDbkKZP20feMFFVbp8Wk=", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz", + "integrity": "sha1-sGhzk0vF40T+9hGhlqb6rgruAVo=", "dev": true }, "console-browserify": { @@ -1574,7 +1794,7 @@ "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", "dev": true, "requires": { - "date-now": "^0.1.4" + "date-now": "0.1.4" } }, "console-control-strings": { @@ -1595,10 +1815,10 @@ "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=", "dev": true }, - "convert-source-map": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", - "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=", + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", "dev": true }, "cookie": { @@ -1613,6 +1833,12 @@ "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", "dev": true }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, "core-js": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz", @@ -1630,8 +1856,8 @@ "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "elliptic": "^6.0.0" + "bn.js": "4.11.7", + "elliptic": "6.4.0" } }, "create-hash": { @@ -1640,10 +1866,10 @@ "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=", "dev": true, "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "sha.js": "^2.4.0" + "cipher-base": "1.0.4", + "inherits": "2.0.3", + "ripemd160": "2.0.1", + "sha.js": "2.4.8" } }, "create-hmac": { @@ -1652,12 +1878,12 @@ "integrity": "sha1-rLniIaThe9sHbpBlfEK5PjcmzwY=", "dev": true, "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "cipher-base": "1.0.4", + "create-hash": "1.1.3", + "inherits": "2.0.3", + "ripemd160": "2.0.1", + "safe-buffer": "5.0.1", + "sha.js": "2.4.8" } }, "create-react-class": { @@ -1665,9 +1891,9 @@ "resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.6.0.tgz", "integrity": "sha1-q0SEl8JlZuHilBPogyB9V8/nvtQ=", "requires": { - "fbjs": "^0.8.9", - "loose-envify": "^1.3.1", - "object-assign": "^4.1.1" + "fbjs": "0.8.12", + "loose-envify": "1.3.1", + "object-assign": "4.1.1" } }, "cross-spawn": { @@ -1676,8 +1902,8 @@ "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", "dev": true, "requires": { - "lru-cache": "^4.0.1", - "which": "^1.2.9" + "lru-cache": "4.1.1", + "which": "1.2.14" } }, "cryptiles": { @@ -1686,7 +1912,7 @@ "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", "dev": true, "requires": { - "boom": "2.x.x" + "boom": "2.10.1" } }, "crypto-browserify": { @@ -1695,16 +1921,16 @@ "integrity": "sha512-Na7ZlwCOqoaW5RwUK1WpXws2kv8mNhWdTlzob0UXulk6G9BDbyiJaGTYBIX61Ozn9l1EPPJpICZb4DaOpT9NlQ==", "dev": true, "requires": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0" + "browserify-cipher": "1.0.0", + "browserify-sign": "4.0.4", + "create-ecdh": "4.0.0", + "create-hash": "1.1.3", + "create-hmac": "1.1.6", + "diffie-hellman": "5.0.2", + "inherits": "2.0.3", + "pbkdf2": "3.0.12", + "public-encrypt": "4.0.0", + "randombytes": "2.0.5" } }, "css-color-names": { @@ -1719,20 +1945,20 @@ "integrity": "sha512-GxMpax8a/VgcfRrVy0gXD6yLd5ePYbXX/5zGgTVYp4wXtJklS8Z2VaUArJgc//f6/Dzil7BaJObdSv8eKKCPgg==", "dev": true, "requires": { - "babel-code-frame": "^6.11.0", - "css-selector-tokenizer": "^0.7.0", - "cssnano": ">=2.6.1 <4", - "icss-utils": "^2.1.0", - "loader-utils": "^1.0.2", - "lodash.camelcase": "^4.3.0", - "object-assign": "^4.0.1", - "postcss": "^5.0.6", - "postcss-modules-extract-imports": "^1.0.0", - "postcss-modules-local-by-default": "^1.0.1", - "postcss-modules-scope": "^1.0.0", - "postcss-modules-values": "^1.1.0", - "postcss-value-parser": "^3.3.0", - "source-list-map": "^2.0.0" + "babel-code-frame": "6.22.0", + "css-selector-tokenizer": "0.7.0", + "cssnano": "3.10.0", + "icss-utils": "2.1.0", + "loader-utils": "1.1.0", + "lodash.camelcase": "4.3.0", + "object-assign": "4.1.1", + "postcss": "5.2.17", + "postcss-modules-extract-imports": "1.1.0", + "postcss-modules-local-by-default": "1.2.0", + "postcss-modules-scope": "1.1.0", + "postcss-modules-values": "1.3.0", + "postcss-value-parser": "3.3.0", + "source-list-map": "2.0.0" }, "dependencies": { "source-list-map": { @@ -1749,9 +1975,9 @@ "integrity": "sha1-5piEdK6MlTR3v15+/s/OzNnPTIY=", "dev": true, "requires": { - "cssesc": "^0.1.0", - "fastparse": "^1.1.1", - "regexpu-core": "^1.0.0" + "cssesc": "0.1.0", + "fastparse": "1.1.1", + "regexpu-core": "1.0.0" }, "dependencies": { "regexpu-core": { @@ -1760,9 +1986,9 @@ "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=", "dev": true, "requires": { - "regenerate": "^1.2.1", - "regjsgen": "^0.2.0", - "regjsparser": "^0.1.4" + "regenerate": "1.3.2", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" } } } @@ -1779,38 +2005,38 @@ "integrity": "sha1-Tzj2zqK5sX+gFJDyPx3GjqZcHDg=", "dev": true, "requires": { - "autoprefixer": "^6.3.1", - "decamelize": "^1.1.2", - "defined": "^1.0.0", - "has": "^1.0.1", - "object-assign": "^4.0.1", - "postcss": "^5.0.14", - "postcss-calc": "^5.2.0", - "postcss-colormin": "^2.1.8", - "postcss-convert-values": "^2.3.4", - "postcss-discard-comments": "^2.0.4", - "postcss-discard-duplicates": "^2.0.1", - "postcss-discard-empty": "^2.0.1", - "postcss-discard-overridden": "^0.1.1", - "postcss-discard-unused": "^2.2.1", - "postcss-filter-plugins": "^2.0.0", - "postcss-merge-idents": "^2.1.5", - "postcss-merge-longhand": "^2.0.1", - "postcss-merge-rules": "^2.0.3", - "postcss-minify-font-values": "^1.0.2", - "postcss-minify-gradients": "^1.0.1", - "postcss-minify-params": "^1.0.4", - "postcss-minify-selectors": "^2.0.4", - "postcss-normalize-charset": "^1.1.0", - "postcss-normalize-url": "^3.0.7", - "postcss-ordered-values": "^2.1.0", - "postcss-reduce-idents": "^2.2.2", - "postcss-reduce-initial": "^1.0.0", - "postcss-reduce-transforms": "^1.0.3", - "postcss-svgo": "^2.1.1", - "postcss-unique-selectors": "^2.0.2", - "postcss-value-parser": "^3.2.3", - "postcss-zindex": "^2.0.1" + "autoprefixer": "6.7.7", + "decamelize": "1.2.0", + "defined": "1.0.0", + "has": "1.0.3", + "object-assign": "4.1.1", + "postcss": "5.2.17", + "postcss-calc": "5.3.1", + "postcss-colormin": "2.2.2", + "postcss-convert-values": "2.6.1", + "postcss-discard-comments": "2.0.4", + "postcss-discard-duplicates": "2.1.0", + "postcss-discard-empty": "2.1.0", + "postcss-discard-overridden": "0.1.1", + "postcss-discard-unused": "2.2.3", + "postcss-filter-plugins": "2.0.2", + "postcss-merge-idents": "2.1.7", + "postcss-merge-longhand": "2.0.2", + "postcss-merge-rules": "2.1.2", + "postcss-minify-font-values": "1.0.5", + "postcss-minify-gradients": "1.0.5", + "postcss-minify-params": "1.2.2", + "postcss-minify-selectors": "2.1.1", + "postcss-normalize-charset": "1.1.1", + "postcss-normalize-url": "3.0.8", + "postcss-ordered-values": "2.2.3", + "postcss-reduce-idents": "2.4.0", + "postcss-reduce-initial": "1.0.1", + "postcss-reduce-transforms": "1.0.4", + "postcss-svgo": "2.1.6", + "postcss-unique-selectors": "2.0.2", + "postcss-value-parser": "3.3.0", + "postcss-zindex": "2.2.0" } }, "csso": { @@ -1819,8 +2045,8 @@ "integrity": "sha1-3dUsWHAz9J6Utx/FVWnyUuj/X4U=", "dev": true, "requires": { - "clap": "^1.0.9", - "source-map": "^0.5.3" + "clap": "1.2.0", + "source-map": "0.5.6" } }, "currently-unhandled": { @@ -1829,7 +2055,7 @@ "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", "dev": true, "requires": { - "array-find-index": "^1.0.1" + "array-find-index": "1.0.2" } }, "d": { @@ -1838,7 +2064,7 @@ "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", "dev": true, "requires": { - "es5-ext": "^0.10.9" + "es5-ext": "0.10.24" } }, "dashdash": { @@ -1847,7 +2073,7 @@ "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, "requires": { - "assert-plus": "^1.0.0" + "assert-plus": "1.0.0" }, "dependencies": { "assert-plus": { @@ -1879,6 +2105,12 @@ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, "deep-equal": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", @@ -1891,8 +2123,55 @@ "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", "dev": true, "requires": { - "foreach": "^2.0.5", - "object-keys": "^1.0.8" + "foreach": "2.0.5", + "object-keys": "1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "1.0.2", + "isobject": "3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } } }, "defined": { @@ -1907,12 +2186,12 @@ "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", "dev": true, "requires": { - "globby": "^6.1.0", - "is-path-cwd": "^1.0.0", - "is-path-in-cwd": "^1.0.0", - "p-map": "^1.1.1", - "pify": "^3.0.0", - "rimraf": "^2.2.8" + "globby": "6.1.0", + "is-path-cwd": "1.0.0", + "is-path-in-cwd": "1.0.0", + "p-map": "1.1.1", + "pify": "3.0.0", + "rimraf": "2.6.1" }, "dependencies": { "pify": { @@ -1947,8 +2226,8 @@ "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", "dev": true, "requires": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0" } }, "destroy": { @@ -1963,7 +2242,7 @@ "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", "dev": true, "requires": { - "repeating": "^2.0.0" + "repeating": "2.0.1" } }, "detect-node": { @@ -1978,9 +2257,9 @@ "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" + "bn.js": "4.11.7", + "miller-rabin": "4.0.0", + "randombytes": "2.0.5" } }, "dns-equal": { @@ -1995,8 +2274,8 @@ "integrity": "sha1-I2nUUDivBF84mOb6VoYq7T9AKWw=", "dev": true, "requires": { - "ip": "^1.1.0", - "safe-buffer": "^5.0.1" + "ip": "1.1.5", + "safe-buffer": "5.0.1" } }, "dns-txt": { @@ -2005,7 +2284,7 @@ "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=", "dev": true, "requires": { - "buffer-indexof": "^1.0.0" + "buffer-indexof": "1.1.1" } }, "domain-browser": { @@ -2021,7 +2300,7 @@ "dev": true, "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "0.1.1" } }, "ee-first": { @@ -2042,13 +2321,13 @@ "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=", "dev": true, "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" + "bn.js": "4.11.7", + "brorand": "1.1.0", + "hash.js": "1.1.3", + "hmac-drbg": "1.0.1", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0", + "minimalistic-crypto-utils": "1.0.1" } }, "emojis-list": { @@ -2058,9 +2337,9 @@ "dev": true }, "encodeurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.1.tgz", - "integrity": "sha1-eePVhlU0aQn+bw9Fpd5oEDspTSA=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", "dev": true }, "encoding": { @@ -2068,7 +2347,7 @@ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", "requires": { - "iconv-lite": "~0.4.13" + "iconv-lite": "0.4.18" } }, "enhanced-resolve": { @@ -2077,10 +2356,10 @@ "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.4.0", - "object-assign": "^4.0.1", - "tapable": "^0.2.7" + "graceful-fs": "4.1.11", + "memory-fs": "0.4.1", + "object-assign": "4.1.1", + "tapable": "0.2.7" } }, "errno": { @@ -2089,7 +2368,7 @@ "integrity": "sha1-uJbiOp5ei6M4cfyZar02NfyaHH0=", "dev": true, "requires": { - "prr": "~0.0.0" + "prr": "0.0.0" } }, "error-ex": { @@ -2098,20 +2377,20 @@ "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", "dev": true, "requires": { - "is-arrayish": "^0.2.1" + "is-arrayish": "0.2.1" } }, "es-abstract": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.10.0.tgz", - "integrity": "sha512-/uh/DhdqIOSkAWifU+8nG78vlQxdLckUdI/sPgy0VhuXi2qJ7T8czBmqIYtLQVpCIFYafChnsRsB5pyb1JdmCQ==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", + "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", "dev": true, "requires": { - "es-to-primitive": "^1.1.1", - "function-bind": "^1.1.1", - "has": "^1.0.1", - "is-callable": "^1.1.3", - "is-regex": "^1.0.4" + "es-to-primitive": "1.1.1", + "function-bind": "1.1.1", + "has": "1.0.3", + "is-callable": "1.1.3", + "is-regex": "1.0.4" }, "dependencies": { "function-bind": { @@ -2128,9 +2407,9 @@ "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", "dev": true, "requires": { - "is-callable": "^1.1.1", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.1" + "is-callable": "1.1.3", + "is-date-object": "1.0.1", + "is-symbol": "1.0.1" } }, "es5-ext": { @@ -2139,8 +2418,8 @@ "integrity": "sha1-pVh3yZJLwMjZvTwsvhdJWsFwmxQ=", "dev": true, "requires": { - "es6-iterator": "2", - "es6-symbol": "~3.1" + "es6-iterator": "2.0.1", + "es6-symbol": "3.1.1" } }, "es6-iterator": { @@ -2149,9 +2428,9 @@ "integrity": "sha1-jjGcnwRTv1ddN0lAplWSDlnKVRI=", "dev": true, "requires": { - "d": "1", - "es5-ext": "^0.10.14", - "es6-symbol": "^3.1" + "d": "1.0.0", + "es5-ext": "0.10.24", + "es6-symbol": "3.1.1" } }, "es6-map": { @@ -2160,12 +2439,12 @@ "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", "dev": true, "requires": { - "d": "1", - "es5-ext": "~0.10.14", - "es6-iterator": "~2.0.1", - "es6-set": "~0.1.5", - "es6-symbol": "~3.1.1", - "event-emitter": "~0.3.5" + "d": "1.0.0", + "es5-ext": "0.10.24", + "es6-iterator": "2.0.1", + "es6-set": "0.1.5", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" } }, "es6-set": { @@ -2174,11 +2453,11 @@ "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", "dev": true, "requires": { - "d": "1", - "es5-ext": "~0.10.14", - "es6-iterator": "~2.0.1", + "d": "1.0.0", + "es5-ext": "0.10.24", + "es6-iterator": "2.0.1", "es6-symbol": "3.1.1", - "event-emitter": "~0.3.5" + "event-emitter": "0.3.5" } }, "es6-symbol": { @@ -2187,8 +2466,8 @@ "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", "dev": true, "requires": { - "d": "1", - "es5-ext": "~0.10.14" + "d": "1.0.0", + "es5-ext": "0.10.24" } }, "es6-weak-map": { @@ -2197,10 +2476,10 @@ "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", "dev": true, "requires": { - "d": "1", - "es5-ext": "^0.10.14", - "es6-iterator": "^2.0.1", - "es6-symbol": "^3.1.1" + "d": "1.0.0", + "es5-ext": "0.10.24", + "es6-iterator": "2.0.1", + "es6-symbol": "3.1.1" } }, "escape-html": { @@ -2221,10 +2500,10 @@ "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", "dev": true, "requires": { - "es6-map": "^0.1.3", - "es6-weak-map": "^2.0.1", - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" + "es6-map": "0.1.5", + "es6-weak-map": "2.0.2", + "esrecurse": "4.2.1", + "estraverse": "4.2.0" } }, "esprima": { @@ -2234,13 +2513,12 @@ "dev": true }, "esrecurse": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.0.tgz", - "integrity": "sha1-+pVo2Y04I/mkHZHpAtyrnqblsWM=", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", "dev": true, "requires": { - "estraverse": "^4.1.0", - "object-assign": "^4.0.1" + "estraverse": "4.2.0" } }, "estraverse": { @@ -2255,14 +2533,20 @@ "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", "dev": true }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, "event-emitter": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", "dev": true, "requires": { - "d": "1", - "es5-ext": "~0.10.14" + "d": "1.0.0", + "es5-ext": "0.10.24" } }, "eventemitter3": { @@ -2283,7 +2567,7 @@ "integrity": "sha1-Cs7ehJ7X3RzMMsgRuxG5RNTykjI=", "dev": true, "requires": { - "original": ">=0.0.5" + "original": "1.0.0" } }, "evp_bytestokey": { @@ -2292,7 +2576,7 @@ "integrity": "sha1-SXtmrZ/vZc18CKYYCCS6FHa2blM=", "dev": true, "requires": { - "create-hash": "^1.1.1" + "create-hash": "1.1.3" } }, "execa": { @@ -2301,13 +2585,13 @@ "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", "dev": true, "requires": { - "cross-spawn": "^5.0.1", - "get-stream": "^3.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" }, "dependencies": { "cross-spawn": { @@ -2316,9 +2600,9 @@ "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", "dev": true, "requires": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "lru-cache": "4.1.1", + "shebang-command": "1.2.0", + "which": "1.2.14" } } } @@ -2329,7 +2613,7 @@ "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", "dev": true, "requires": { - "is-posix-bracket": "^0.1.0" + "is-posix-bracket": "0.1.1" } }, "expand-range": { @@ -2338,7 +2622,139 @@ "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", "dev": true, "requires": { - "fill-range": "^2.1.0" + "fill-range": "2.2.3" + } + }, + "express": { + "version": "4.16.3", + "resolved": "https://registry.npmjs.org/express/-/express-4.16.3.tgz", + "integrity": "sha1-avilAjUNsyRuzEvs9rWjTSL37VM=", + "dev": true, + "requires": { + "accepts": "1.3.5", + "array-flatten": "1.1.1", + "body-parser": "1.18.2", + "content-disposition": "0.5.2", + "content-type": "1.0.4", + "cookie": "0.3.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "1.1.2", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "finalhandler": "1.1.1", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "1.1.2", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "path-to-regexp": "0.1.7", + "proxy-addr": "2.0.3", + "qs": "6.5.1", + "range-parser": "1.2.0", + "safe-buffer": "5.1.1", + "send": "0.16.2", + "serve-static": "1.13.2", + "setprototypeof": "1.1.0", + "statuses": "1.4.0", + "type-is": "1.6.16", + "utils-merge": "1.0.1", + "vary": "1.1.2" + }, + "dependencies": { + "accepts": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", + "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", + "dev": true, + "requires": { + "mime-types": "2.1.18", + "negotiator": "0.6.1" + } + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "mime-db": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", + "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==", + "dev": true + }, + "mime-types": { + "version": "2.1.18", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", + "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "dev": true, + "requires": { + "mime-db": "1.33.0" + } + }, + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + }, + "qs": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", + "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", + "dev": true + }, + "safe-buffer": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", + "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + }, + "type-is": { + "version": "1.6.16", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", + "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "2.1.18" + } + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + } } }, "extend": { @@ -2347,13 +2763,34 @@ "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=", "dev": true }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "2.0.4" + } + } + } + }, "extglob": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", "dev": true, "requires": { - "is-extglob": "^1.0.0" + "is-extglob": "1.0.0" } }, "extsprintf": { @@ -2363,12 +2800,12 @@ "dev": true }, "fable-loader": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/fable-loader/-/fable-loader-1.1.2.tgz", - "integrity": "sha512-mj/fw4gxfbLlGoWpI5DflNsxCvegfiLWLlOWxrwcQKDQRb9wmcJ6T31BclgulE2KWnUNneUD4e3XNfNqnPBaGg==", + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/fable-loader/-/fable-loader-1.1.6.tgz", + "integrity": "sha512-eKddJyVzBX5Tdq1fNcoYgAZ4PsaqaE6gd2KiL86a9fKN9qErqa/uZGhFuu6ndAP3F+x0IeObZlHGnn/wazb/mw==", "dev": true, "requires": { - "fable-utils": "^1.0.4" + "fable-utils": "1.0.6" } }, "fable-utils": { @@ -2401,7 +2838,7 @@ "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", "dev": true, "requires": { - "websocket-driver": ">=0.5.1" + "websocket-driver": "0.7.0" } }, "fbjs": { @@ -2409,13 +2846,13 @@ "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.12.tgz", "integrity": "sha1-ELXZL3bUVXX9Y6IX1OoCvqL47QQ=", "requires": { - "core-js": "^1.0.0", - "isomorphic-fetch": "^2.1.1", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^0.7.9" + "core-js": "1.2.7", + "isomorphic-fetch": "2.2.1", + "loose-envify": "1.3.1", + "object-assign": "4.1.1", + "promise": "7.3.1", + "setimmediate": "1.0.5", + "ua-parser-js": "0.7.14" }, "dependencies": { "core-js": { @@ -2437,11 +2874,11 @@ "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", "dev": true, "requires": { - "is-number": "^2.1.0", - "isobject": "^2.0.0", - "randomatic": "^1.1.3", - "repeat-element": "^1.1.2", - "repeat-string": "^1.5.2" + "is-number": "2.1.0", + "isobject": "2.1.0", + "randomatic": "1.1.7", + "repeat-element": "1.1.2", + "repeat-string": "1.6.1" }, "dependencies": { "isobject": { @@ -2455,15 +2892,53 @@ } } }, + "finalhandler": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.4.0", + "unpipe": "1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + } + } + }, "find-cache-dir": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", "dev": true, "requires": { - "commondir": "^1.0.1", - "make-dir": "^1.0.0", - "pkg-dir": "^2.0.0" + "commondir": "1.0.1", + "make-dir": "1.0.0", + "pkg-dir": "2.0.0" } }, "find-up": { @@ -2472,7 +2947,7 @@ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { - "locate-path": "^2.0.0" + "locate-path": "2.0.0" } }, "flatten": { @@ -2493,7 +2968,7 @@ "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", "dev": true, "requires": { - "for-in": "^1.0.1" + "for-in": "1.0.2" } }, "foreach": { @@ -2514,11 +2989,32 @@ "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", "dev": true, "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.5", - "mime-types": "^2.1.12" + "asynckit": "0.4.0", + "combined-stream": "1.0.6", + "mime-types": "2.1.15" } }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "dev": true + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "0.2.2" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, "fs-minipass": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", @@ -2526,7 +3022,7 @@ "dev": true, "optional": true, "requires": { - "minipass": "^2.2.1" + "minipass": "2.2.4" } }, "fs.realpath": { @@ -2542,8 +3038,8 @@ "dev": true, "optional": true, "requires": { - "nan": "^2.9.2", - "node-pre-gyp": "^0.9.0" + "nan": "2.10.0", + "node-pre-gyp": "0.9.1" }, "dependencies": { "abbrev": { @@ -2556,8 +3052,8 @@ "version": "4.11.8", "bundled": true, "requires": { - "co": "^4.6.0", - "json-stable-stringify": "^1.0.1" + "co": "4.6.0", + "json-stable-stringify": "1.0.1" } }, "ansi-regex": { @@ -2610,28 +3106,28 @@ "bundled": true, "optional": true, "requires": { - "tweetnacl": "^0.14.3" + "tweetnacl": "0.14.5" } }, "block-stream": { "version": "0.0.9", "bundled": true, "requires": { - "inherits": "~2.0.0" + "inherits": "2.0.3" } }, "boom": { "version": "2.10.1", "bundled": true, "requires": { - "hoek": "2.x.x" + "hoek": "2.16.3" } }, "brace-expansion": { "version": "1.1.7", "bundled": true, "requires": { - "balanced-match": "^0.4.1", + "balanced-match": "0.4.2", "concat-map": "0.0.1" } }, @@ -2656,7 +3152,7 @@ "version": "1.0.5", "bundled": true, "requires": { - "delayed-stream": "~1.0.0" + "delayed-stream": "1.0.0" } }, "concat-map": { @@ -2676,14 +3172,14 @@ "version": "2.0.5", "bundled": true, "requires": { - "boom": "2.x.x" + "boom": "2.10.1" } }, "dashdash": { "version": "1.14.1", "bundled": true, "requires": { - "assert-plus": "^1.0.0" + "assert-plus": "1.0.0" }, "dependencies": { "assert-plus": { @@ -2726,7 +3222,7 @@ "bundled": true, "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "0.1.1" } }, "extend": { @@ -2745,9 +3241,9 @@ "version": "2.1.4", "bundled": true, "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.5", - "mime-types": "^2.1.12" + "asynckit": "0.4.0", + "combined-stream": "1.0.5", + "mime-types": "2.1.15" } }, "fs.realpath": { @@ -2758,19 +3254,19 @@ "version": "1.0.11", "bundled": true, "requires": { - "graceful-fs": "^4.1.2", - "inherits": "~2.0.0", - "mkdirp": ">=0.5 0", - "rimraf": "2" + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.1" } }, "fstream-ignore": { "version": "1.0.5", "bundled": true, "requires": { - "fstream": "^1.0.0", - "inherits": "2", - "minimatch": "^3.0.0" + "fstream": "1.0.11", + "inherits": "2.0.3", + "minimatch": "3.0.4" } }, "gauge": { @@ -2793,7 +3289,7 @@ "version": "0.1.7", "bundled": true, "requires": { - "assert-plus": "^1.0.0" + "assert-plus": "1.0.0" }, "dependencies": { "assert-plus": { @@ -2806,12 +3302,12 @@ "version": "7.1.2", "bundled": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "graceful-fs": { @@ -2826,8 +3322,8 @@ "version": "4.2.1", "bundled": true, "requires": { - "ajv": "^4.9.1", - "har-schema": "^1.0.5" + "ajv": "4.11.8", + "har-schema": "1.0.5" } }, "has-unicode": { @@ -2840,10 +3336,10 @@ "version": "3.1.3", "bundled": true, "requires": { - "boom": "2.x.x", - "cryptiles": "2.x.x", - "hoek": "2.x.x", - "sntp": "1.x.x" + "boom": "2.10.1", + "cryptiles": "2.0.5", + "hoek": "2.16.3", + "sntp": "1.0.9" } }, "hoek": { @@ -2854,17 +3350,17 @@ "version": "1.1.1", "bundled": true, "requires": { - "assert-plus": "^0.2.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" + "assert-plus": "0.2.0", + "jsprim": "1.4.0", + "sshpk": "1.13.0" } }, "inflight": { "version": "1.0.6", "bundled": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -2902,7 +3398,7 @@ "bundled": true, "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "0.1.1" } }, "jsbn": { @@ -2918,7 +3414,7 @@ "version": "1.0.1", "bundled": true, "requires": { - "jsonify": "~0.0.0" + "jsonify": "0.0.0" } }, "json-stringify-safe": { @@ -2953,14 +3449,14 @@ "version": "2.1.15", "bundled": true, "requires": { - "mime-db": "~1.27.0" + "mime-db": "1.27.0" } }, "minimatch": { "version": "3.0.4", "bundled": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.7" } }, "minimist": { @@ -2992,16 +3488,16 @@ "dev": true, "optional": true, "requires": { - "detect-libc": "^1.0.2", - "mkdirp": "^0.5.1", - "needle": "^2.2.0", - "nopt": "^4.0.1", - "npm-packlist": "^1.1.6", - "npmlog": "^4.0.2", - "rc": "^1.1.7", - "rimraf": "^2.6.1", - "semver": "^5.3.0", - "tar": "^4" + "detect-libc": "1.0.2", + "mkdirp": "0.5.1", + "needle": "2.2.0", + "nopt": "4.0.1", + "npm-packlist": "1.1.10", + "npmlog": "4.1.0", + "rc": "1.2.1", + "rimraf": "2.6.1", + "semver": "5.3.0", + "tar": "4.4.1" }, "dependencies": { "safe-buffer": { @@ -3018,13 +3514,13 @@ "dev": true, "optional": true, "requires": { - "chownr": "^1.0.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.2.4", - "minizlib": "^1.1.0", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.1", - "yallist": "^3.0.2" + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.4", + "minizlib": "1.1.0", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.1", + "yallist": "3.0.2" } } } @@ -3070,7 +3566,7 @@ "version": "1.4.0", "bundled": true, "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "os-homedir": { @@ -3139,48 +3635,48 @@ "version": "2.2.9", "bundled": true, "requires": { - "buffer-shims": "~1.0.0", - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "~1.0.0", - "process-nextick-args": "~1.0.6", - "string_decoder": "~1.0.0", - "util-deprecate": "~1.0.1" + "buffer-shims": "1.0.0", + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "1.0.7", + "string_decoder": "1.0.1", + "util-deprecate": "1.0.2" } }, "request": { "version": "2.81.0", "bundled": true, "requires": { - "aws-sign2": "~0.6.0", - "aws4": "^1.2.1", - "caseless": "~0.12.0", - "combined-stream": "~1.0.5", - "extend": "~3.0.0", - "forever-agent": "~0.6.1", - "form-data": "~2.1.1", - "har-validator": "~4.2.1", - "hawk": "~3.1.3", - "http-signature": "~1.1.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.7", - "oauth-sign": "~0.8.1", - "performance-now": "^0.2.0", - "qs": "~6.4.0", - "safe-buffer": "^5.0.1", - "stringstream": "~0.0.4", - "tough-cookie": "~2.3.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.0.0" + "aws-sign2": "0.6.0", + "aws4": "1.6.0", + "caseless": "0.12.0", + "combined-stream": "1.0.5", + "extend": "3.0.1", + "forever-agent": "0.6.1", + "form-data": "2.1.4", + "har-validator": "4.2.1", + "hawk": "3.1.3", + "http-signature": "1.1.1", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.15", + "oauth-sign": "0.8.2", + "performance-now": "0.2.0", + "qs": "6.4.0", + "safe-buffer": "5.0.1", + "stringstream": "0.0.5", + "tough-cookie": "2.3.2", + "tunnel-agent": "0.6.0", + "uuid": "3.0.1" } }, "rimraf": { "version": "2.6.1", "bundled": true, "requires": { - "glob": "^7.0.5" + "glob": "7.1.2" } }, "safe-buffer": { @@ -3209,22 +3705,22 @@ "version": "1.0.9", "bundled": true, "requires": { - "hoek": "2.x.x" + "hoek": "2.16.3" } }, "sshpk": { "version": "1.13.0", "bundled": true, "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jodid25519": "^1.0.0", - "jsbn": "~0.1.0", - "tweetnacl": "~0.14.0" + "asn1": "0.2.3", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.1", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.1", + "getpass": "0.1.7", + "jodid25519": "1.0.2", + "jsbn": "0.1.1", + "tweetnacl": "0.14.5" }, "dependencies": { "assert-plus": { @@ -3247,7 +3743,7 @@ "version": "1.0.1", "bundled": true, "requires": { - "safe-buffer": "^5.0.1" + "safe-buffer": "5.0.1" } }, "stringstream": { @@ -3272,37 +3768,37 @@ "version": "2.2.1", "bundled": true, "requires": { - "block-stream": "*", - "fstream": "^1.0.2", - "inherits": "2" + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" } }, "tar-pack": { "version": "3.4.0", "bundled": true, "requires": { - "debug": "^2.2.0", - "fstream": "^1.0.10", - "fstream-ignore": "^1.0.5", - "once": "^1.3.3", - "readable-stream": "^2.1.4", - "rimraf": "^2.5.1", - "tar": "^2.2.1", - "uid-number": "^0.0.6" + "debug": "2.6.8", + "fstream": "1.0.11", + "fstream-ignore": "1.0.5", + "once": "1.4.0", + "readable-stream": "2.2.9", + "rimraf": "2.6.1", + "tar": "2.2.1", + "uid-number": "0.0.6" } }, "tough-cookie": { "version": "2.3.2", "bundled": true, "requires": { - "punycode": "^1.4.1" + "punycode": "1.4.1" } }, "tunnel-agent": { "version": "0.6.0", "bundled": true, "requires": { - "safe-buffer": "^5.0.1" + "safe-buffer": "5.0.1" } }, "tweetnacl": { @@ -3357,32 +3853,26 @@ "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "inherits": "~2.0.0", - "mkdirp": ">=0.5 0", - "rimraf": "2" + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.1" } }, - "function-bind": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.0.tgz", - "integrity": "sha1-FhdnFMgBeY5Ojyz391KUZ7tKV3E=", - "dev": true - }, "gauge": { "version": "2.7.4", "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "dev": true, "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" } }, "gaze": { @@ -3391,7 +3881,7 @@ "integrity": "sha1-hHIkZ3rbiHDWeSV+0ziP22HkAQU=", "dev": true, "requires": { - "globule": "^1.0.0" + "globule": "1.2.0" } }, "generate-function": { @@ -3406,7 +3896,7 @@ "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", "dev": true, "requires": { - "is-property": "^1.0.0" + "is-property": "1.0.2" } }, "get-caller-file": { @@ -3427,13 +3917,19 @@ "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", "dev": true }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, "getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "dev": true, "requires": { - "assert-plus": "^1.0.0" + "assert-plus": "1.0.0" }, "dependencies": { "assert-plus": { @@ -3450,12 +3946,12 @@ "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "dev": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "glob-base": { @@ -3464,8 +3960,8 @@ "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", "dev": true, "requires": { - "glob-parent": "^2.0.0", - "is-glob": "^2.0.0" + "glob-parent": "2.0.0", + "is-glob": "2.0.1" } }, "glob-parent": { @@ -3474,7 +3970,7 @@ "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", "dev": true, "requires": { - "is-glob": "^2.0.0" + "is-glob": "2.0.1" } }, "globals": { @@ -3489,11 +3985,11 @@ "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "dev": true, "requires": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "array-union": "1.0.2", + "glob": "7.1.2", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" } }, "globule": { @@ -3502,9 +3998,9 @@ "integrity": "sha1-HcScaCLdnoovoAuiopUAboZkvQk=", "dev": true, "requires": { - "glob": "~7.1.1", - "lodash": "~4.17.4", - "minimatch": "~3.0.2" + "glob": "7.1.2", + "lodash": "4.17.4", + "minimatch": "3.0.4" } }, "graceful-fs": { @@ -3525,19 +4021,27 @@ "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", "dev": true, "requires": { - "chalk": "^1.1.1", - "commander": "^2.9.0", - "is-my-json-valid": "^2.12.4", - "pinkie-promise": "^2.0.0" + "chalk": "1.1.3", + "commander": "2.15.1", + "is-my-json-valid": "2.17.2", + "pinkie-promise": "2.0.1" } }, "has": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.1.tgz", - "integrity": "sha1-hGFzP1OLCDfJNh45qauelwTcLyg=", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, "requires": { - "function-bind": "^1.0.2" + "function-bind": "1.1.1" + }, + "dependencies": { + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + } } }, "has-ansi": { @@ -3546,7 +4050,7 @@ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "has-flag": { @@ -3561,13 +4065,65 @@ "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "dev": true }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "2.0.6", + "has-values": "1.0.0", + "isobject": "3.0.1" + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "3.0.0", + "kind-of": "4.0.0" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.5" + } + } + } + }, + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "1.1.5" + } + } + } + }, "hash-base": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-2.0.2.tgz", "integrity": "sha1-ZuodhW206KVHDK32/OI65SRO8uE=", "dev": true, "requires": { - "inherits": "^2.0.1" + "inherits": "2.0.3" } }, "hash.js": { @@ -3576,8 +4132,8 @@ "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", "dev": true, "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.0" + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0" } }, "hawk": { @@ -3586,10 +4142,10 @@ "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", "dev": true, "requires": { - "boom": "2.x.x", - "cryptiles": "2.x.x", - "hoek": "2.x.x", - "sntp": "1.x.x" + "boom": "2.10.1", + "cryptiles": "2.0.5", + "hoek": "2.16.3", + "sntp": "1.0.9" } }, "hmac-drbg": { @@ -3598,9 +4154,9 @@ "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", "dev": true, "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" + "hash.js": "1.1.3", + "minimalistic-assert": "1.0.0", + "minimalistic-crypto-utils": "1.0.1" } }, "hoek": { @@ -3615,8 +4171,8 @@ "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", "dev": true, "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.1" + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" } }, "hosted-git-info": { @@ -3631,10 +4187,10 @@ "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", "dev": true, "requires": { - "inherits": "^2.0.1", - "obuf": "^1.0.0", - "readable-stream": "^2.0.1", - "wbuf": "^1.1.0" + "inherits": "2.0.3", + "obuf": "1.1.1", + "readable-stream": "2.3.3", + "wbuf": "1.7.2" } }, "html-comment-regex": { @@ -3664,17 +4220,23 @@ "depd": "1.1.0", "inherits": "2.0.3", "setprototypeof": "1.0.3", - "statuses": ">= 1.3.1 < 2" + "statuses": "1.3.1" } }, + "http-parser-js": { + "version": "0.4.13", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.13.tgz", + "integrity": "sha1-O9bW/ebjFyyTNMOzO2wZPYD+ETc=", + "dev": true + }, "http-proxy": { "version": "1.16.2", "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.16.2.tgz", "integrity": "sha1-Bt/ykpUr9k2+hHH6nfcwZtTzd0I=", "dev": true, "requires": { - "eventemitter3": "1.x.x", - "requires-port": "1.x.x" + "eventemitter3": "1.2.0", + "requires-port": "1.0.0" } }, "http-proxy-middleware": { @@ -3683,10 +4245,10 @@ "integrity": "sha1-ZC6ISIUdZvCdTxJJEoRtuutBuDM=", "dev": true, "requires": { - "http-proxy": "^1.16.2", - "is-glob": "^3.1.0", - "lodash": "^4.17.2", - "micromatch": "^2.3.11" + "http-proxy": "1.16.2", + "is-glob": "3.1.0", + "lodash": "4.17.4", + "micromatch": "2.3.11" }, "dependencies": { "is-extglob": { @@ -3701,7 +4263,7 @@ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", "dev": true, "requires": { - "is-extglob": "^2.1.0" + "is-extglob": "2.1.1" } } } @@ -3712,9 +4274,9 @@ "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", "dev": true, "requires": { - "assert-plus": "^0.2.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" + "assert-plus": "0.2.0", + "jsprim": "1.4.1", + "sshpk": "1.14.1" } }, "https-browserify": { @@ -3740,7 +4302,7 @@ "integrity": "sha1-g/Cg7DeL8yRheLbCrZE28TWxyWI=", "dev": true, "requires": { - "postcss": "^6.0.1" + "postcss": "6.0.8" }, "dependencies": { "ansi-styles": { @@ -3749,7 +4311,7 @@ "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "color-convert": "1.9.0" } }, "chalk": { @@ -3758,9 +4320,9 @@ "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", "dev": true, "requires": { - "ansi-styles": "^3.1.0", - "escape-string-regexp": "^1.0.5", - "supports-color": "^4.0.0" + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" } }, "has-flag": { @@ -3775,9 +4337,9 @@ "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", "dev": true, "requires": { - "chalk": "^2.0.1", - "source-map": "^0.5.6", - "supports-color": "^4.2.0" + "chalk": "2.0.1", + "source-map": "0.5.6", + "supports-color": "4.2.1" } }, "supports-color": { @@ -3786,7 +4348,7 @@ "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", "dev": true, "requires": { - "has-flag": "^2.0.0" + "has-flag": "2.0.0" } } } @@ -3807,16 +4369,6 @@ "minimatch": "^3.0.4" } }, - "import-local": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-0.1.1.tgz", - "integrity": "sha1-sReVcqrNwRxqkQCftDDbyrX2aKg=", - "dev": true, - "requires": { - "pkg-dir": "^2.0.0", - "resolve-cwd": "^2.0.0" - } - }, "in-publish": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", @@ -3829,7 +4381,7 @@ "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", "dev": true, "requires": { - "repeating": "^2.0.0" + "repeating": "2.0.1" } }, "indexes-of": { @@ -3850,8 +4402,8 @@ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -3866,7 +4418,7 @@ "integrity": "sha1-rp+/k7mEh4eF1QqN4bNWlWBYz1w=", "dev": true, "requires": { - "meow": "^3.3.0" + "meow": "3.7.0" } }, "interpret": { @@ -3881,7 +4433,7 @@ "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=", "dev": true, "requires": { - "loose-envify": "^1.0.0" + "loose-envify": "1.3.1" } }, "invert-kv": { @@ -3896,12 +4448,27 @@ "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", "dev": true }, + "ipaddr.js": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.6.0.tgz", + "integrity": "sha1-4/o1e3c9phnybpXwSdBVxyeW+Gs=", + "dev": true + }, "is-absolute-url": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=", "dev": true }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -3914,7 +4481,7 @@ "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", "dev": true, "requires": { - "binary-extensions": "^1.0.0" + "binary-extensions": "1.9.0" } }, "is-buffer": { @@ -3929,7 +4496,7 @@ "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", "dev": true, "requires": { - "builtin-modules": "^1.0.0" + "builtin-modules": "1.1.1" } }, "is-callable": { @@ -3938,12 +4505,40 @@ "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=", "dev": true }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, "is-date-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", "dev": true }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, "is-dotfile": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", @@ -3956,7 +4551,7 @@ "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", "dev": true, "requires": { - "is-primitive": "^2.0.0" + "is-primitive": "2.0.0" } }, "is-extendable": { @@ -3977,7 +4572,7 @@ "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", "dev": true, "requires": { - "number-is-nan": "^1.0.0" + "number-is-nan": "1.0.1" } }, "is-fullwidth-code-point": { @@ -3986,7 +4581,7 @@ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, "requires": { - "number-is-nan": "^1.0.0" + "number-is-nan": "1.0.1" } }, "is-glob": { @@ -3995,7 +4590,7 @@ "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", "dev": true, "requires": { - "is-extglob": "^1.0.0" + "is-extglob": "1.0.0" } }, "is-my-ip-valid": { @@ -4010,11 +4605,11 @@ "integrity": "sha512-IBhBslgngMQN8DDSppmgDv7RNrlFotuuDsKcrCP3+HbFaVivIBU7u9oiiErw8sH4ynx3+gOGQ3q2otkgiSi6kg==", "dev": true, "requires": { - "generate-function": "^2.0.0", - "generate-object-property": "^1.1.0", - "is-my-ip-valid": "^1.0.0", - "jsonpointer": "^4.0.0", - "xtend": "^4.0.0" + "generate-function": "2.0.0", + "generate-object-property": "1.2.0", + "is-my-ip-valid": "1.0.0", + "jsonpointer": "4.0.1", + "xtend": "4.0.1" } }, "is-number": { @@ -4023,7 +4618,7 @@ "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" } }, "is-path-cwd": { @@ -4038,7 +4633,7 @@ "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=", "dev": true, "requires": { - "is-path-inside": "^1.0.0" + "is-path-inside": "1.0.0" } }, "is-path-inside": { @@ -4047,7 +4642,7 @@ "integrity": "sha1-/AbloWg/vaE95mev9xe7wQpI838=", "dev": true, "requires": { - "path-is-inside": "^1.0.1" + "path-is-inside": "1.0.2" } }, "is-plain-obj": { @@ -4062,7 +4657,7 @@ "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, "requires": { - "isobject": "^3.0.1" + "isobject": "3.0.1" } }, "is-posix-bracket": { @@ -4089,7 +4684,7 @@ "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", "dev": true, "requires": { - "has": "^1.0.1" + "has": "1.0.3" } }, "is-stream": { @@ -4103,7 +4698,7 @@ "integrity": "sha1-z2EJDaDZ77yrhyLeum8DIgjbsOk=", "dev": true, "requires": { - "html-comment-regex": "^1.1.0" + "html-comment-regex": "1.1.1" } }, "is-symbol": { @@ -4124,6 +4719,12 @@ "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", "dev": true }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, "is-wsl": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", @@ -4153,8 +4754,8 @@ "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", "requires": { - "node-fetch": "^1.0.1", - "whatwg-fetch": ">=0.10.0" + "node-fetch": "1.7.1", + "whatwg-fetch": "2.0.3" } }, "isstream": { @@ -4180,8 +4781,8 @@ "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=", "dev": true, "requires": { - "argparse": "^1.0.7", - "esprima": "^2.6.0" + "argparse": "1.0.9", + "esprima": "2.7.3" } }, "jsan": { @@ -4226,7 +4827,7 @@ "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", "dev": true, "requires": { - "jsonify": "~0.0.0" + "jsonify": "0.0.0" } }, "json-stringify-safe": { @@ -4291,22 +4892,16 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.5" } }, - "lazy-cache": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-0.2.7.tgz", - "integrity": "sha1-f+3fLctu23fRHvHRF6tf/fCrG2U=", - "dev": true - }, "lcid": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", "dev": true, "requires": { - "invert-kv": "^1.0.0" + "invert-kv": "1.0.0" } }, "linked-list": { @@ -4320,11 +4915,11 @@ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" } }, "loader-runner": { @@ -4339,9 +4934,9 @@ "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", "dev": true, "requires": { - "big.js": "^3.1.3", - "emojis-list": "^2.0.0", - "json5": "^0.5.0" + "big.js": "3.1.3", + "emojis-list": "2.1.0", + "json5": "0.5.1" } }, "locate-path": { @@ -4350,8 +4945,8 @@ "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "p-locate": "2.0.0", + "path-exists": "3.0.0" } }, "lodash": { @@ -4378,6 +4973,12 @@ "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", "dev": true }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "dev": true + }, "lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", @@ -4403,9 +5004,9 @@ "dev": true }, "loglevel": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.5.0.tgz", - "integrity": "sha512-OQ2jhWI5G2qsvO0UFNyCQWgKl/tFiwuPIXxELzACeUO2FqstN/R7mmL09+nhv6xOWVPPojQO1A90sCEoJSgBcQ==", + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.1.tgz", + "integrity": "sha1-4PyVEztu8nbNyIh82vJKpvFW+Po=", "dev": true }, "long": { @@ -4424,7 +5025,7 @@ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", "requires": { - "js-tokens": "^3.0.0" + "js-tokens": "3.0.2" } }, "loud-rejection": { @@ -4433,8 +5034,8 @@ "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", "dev": true, "requires": { - "currently-unhandled": "^0.4.1", - "signal-exit": "^3.0.0" + "currently-unhandled": "0.4.1", + "signal-exit": "3.0.2" } }, "lru-cache": { @@ -4443,8 +5044,8 @@ "integrity": "sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew==", "dev": true, "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" + "pseudomap": "1.0.2", + "yallist": "2.1.2" } }, "macaddress": { @@ -4459,15 +5060,30 @@ "integrity": "sha1-l6ARdR6R3YfPre9Ygy67BJNt6Xg=", "dev": true, "requires": { - "pify": "^2.3.0" + "pify": "2.3.0" } }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, "map-obj": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", "dev": true }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "1.0.1" + } + }, "math-expression-evaluator": { "version": "1.2.17", "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz", @@ -4486,7 +5102,7 @@ "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", "dev": true, "requires": { - "mimic-fn": "^1.0.0" + "mimic-fn": "1.1.0" } }, "memory-fs": { @@ -4495,8 +5111,8 @@ "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", "dev": true, "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" + "errno": "0.1.4", + "readable-stream": "2.3.3" } }, "meow": { @@ -4505,16 +5121,16 @@ "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", "dev": true, "requires": { - "camelcase-keys": "^2.0.0", - "decamelize": "^1.1.2", - "loud-rejection": "^1.0.0", - "map-obj": "^1.0.1", - "minimist": "^1.1.3", - "normalize-package-data": "^2.3.4", - "object-assign": "^4.0.1", - "read-pkg-up": "^1.0.1", - "redent": "^1.0.0", - "trim-newlines": "^1.0.0" + "camelcase-keys": "2.1.0", + "decamelize": "1.2.0", + "loud-rejection": "1.6.0", + "map-obj": "1.0.1", + "minimist": "1.2.0", + "normalize-package-data": "2.4.0", + "object-assign": "4.1.1", + "read-pkg-up": "1.0.1", + "redent": "1.0.0", + "trim-newlines": "1.0.0" }, "dependencies": { "minimist": { @@ -4543,19 +5159,19 @@ "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", "dev": true, "requires": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" + "arr-diff": "2.0.0", + "array-unique": "0.2.1", + "braces": "1.8.5", + "expand-brackets": "0.1.5", + "extglob": "0.3.2", + "filename-regex": "2.0.1", + "is-extglob": "1.0.0", + "is-glob": "2.0.1", + "kind-of": "3.2.2", + "normalize-path": "2.1.1", + "object.omit": "2.0.1", + "parse-glob": "3.0.4", + "regex-cache": "0.4.3" } }, "miller-rabin": { @@ -4564,16 +5180,10 @@ "integrity": "sha1-SmL7HUKTPAVYOYL0xxb2+55sbT0=", "dev": true, "requires": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" + "bn.js": "4.11.7", + "brorand": "1.1.0" } }, - "mime": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz", - "integrity": "sha1-EV+eO2s9rylZmDyzjxSaLUDrXVM=", - "dev": true - }, "mime-db": { "version": "1.27.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.27.0.tgz", @@ -4586,7 +5196,7 @@ "integrity": "sha1-pOv1BkCUVpI3uM9wBGd20J/JKu0=", "dev": true, "requires": { - "mime-db": "~1.27.0" + "mime-db": "1.27.0" } }, "mimic-fn": { @@ -4613,7 +5223,7 @@ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.8" } }, "minimist": { @@ -4628,8 +5238,8 @@ "integrity": "sha512-hzXIWWet/BzWhYs2b+u7dRHlruXhwdgvlTMDKC6Cb1U7ps6Ac6yQlR39xsbjWJE377YTCtKwIXIpJ5oP+j5y8g==", "dev": true, "requires": { - "safe-buffer": "^5.1.1", - "yallist": "^3.0.0" + "safe-buffer": "5.1.1", + "yallist": "3.0.2" }, "dependencies": { "safe-buffer": { @@ -4653,7 +5263,28 @@ "dev": true, "optional": true, "requires": { - "minipass": "^2.2.1" + "minipass": "2.2.4" + } + }, + "mixin-deep": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", + "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", + "dev": true, + "requires": { + "for-in": "1.0.2", + "is-extendable": "1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "2.0.4" + } + } } }, "mixin-object": { @@ -4662,8 +5293,8 @@ "integrity": "sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=", "dev": true, "requires": { - "for-in": "^0.1.3", - "is-extendable": "^0.1.1" + "for-in": "0.1.8", + "is-extendable": "0.1.1" }, "dependencies": { "for-in": { @@ -4695,8 +5326,8 @@ "integrity": "sha1-bn3oalcIcqsXBYrepxYLvsqBTd4=", "dev": true, "requires": { - "dns-packet": "^1.0.1", - "thunky": "^0.1.0" + "dns-packet": "1.1.1", + "thunky": "0.1.0" } }, "multicast-dns-service-types": { @@ -4711,6 +5342,45 @@ "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==", "dev": true }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "fragment-cache": "0.2.1", + "is-windows": "1.0.2", + "kind-of": "6.0.2", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, "needle": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/needle/-/needle-2.2.0.tgz", @@ -4718,9 +5388,9 @@ "dev": true, "optional": true, "requires": { - "debug": "^2.1.2", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" + "debug": "2.6.8", + "iconv-lite": "0.4.18", + "sax": "1.2.4" } }, "negotiator": { @@ -4729,13 +5399,19 @@ "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", "dev": true }, + "neo-async": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.5.1.tgz", + "integrity": "sha512-3KL3fvuRkZ7s4IFOMfztb7zJp3QaVWnBeGoJlgB38XnCRPj/0tLzzLG5IB8NYOHbJ8g8UGrgZv44GLDk6CxTxA==", + "dev": true + }, "node-fetch": { "version": "1.7.1", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.1.tgz", "integrity": "sha512-j8XsFGCLw79vWXkZtMSmmLaOk9z5SQ9bV/tkbZVCqvgwzrjAGq66igobLofHtF63NvMTp2WjytpsNTGKa+XRIQ==", "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" + "encoding": "0.1.12", + "is-stream": "1.1.0" } }, "node-forge": { @@ -4750,19 +5426,19 @@ "integrity": "sha1-m/vlRWIoYoSDjnUOrAUpWFP6HGA=", "dev": true, "requires": { - "fstream": "^1.0.0", - "glob": "^7.0.3", - "graceful-fs": "^4.1.2", - "minimatch": "^3.0.2", - "mkdirp": "^0.5.0", - "nopt": "2 || 3", - "npmlog": "0 || 1 || 2 || 3 || 4", - "osenv": "0", - "request": "2", - "rimraf": "2", - "semver": "~5.3.0", - "tar": "^2.0.0", - "which": "1" + "fstream": "1.0.11", + "glob": "7.1.2", + "graceful-fs": "4.1.11", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "npmlog": "4.1.2", + "osenv": "0.1.5", + "request": "2.79.0", + "rimraf": "2.6.1", + "semver": "5.3.0", + "tar": "2.2.1", + "which": "1.2.14" }, "dependencies": { "semver": { @@ -4779,28 +5455,28 @@ "integrity": "sha1-o6WeyXAkmFtG6Vg3lkb5bEthZkY=", "dev": true, "requires": { - "assert": "^1.1.1", - "browserify-zlib": "^0.1.4", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^1.0.0", + "assert": "1.4.1", + "browserify-zlib": "0.1.4", + "buffer": "4.9.1", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.11.1", + "domain-browser": "1.1.7", + "events": "1.1.1", "https-browserify": "0.0.1", - "os-browserify": "^0.2.0", + "os-browserify": "0.2.1", "path-browserify": "0.0.0", - "process": "^0.11.0", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.0.5", - "stream-browserify": "^2.0.1", - "stream-http": "^2.3.1", - "string_decoder": "^0.10.25", - "timers-browserify": "^2.0.2", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "readable-stream": "2.3.3", + "stream-browserify": "2.0.1", + "stream-http": "2.7.2", + "string_decoder": "0.10.31", + "timers-browserify": "2.0.2", "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.10.3", + "url": "0.11.0", + "util": "0.10.3", "vm-browserify": "0.0.4" }, "dependencies": { @@ -4818,25 +5494,25 @@ "integrity": "sha512-QFHfrZl6lqRU3csypwviz2XLgGNOoWQbo2GOvtsfQqOfL4cy1BtWnhx/XUeAO9LT3ahBzSRXcEO6DdvAH9DzSg==", "dev": true, "requires": { - "async-foreach": "^0.1.3", - "chalk": "^1.1.1", - "cross-spawn": "^3.0.0", - "gaze": "^1.0.0", - "get-stdin": "^4.0.1", - "glob": "^7.0.3", - "in-publish": "^2.0.0", - "lodash.assign": "^4.2.0", - "lodash.clonedeep": "^4.3.2", - "lodash.mergewith": "^4.6.0", - "meow": "^3.7.0", - "mkdirp": "^0.5.1", - "nan": "^2.10.0", - "node-gyp": "^3.3.1", - "npmlog": "^4.0.0", - "request": "~2.79.0", - "sass-graph": "^2.2.4", - "stdout-stream": "^1.4.0", - "true-case-path": "^1.0.2" + "async-foreach": "0.1.3", + "chalk": "1.1.3", + "cross-spawn": "3.0.1", + "gaze": "1.1.2", + "get-stdin": "4.0.1", + "glob": "7.1.2", + "in-publish": "2.0.0", + "lodash.assign": "4.2.0", + "lodash.clonedeep": "4.5.0", + "lodash.mergewith": "4.6.1", + "meow": "3.7.0", + "mkdirp": "0.5.1", + "nan": "2.10.0", + "node-gyp": "3.6.2", + "npmlog": "4.1.2", + "request": "2.79.0", + "sass-graph": "2.2.4", + "stdout-stream": "1.4.0", + "true-case-path": "1.0.2" } }, "nopt": { @@ -4845,7 +5521,7 @@ "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", "dev": true, "requires": { - "abbrev": "1" + "abbrev": "1.1.1" } }, "normalize-package-data": { @@ -4854,10 +5530,10 @@ "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", "dev": true, "requires": { - "hosted-git-info": "^2.1.4", - "is-builtin-module": "^1.0.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "hosted-git-info": "2.5.0", + "is-builtin-module": "1.0.0", + "semver": "5.4.1", + "validate-npm-package-license": "3.0.1" } }, "normalize-path": { @@ -4866,7 +5542,7 @@ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", "dev": true, "requires": { - "remove-trailing-separator": "^1.0.1" + "remove-trailing-separator": "1.0.2" } }, "normalize-range": { @@ -4881,10 +5557,10 @@ "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=", "dev": true, "requires": { - "object-assign": "^4.0.1", - "prepend-http": "^1.0.0", - "query-string": "^4.1.0", - "sort-keys": "^1.0.0" + "object-assign": "4.1.1", + "prepend-http": "1.0.4", + "query-string": "4.3.4", + "sort-keys": "1.1.2" } }, "npm-bundled": { @@ -4901,8 +5577,8 @@ "dev": true, "optional": true, "requires": { - "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1" + "ignore-walk": "3.0.1", + "npm-bundled": "1.0.3" } }, "npm-run-path": { @@ -4911,7 +5587,7 @@ "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", "dev": true, "requires": { - "path-key": "^2.0.0" + "path-key": "2.0.1" } }, "npmlog": { @@ -4920,10 +5596,10 @@ "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "dev": true, "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" } }, "num2fraction": { @@ -4949,20 +5625,51 @@ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "0.1.1", + "define-property": "0.2.5", + "kind-of": "3.2.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + } + } + }, "object-keys": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", - "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", + "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==", "dev": true }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "3.0.1" + } + }, "object.omit": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", "dev": true, "requires": { - "for-own": "^0.1.4", - "is-extendable": "^0.1.1" + "for-own": "0.1.5", + "is-extendable": "0.1.1" }, "dependencies": { "for-own": { @@ -4971,11 +5678,20 @@ "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", "dev": true, "requires": { - "for-in": "^1.0.1" + "for-in": "1.0.2" } } } }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "3.0.1" + } + }, "obuf": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.1.tgz", @@ -5003,7 +5719,16 @@ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "requires": { - "wrappy": "1" + "wrappy": "1.0.2" + } + }, + "opn": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/opn/-/opn-5.3.0.tgz", + "integrity": "sha512-bYJHo/LOmoTd+pfiYhfZDnf9zekVJrY+cnS2a5F2x+w5ppvTqObojTP7WiFG+kVZs9Inw+qQ/lw7TroWwhdd2g==", + "dev": true, + "requires": { + "is-wsl": "1.1.0" } }, "original": { @@ -5012,7 +5737,7 @@ "integrity": "sha1-kUf5P6FpbQS+YeAb1QuurKZWvTs=", "dev": true, "requires": { - "url-parse": "1.0.x" + "url-parse": "1.0.5" }, "dependencies": { "url-parse": { @@ -5021,8 +5746,8 @@ "integrity": "sha1-CFSGBCKv3P7+tsllxmLUgAFpkns=", "dev": true, "requires": { - "querystringify": "0.0.x", - "requires-port": "1.0.x" + "querystringify": "0.0.4", + "requires-port": "1.0.0" } } } @@ -5045,7 +5770,7 @@ "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "dev": true, "requires": { - "lcid": "^1.0.0" + "lcid": "1.0.0" } }, "os-tmpdir": { @@ -5060,8 +5785,8 @@ "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "dev": true, "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" } }, "p-finally": { @@ -5082,7 +5807,7 @@ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, "requires": { - "p-limit": "^1.1.0" + "p-limit": "1.1.0" } }, "p-map": { @@ -5103,11 +5828,11 @@ "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=", "dev": true, "requires": { - "asn1.js": "^4.0.0", - "browserify-aes": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3" + "asn1.js": "4.9.1", + "browserify-aes": "1.0.6", + "create-hash": "1.1.3", + "evp_bytestokey": "1.0.0", + "pbkdf2": "3.0.12" } }, "parse-glob": { @@ -5116,10 +5841,10 @@ "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", "dev": true, "requires": { - "glob-base": "^0.3.0", - "is-dotfile": "^1.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.0" + "glob-base": "0.3.0", + "is-dotfile": "1.0.3", + "is-extglob": "1.0.0", + "is-glob": "2.0.1" } }, "parse-json": { @@ -5128,7 +5853,7 @@ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, "requires": { - "error-ex": "^1.2.0" + "error-ex": "1.3.1" } }, "parseurl": { @@ -5137,12 +5862,24 @@ "integrity": "sha1-yKuMkiO6NIiKpkopeyiFO+wY2lY=", "dev": true }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, "path-browserify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", "dev": true }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, "path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", @@ -5179,9 +5916,9 @@ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" } }, "pbkdf2": { @@ -5190,11 +5927,11 @@ "integrity": "sha1-vjZ4XFBn6kjYBv+SMojF91C2uKI=", "dev": true, "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "create-hash": "1.1.3", + "create-hmac": "1.1.6", + "ripemd160": "2.0.1", + "safe-buffer": "5.0.1", + "sha.js": "2.4.8" } }, "pify": { @@ -5215,7 +5952,7 @@ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "requires": { - "pinkie": "^2.0.0" + "pinkie": "2.0.4" } }, "pkg-dir": { @@ -5224,7 +5961,7 @@ "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "dev": true, "requires": { - "find-up": "^2.1.0" + "find-up": "2.1.0" } }, "portfinder": { @@ -5233,9 +5970,9 @@ "integrity": "sha1-uzLs2HwnEErm7kS1o8y/Drsa7ek=", "dev": true, "requires": { - "async": "^1.5.2", - "debug": "^2.2.0", - "mkdirp": "0.5.x" + "async": "1.5.2", + "debug": "2.6.8", + "mkdirp": "0.5.1" }, "dependencies": { "async": { @@ -5246,16 +5983,22 @@ } } }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, "postcss": { "version": "5.2.17", "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.17.tgz", "integrity": "sha1-z09Ze4ZNZcikkrLqvp1wbIecOIs=", "dev": true, "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "chalk": "1.1.3", + "js-base64": "2.1.9", + "source-map": "0.5.6", + "supports-color": "3.2.3" }, "dependencies": { "supports-color": { @@ -5264,7 +6007,7 @@ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", "dev": true, "requires": { - "has-flag": "^1.0.0" + "has-flag": "1.0.0" } } } @@ -5275,9 +6018,9 @@ "integrity": "sha1-d7rnypKK2FcW4v2kLyYb98HWW14=", "dev": true, "requires": { - "postcss": "^5.0.2", - "postcss-message-helpers": "^2.0.0", - "reduce-css-calc": "^1.2.6" + "postcss": "5.2.17", + "postcss-message-helpers": "2.0.0", + "reduce-css-calc": "1.3.0" } }, "postcss-colormin": { @@ -5286,9 +6029,9 @@ "integrity": "sha1-ZjFBfV8OkJo9fsJrJMio0eT5bks=", "dev": true, "requires": { - "colormin": "^1.0.5", - "postcss": "^5.0.13", - "postcss-value-parser": "^3.2.3" + "colormin": "1.1.2", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "postcss-convert-values": { @@ -5297,8 +6040,8 @@ "integrity": "sha1-u9hZPFwf0uPRwyK7kl3K6Nrk1i0=", "dev": true, "requires": { - "postcss": "^5.0.11", - "postcss-value-parser": "^3.1.2" + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "postcss-discard-comments": { @@ -5307,7 +6050,7 @@ "integrity": "sha1-vv6J+v1bPazlzM5Rt2uBUUvgDj0=", "dev": true, "requires": { - "postcss": "^5.0.14" + "postcss": "5.2.17" } }, "postcss-discard-duplicates": { @@ -5316,7 +6059,7 @@ "integrity": "sha1-uavye4isGIFYpesSq8riAmO5GTI=", "dev": true, "requires": { - "postcss": "^5.0.4" + "postcss": "5.2.17" } }, "postcss-discard-empty": { @@ -5325,7 +6068,7 @@ "integrity": "sha1-0rS9nVztXr2Nyt52QMfXzX9PkrU=", "dev": true, "requires": { - "postcss": "^5.0.14" + "postcss": "5.2.17" } }, "postcss-discard-overridden": { @@ -5334,7 +6077,7 @@ "integrity": "sha1-ix6vVU9ob7KIzYdMVWZ7CqNmjVg=", "dev": true, "requires": { - "postcss": "^5.0.16" + "postcss": "5.2.17" } }, "postcss-discard-unused": { @@ -5343,8 +6086,8 @@ "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=", "dev": true, "requires": { - "postcss": "^5.0.14", - "uniqs": "^2.0.0" + "postcss": "5.2.17", + "uniqs": "2.0.0" } }, "postcss-filter-plugins": { @@ -5353,8 +6096,8 @@ "integrity": "sha1-bYWGJTTXNaxCDkqFgG4fXUKG2Ew=", "dev": true, "requires": { - "postcss": "^5.0.4", - "uniqid": "^4.0.0" + "postcss": "5.2.17", + "uniqid": "4.1.1" } }, "postcss-merge-idents": { @@ -5363,9 +6106,9 @@ "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=", "dev": true, "requires": { - "has": "^1.0.1", - "postcss": "^5.0.10", - "postcss-value-parser": "^3.1.1" + "has": "1.0.3", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "postcss-merge-longhand": { @@ -5374,7 +6117,7 @@ "integrity": "sha1-I9kM0Sewp3mUkVMyc5A0oaTz1lg=", "dev": true, "requires": { - "postcss": "^5.0.4" + "postcss": "5.2.17" } }, "postcss-merge-rules": { @@ -5383,11 +6126,11 @@ "integrity": "sha1-0d9d+qexrMO+VT8OnhDofGG19yE=", "dev": true, "requires": { - "browserslist": "^1.5.2", - "caniuse-api": "^1.5.2", - "postcss": "^5.0.4", - "postcss-selector-parser": "^2.2.2", - "vendors": "^1.0.0" + "browserslist": "1.7.7", + "caniuse-api": "1.6.1", + "postcss": "5.2.17", + "postcss-selector-parser": "2.2.3", + "vendors": "1.0.1" } }, "postcss-message-helpers": { @@ -5402,9 +6145,9 @@ "integrity": "sha1-S1jttWZB66fIR0qzUmyv17vey2k=", "dev": true, "requires": { - "object-assign": "^4.0.1", - "postcss": "^5.0.4", - "postcss-value-parser": "^3.0.2" + "object-assign": "4.1.1", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "postcss-minify-gradients": { @@ -5413,8 +6156,8 @@ "integrity": "sha1-Xb2hE3NwP4PPtKPqOIHY11/15uE=", "dev": true, "requires": { - "postcss": "^5.0.12", - "postcss-value-parser": "^3.3.0" + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "postcss-minify-params": { @@ -5423,10 +6166,10 @@ "integrity": "sha1-rSzgcTc7lDs9kwo/pZo1jCjW8fM=", "dev": true, "requires": { - "alphanum-sort": "^1.0.1", - "postcss": "^5.0.2", - "postcss-value-parser": "^3.0.2", - "uniqs": "^2.0.0" + "alphanum-sort": "1.0.2", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0", + "uniqs": "2.0.0" } }, "postcss-minify-selectors": { @@ -5435,10 +6178,10 @@ "integrity": "sha1-ssapjAByz5G5MtGkllCBFDEXNb8=", "dev": true, "requires": { - "alphanum-sort": "^1.0.2", - "has": "^1.0.1", - "postcss": "^5.0.14", - "postcss-selector-parser": "^2.0.0" + "alphanum-sort": "1.0.2", + "has": "1.0.3", + "postcss": "5.2.17", + "postcss-selector-parser": "2.2.3" } }, "postcss-modules-extract-imports": { @@ -5447,7 +6190,7 @@ "integrity": "sha1-thTJcgvmgW6u41+zpfqh26agXds=", "dev": true, "requires": { - "postcss": "^6.0.1" + "postcss": "6.0.8" }, "dependencies": { "ansi-styles": { @@ -5456,7 +6199,7 @@ "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "color-convert": "1.9.0" } }, "chalk": { @@ -5465,9 +6208,9 @@ "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", "dev": true, "requires": { - "ansi-styles": "^3.1.0", - "escape-string-regexp": "^1.0.5", - "supports-color": "^4.0.0" + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" } }, "has-flag": { @@ -5482,9 +6225,9 @@ "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", "dev": true, "requires": { - "chalk": "^2.0.1", - "source-map": "^0.5.6", - "supports-color": "^4.2.0" + "chalk": "2.0.1", + "source-map": "0.5.6", + "supports-color": "4.2.1" } }, "supports-color": { @@ -5493,7 +6236,7 @@ "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", "dev": true, "requires": { - "has-flag": "^2.0.0" + "has-flag": "2.0.0" } } } @@ -5504,8 +6247,8 @@ "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=", "dev": true, "requires": { - "css-selector-tokenizer": "^0.7.0", - "postcss": "^6.0.1" + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.8" }, "dependencies": { "ansi-styles": { @@ -5514,7 +6257,7 @@ "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "color-convert": "1.9.0" } }, "chalk": { @@ -5523,9 +6266,9 @@ "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", "dev": true, "requires": { - "ansi-styles": "^3.1.0", - "escape-string-regexp": "^1.0.5", - "supports-color": "^4.0.0" + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" } }, "has-flag": { @@ -5540,9 +6283,9 @@ "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", "dev": true, "requires": { - "chalk": "^2.0.1", - "source-map": "^0.5.6", - "supports-color": "^4.2.0" + "chalk": "2.0.1", + "source-map": "0.5.6", + "supports-color": "4.2.1" } }, "supports-color": { @@ -5551,7 +6294,7 @@ "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", "dev": true, "requires": { - "has-flag": "^2.0.0" + "has-flag": "2.0.0" } } } @@ -5562,8 +6305,8 @@ "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=", "dev": true, "requires": { - "css-selector-tokenizer": "^0.7.0", - "postcss": "^6.0.1" + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.8" }, "dependencies": { "ansi-styles": { @@ -5572,7 +6315,7 @@ "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "color-convert": "1.9.0" } }, "chalk": { @@ -5581,9 +6324,9 @@ "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", "dev": true, "requires": { - "ansi-styles": "^3.1.0", - "escape-string-regexp": "^1.0.5", - "supports-color": "^4.0.0" + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" } }, "has-flag": { @@ -5598,9 +6341,9 @@ "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", "dev": true, "requires": { - "chalk": "^2.0.1", - "source-map": "^0.5.6", - "supports-color": "^4.2.0" + "chalk": "2.0.1", + "source-map": "0.5.6", + "supports-color": "4.2.1" } }, "supports-color": { @@ -5609,7 +6352,7 @@ "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", "dev": true, "requires": { - "has-flag": "^2.0.0" + "has-flag": "2.0.0" } } } @@ -5620,8 +6363,8 @@ "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=", "dev": true, "requires": { - "icss-replace-symbols": "^1.1.0", - "postcss": "^6.0.1" + "icss-replace-symbols": "1.1.0", + "postcss": "6.0.8" }, "dependencies": { "ansi-styles": { @@ -5630,7 +6373,7 @@ "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "color-convert": "1.9.0" } }, "chalk": { @@ -5639,9 +6382,9 @@ "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", "dev": true, "requires": { - "ansi-styles": "^3.1.0", - "escape-string-regexp": "^1.0.5", - "supports-color": "^4.0.0" + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" } }, "has-flag": { @@ -5656,9 +6399,9 @@ "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", "dev": true, "requires": { - "chalk": "^2.0.1", - "source-map": "^0.5.6", - "supports-color": "^4.2.0" + "chalk": "2.0.1", + "source-map": "0.5.6", + "supports-color": "4.2.1" } }, "supports-color": { @@ -5667,7 +6410,7 @@ "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", "dev": true, "requires": { - "has-flag": "^2.0.0" + "has-flag": "2.0.0" } } } @@ -5678,7 +6421,7 @@ "integrity": "sha1-757nEhLX/nWceO0WL2HtYrXLk/E=", "dev": true, "requires": { - "postcss": "^5.0.5" + "postcss": "5.2.17" } }, "postcss-normalize-url": { @@ -5687,10 +6430,10 @@ "integrity": "sha1-EI90s/L82viRov+j6kWSJ5/HgiI=", "dev": true, "requires": { - "is-absolute-url": "^2.0.0", - "normalize-url": "^1.4.0", - "postcss": "^5.0.14", - "postcss-value-parser": "^3.2.3" + "is-absolute-url": "2.1.0", + "normalize-url": "1.9.1", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "postcss-ordered-values": { @@ -5699,8 +6442,8 @@ "integrity": "sha1-7sbCpntsQSqNsgQud/6NpD+VwR0=", "dev": true, "requires": { - "postcss": "^5.0.4", - "postcss-value-parser": "^3.0.1" + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "postcss-reduce-idents": { @@ -5709,8 +6452,8 @@ "integrity": "sha1-wsbSDMlYKE9qv75j92Cb9AkFmtM=", "dev": true, "requires": { - "postcss": "^5.0.4", - "postcss-value-parser": "^3.0.2" + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "postcss-reduce-initial": { @@ -5719,7 +6462,7 @@ "integrity": "sha1-aPgGlfBF0IJjqHmtJA343WT2ROo=", "dev": true, "requires": { - "postcss": "^5.0.4" + "postcss": "5.2.17" } }, "postcss-reduce-transforms": { @@ -5728,9 +6471,9 @@ "integrity": "sha1-/3b02CEkN7McKYpC0uFEQCV3GuE=", "dev": true, "requires": { - "has": "^1.0.1", - "postcss": "^5.0.8", - "postcss-value-parser": "^3.0.1" + "has": "1.0.3", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" } }, "postcss-selector-parser": { @@ -5739,9 +6482,9 @@ "integrity": "sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=", "dev": true, "requires": { - "flatten": "^1.0.2", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "flatten": "1.0.2", + "indexes-of": "1.0.1", + "uniq": "1.0.1" } }, "postcss-svgo": { @@ -5750,10 +6493,10 @@ "integrity": "sha1-tt8YqmE7Zm4TPwittSGcJoSsEI0=", "dev": true, "requires": { - "is-svg": "^2.0.0", - "postcss": "^5.0.14", - "postcss-value-parser": "^3.2.3", - "svgo": "^0.7.0" + "is-svg": "2.1.0", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0", + "svgo": "0.7.2" } }, "postcss-unique-selectors": { @@ -5762,9 +6505,9 @@ "integrity": "sha1-mB1X0p3csz57Hf4f1DuGSfkzyh0=", "dev": true, "requires": { - "alphanum-sort": "^1.0.1", - "postcss": "^5.0.4", - "uniqs": "^2.0.0" + "alphanum-sort": "1.0.2", + "postcss": "5.2.17", + "uniqs": "2.0.0" } }, "postcss-value-parser": { @@ -5779,9 +6522,9 @@ "integrity": "sha1-0hCd3AVbka9n/EyzsCWUZjnSryI=", "dev": true, "requires": { - "has": "^1.0.1", - "postcss": "^5.0.4", - "uniqs": "^2.0.0" + "has": "1.0.3", + "postcss": "5.2.17", + "uniqs": "2.0.0" } }, "prepend-http": { @@ -5819,7 +6562,7 @@ "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", "requires": { - "asap": "~2.0.3" + "asap": "2.0.6" } }, "prop-types": { @@ -5827,8 +6570,8 @@ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.5.10.tgz", "integrity": "sha1-J5ffwxJhguOpXj37suiT3ddFYVQ=", "requires": { - "fbjs": "^0.8.9", - "loose-envify": "^1.3.1" + "fbjs": "0.8.12", + "loose-envify": "1.3.1" } }, "protobufjs": { @@ -5836,19 +6579,29 @@ "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.6.tgz", "integrity": "sha512-eH2OTP9s55vojr3b7NBaF9i4WhWPkv/nq55nznWNp/FomKrLViprUcqnBjHph2tFQ+7KciGPTPsVWGz0SOhL0Q==", "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^3.0.32", - "@types/node": "^8.9.4", - "long": "^4.0.0" + "@protobufjs/aspromise": "1.1.2", + "@protobufjs/base64": "1.1.2", + "@protobufjs/codegen": "2.0.4", + "@protobufjs/eventemitter": "1.1.0", + "@protobufjs/fetch": "1.1.0", + "@protobufjs/float": "1.0.2", + "@protobufjs/inquire": "1.1.0", + "@protobufjs/path": "1.1.2", + "@protobufjs/pool": "1.1.0", + "@protobufjs/utf8": "1.1.0", + "@types/long": "3.0.32", + "@types/node": "8.10.9", + "long": "4.0.0" + } + }, + "proxy-addr": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.3.tgz", + "integrity": "sha512-jQTChiCJteusULxjBp8+jftSQE5Obdl3k4cnmLA6WXtK6XFuWRnvVL7aCiBqaLPM8c4ph0S4tKna8XvmIwEnXQ==", + "dev": true, + "requires": { + "forwarded": "0.1.2", + "ipaddr.js": "1.6.0" } }, "prr": { @@ -5869,11 +6622,11 @@ "integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1" + "bn.js": "4.11.7", + "browserify-rsa": "4.0.1", + "create-hash": "1.1.3", + "parse-asn1": "5.1.0", + "randombytes": "2.0.5" } }, "punycode": { @@ -5900,8 +6653,8 @@ "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=", "dev": true, "requires": { - "object-assign": "^4.1.0", - "strict-uri-encode": "^1.0.0" + "object-assign": "4.1.1", + "strict-uri-encode": "1.1.0" } }, "querystring": { @@ -5927,8 +6680,8 @@ "integrity": "sha512-D5JUjPyJbaJDkuAazpVnSfVkLlpeO3wDlPROTMLGKG1zMFNFRgrciKo1ltz/AzNTkqE0HzDx655QOL51N06how==", "dev": true, "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" + "is-number": "3.0.0", + "kind-of": "4.0.0" }, "dependencies": { "is-number": { @@ -5937,7 +6690,7 @@ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -5946,7 +6699,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.5" } } } @@ -5957,7 +6710,7 @@ "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.5" } } } @@ -5968,7 +6721,7 @@ "integrity": "sha512-8T7Zn1AhMsQ/HI1SjcCfT/t4ii3eAqco3yOcSzS4mozsOz69lHLsoMXmF9nZgnFanYscnSlUSgs8uZyKzpE6kg==", "dev": true, "requires": { - "safe-buffer": "^5.1.0" + "safe-buffer": "5.1.1" }, "dependencies": { "safe-buffer": { @@ -6018,7 +6771,7 @@ "depd": "1.1.1", "inherits": "2.0.3", "setprototypeof": "1.0.3", - "statuses": ">= 1.3.1 < 2" + "statuses": "1.3.1" } }, "iconv-lite": { @@ -6034,24 +6787,24 @@ "resolved": "https://registry.npmjs.org/react/-/react-15.6.2.tgz", "integrity": "sha1-26BDSrQ5z+gvEI8PURZjkIF5qnI=", "requires": { - "create-react-class": "^15.6.0", - "fbjs": "^0.8.9", - "loose-envify": "^1.1.0", - "object-assign": "^4.1.0", - "prop-types": "^15.5.10" + "create-react-class": "15.6.0", + "fbjs": "0.8.12", + "loose-envify": "1.3.1", + "object-assign": "4.1.1", + "prop-types": "15.5.10" } }, "react-data-grid": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/react-data-grid/-/react-data-grid-4.0.7.tgz", - "integrity": "sha512-iSZVKkLiYMDz76iEEjavTNCX0f5X5FG4g8O4yT6CQk314EAOgQZpmzRqv5AfjYvFu+FmWQBQkieqldaqkQbj5w==" + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/react-data-grid/-/react-data-grid-4.0.8.tgz", + "integrity": "sha512-APlFLSG6UKRHXE162yH+Rnn3J+i+rX2n7WCHKbQrYgzW57v9i+72gGrE22iLC2h/kPsGs40JcZmW3OOkRqkPxA==" }, "react-data-grid-addons": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/react-data-grid-addons/-/react-data-grid-addons-4.0.7.tgz", - "integrity": "sha512-bFKOToHTC/7xyBl9pUkgMA0pHZMAn0Jvfqn++ocP/dfFPjAFhiSH6SoZ3c3jrtcIJ1wm1CUV72G8ZTNcFqakHg==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/react-data-grid-addons/-/react-data-grid-addons-4.0.8.tgz", + "integrity": "sha512-wpAj3PgqEAMn42dTIshoHaPhg9MpqqTGTQLnNOqPJxCnnjPJGpGcCrwDJNlhXzJoG9yrwx5YckVd7yYKHkCzQA==", "requires": { - "react-data-grid": "^4.0.7" + "react-data-grid": "4.0.8" } }, "react-dom": { @@ -6059,10 +6812,10 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-15.6.2.tgz", "integrity": "sha1-Qc+t9pO3V/rycIRDodH9WgK+9zA=", "requires": { - "fbjs": "^0.8.9", - "loose-envify": "^1.1.0", - "object-assign": "^4.1.0", - "prop-types": "^15.5.10" + "fbjs": "0.8.12", + "loose-envify": "1.3.1", + "object-assign": "4.1.1", + "prop-types": "15.5.10" } }, "read-pkg": { @@ -6071,9 +6824,9 @@ "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", "dev": true, "requires": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" } }, "read-pkg-up": { @@ -6082,8 +6835,8 @@ "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", "dev": true, "requires": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" + "find-up": "1.1.2", + "read-pkg": "1.1.0" }, "dependencies": { "find-up": { @@ -6092,8 +6845,8 @@ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", "dev": true, "requires": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" } }, "path-exists": { @@ -6102,7 +6855,7 @@ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", "dev": true, "requires": { - "pinkie-promise": "^2.0.0" + "pinkie-promise": "2.0.1" } } } @@ -6113,13 +6866,13 @@ "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", "dev": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~1.0.6", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.0.3", - "util-deprecate": "~1.0.1" + "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", + "util-deprecate": "1.0.2" }, "dependencies": { "safe-buffer": { @@ -6136,10 +6889,10 @@ "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "minimatch": "^3.0.2", - "readable-stream": "^2.0.2", - "set-immediate-shim": "^1.0.1" + "graceful-fs": "4.1.11", + "minimatch": "3.0.4", + "readable-stream": "2.3.3", + "set-immediate-shim": "1.0.1" } }, "redent": { @@ -6148,8 +6901,8 @@ "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", "dev": true, "requires": { - "indent-string": "^2.1.0", - "strip-indent": "^1.0.1" + "indent-string": "2.1.0", + "strip-indent": "1.0.1" } }, "reduce-css-calc": { @@ -6158,9 +6911,9 @@ "integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=", "dev": true, "requires": { - "balanced-match": "^0.4.2", - "math-expression-evaluator": "^1.2.14", - "reduce-function-call": "^1.0.1" + "balanced-match": "0.4.2", + "math-expression-evaluator": "1.2.17", + "reduce-function-call": "1.0.2" }, "dependencies": { "balanced-match": { @@ -6177,7 +6930,7 @@ "integrity": "sha1-WiAL+S4ON3UXUv5FsKszD9S2vpk=", "dev": true, "requires": { - "balanced-match": "^0.4.2" + "balanced-match": "0.4.2" }, "dependencies": { "balanced-match": { @@ -6200,9 +6953,9 @@ "integrity": "sha1-On0GdSDLe3F2dp61/4aGkb7+EoM=", "dev": true, "requires": { - "babel-runtime": "^6.18.0", - "babel-types": "^6.19.0", - "private": "^0.1.6" + "babel-runtime": "6.26.0", + "babel-types": "6.25.0", + "private": "0.1.7" } }, "regex-cache": { @@ -6211,8 +6964,18 @@ "integrity": "sha1-mxpsNdTQ3871cRrmUejp09cRQUU=", "dev": true, "requires": { - "is-equal-shallow": "^0.1.3", - "is-primitive": "^2.0.0" + "is-equal-shallow": "0.1.3", + "is-primitive": "2.0.0" + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "3.0.2", + "safe-regex": "1.1.0" } }, "regexpu-core": { @@ -6221,9 +6984,9 @@ "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", "dev": true, "requires": { - "regenerate": "^1.2.1", - "regjsgen": "^0.2.0", - "regjsparser": "^0.1.4" + "regenerate": "1.3.2", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" } }, "regjsgen": { @@ -6238,7 +7001,7 @@ "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", "dev": true, "requires": { - "jsesc": "~0.5.0" + "jsesc": "0.5.0" }, "dependencies": { "jsesc": { @@ -6254,10 +7017,10 @@ "resolved": "https://registry.npmjs.org/remotedev/-/remotedev-0.2.7.tgz", "integrity": "sha1-he83C1LrVyG9PoadaB3HAn1SfuM=", "requires": { - "jsan": "^3.1.3", - "querystring": "^0.2.0", - "rn-host-detect": "^1.0.1", - "socketcluster-client": "^5.0.0" + "jsan": "3.1.9", + "querystring": "0.2.0", + "rn-host-detect": "1.1.3", + "socketcluster-client": "5.5.2" } }, "remove-trailing-separator": { @@ -6284,7 +7047,7 @@ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "dev": true, "requires": { - "is-finite": "^1.0.0" + "is-finite": "1.0.2" } }, "request": { @@ -6293,26 +7056,26 @@ "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", "dev": true, "requires": { - "aws-sign2": "~0.6.0", - "aws4": "^1.2.1", - "caseless": "~0.11.0", - "combined-stream": "~1.0.5", - "extend": "~3.0.0", - "forever-agent": "~0.6.1", - "form-data": "~2.1.1", - "har-validator": "~2.0.6", - "hawk": "~3.1.3", - "http-signature": "~1.1.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.7", - "oauth-sign": "~0.8.1", - "qs": "~6.3.0", - "stringstream": "~0.0.4", - "tough-cookie": "~2.3.0", - "tunnel-agent": "~0.4.1", - "uuid": "^3.0.0" + "aws-sign2": "0.6.0", + "aws4": "1.7.0", + "caseless": "0.11.0", + "combined-stream": "1.0.6", + "extend": "3.0.1", + "forever-agent": "0.6.1", + "form-data": "2.1.4", + "har-validator": "2.0.6", + "hawk": "3.1.3", + "http-signature": "1.1.1", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.15", + "oauth-sign": "0.8.2", + "qs": "6.3.2", + "stringstream": "0.0.5", + "tough-cookie": "2.3.4", + "tunnel-agent": "0.4.3", + "uuid": "3.2.1" } }, "require-directory": { @@ -6339,7 +7102,7 @@ "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", "dev": true, "requires": { - "resolve-from": "^3.0.0" + "resolve-from": "3.0.0" } }, "resolve-from": { @@ -6348,13 +7111,25 @@ "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", "dev": true }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, "right-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", "dev": true, "requires": { - "align-text": "^0.1.1" + "align-text": "0.1.4" } }, "rimraf": { @@ -6363,7 +7138,7 @@ "integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=", "dev": true, "requires": { - "glob": "^7.0.5" + "glob": "7.1.2" } }, "ripemd160": { @@ -6372,8 +7147,8 @@ "integrity": "sha1-D0WEKVxTo2KK9+bXmsohzlfRxuc=", "dev": true, "requires": { - "hash-base": "^2.0.0", - "inherits": "^2.0.1" + "hash-base": "2.0.2", + "inherits": "2.0.3" } }, "rn-host-detect": { @@ -6386,36 +7161,82 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.0.1.tgz", "integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c=" }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "0.1.15" + } + }, "sass-graph": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz", "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", "dev": true, "requires": { - "glob": "^7.0.0", - "lodash": "^4.0.0", - "scss-tokenizer": "^0.2.3", - "yargs": "^7.0.0" + "glob": "7.1.2", + "lodash": "4.17.4", + "scss-tokenizer": "0.2.3", + "yargs": "7.1.0" } }, "sass-loader": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-6.0.6.tgz", - "integrity": "sha512-c3/Zc+iW+qqDip6kXPYLEgsAu2lf4xz0EZDplB7EmSUMda12U1sGJPetH55B/j9eu0bTtKzKlNPWWyYC7wFNyQ==", + "version": "6.0.7", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-6.0.7.tgz", + "integrity": "sha512-JoiyD00Yo1o61OJsoP2s2kb19L1/Y2p3QFcCdWdF6oomBGKVYuZyqHWemRBfQ2uGYsk+CH3eCguXNfpjzlcpaA==", "dev": true, "requires": { - "async": "^2.1.5", - "clone-deep": "^0.3.0", - "loader-utils": "^1.0.1", - "lodash.tail": "^4.1.1", - "pify": "^3.0.0" + "clone-deep": "2.0.2", + "loader-utils": "1.1.0", + "lodash.tail": "4.1.1", + "neo-async": "2.5.1", + "pify": "3.0.0" }, "dependencies": { + "clone-deep": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-2.0.2.tgz", + "integrity": "sha512-SZegPTKjCgpQH63E+eN6mVEEPdQBOUzjyJm5Pora4lrwWRFS8I0QAxV/KD6vV/i0WuijHZWQC1fMsPEdxfdVCQ==", + "dev": true, + "requires": { + "for-own": "1.0.0", + "is-plain-object": "2.0.4", + "kind-of": "6.0.2", + "shallow-clone": "1.0.0" + } + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", "dev": true + }, + "shallow-clone": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-1.0.0.tgz", + "integrity": "sha512-oeXreoKR/SyNJtRJMAKPDSvd28OqEwG4eR/xc856cRGBII7gX9lvAqDxusPm0846z/w/hWYjI1NpKwJ00NHzRA==", + "dev": true, + "requires": { + "is-extendable": "0.1.1", + "kind-of": "5.1.0", + "mixin-object": "2.0.1" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } } } }, @@ -6430,7 +7251,7 @@ "resolved": "https://registry.npmjs.org/sc-channel/-/sc-channel-1.0.6.tgz", "integrity": "sha1-s4vUepk+eCkPvFNGeGf2sqCghjk=", "requires": { - "sc-emitter": "1.x.x" + "sc-emitter": "1.1.0" } }, "sc-emitter": { @@ -6457,7 +7278,7 @@ "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", "dev": true, "requires": { - "ajv": "^5.0.0" + "ajv": "5.2.2" }, "dependencies": { "ajv": { @@ -6466,10 +7287,10 @@ "integrity": "sha1-R8aNaehvXZUxA7AHSpQw3GPaXjk=", "dev": true, "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "json-schema-traverse": "^0.3.0", - "json-stable-stringify": "^1.0.1" + "co": "4.6.0", + "fast-deep-equal": "1.0.0", + "json-schema-traverse": "0.3.1", + "json-stable-stringify": "1.0.1" } } } @@ -6480,8 +7301,8 @@ "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", "dev": true, "requires": { - "js-base64": "^2.1.8", - "source-map": "^0.4.2" + "js-base64": "2.1.9", + "source-map": "0.4.4" }, "dependencies": { "source-map": { @@ -6490,7 +7311,7 @@ "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", "dev": true, "requires": { - "amdefine": ">=0.0.4" + "amdefine": "1.0.1" } } } @@ -6516,19 +7337,107 @@ "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==", "dev": true }, + "send": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "1.1.2", + "destroy": "1.0.4", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "fresh": "0.5.2", + "http-errors": "1.6.3", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.4.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "requires": { + "depd": "1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": "1.4.0" + } + }, + "mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + } + } + }, "serve-index": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.0.tgz", "integrity": "sha1-0rKA/FYNYW7oG0i/D6gqvtJIXOc=", "dev": true, "requires": { - "accepts": "~1.3.3", + "accepts": "1.3.3", "batch": "0.6.1", "debug": "2.6.8", - "escape-html": "~1.0.3", - "http-errors": "~1.6.1", - "mime-types": "~2.1.15", - "parseurl": "~1.3.1" + "escape-html": "1.0.3", + "http-errors": "1.6.1", + "mime-types": "2.1.15", + "parseurl": "1.3.1" + } + }, + "serve-static": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", + "dev": true, + "requires": { + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "parseurl": "1.3.2", + "send": "0.16.2" + }, + "dependencies": { + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + } } }, "set-blocking": { @@ -6543,6 +7452,29 @@ "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", "dev": true }, + "set-value": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", + "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "split-string": "3.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, "setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", @@ -6560,30 +7492,7 @@ "integrity": "sha1-NwaMLEdra69ALRSknGf1l5IfY08=", "dev": true, "requires": { - "inherits": "^2.0.1" - } - }, - "shallow-clone": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-0.1.2.tgz", - "integrity": "sha1-WQnodLp3EG1zrEFM/sH/yofZcGA=", - "dev": true, - "requires": { - "is-extendable": "^0.1.1", - "kind-of": "^2.0.1", - "lazy-cache": "^0.2.3", - "mixin-object": "^2.0.1" - }, - "dependencies": { - "kind-of": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-2.0.1.tgz", - "integrity": "sha1-AY7HpM5+OobLkUG+UZ0kyPqpgbU=", - "dev": true, - "requires": { - "is-buffer": "^1.0.2" - } - } + "inherits": "2.0.3" } }, "shebang-command": { @@ -6592,7 +7501,7 @@ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dev": true, "requires": { - "shebang-regex": "^1.0.0" + "shebang-regex": "1.0.0" } }, "shebang-regex": { @@ -6613,13 +7522,115 @@ "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", "dev": true }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "0.11.2", + "debug": "2.6.8", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "map-cache": "0.2.2", + "source-map": "0.5.6", + "source-map-resolve": "0.5.2", + "use": "3.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "1.0.0", + "isobject": "3.0.1", + "snapdragon-util": "3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, "sntp": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", "dev": true, "requires": { - "hoek": "2.x.x" + "hoek": "2.16.3" } }, "socketcluster-client": { @@ -6631,43 +7642,25 @@ "clone": "2.1.1", "linked-list": "0.1.0", "querystring": "0.2.0", - "sc-channel": "~1.0.6", - "sc-emitter": "~1.1.0", - "sc-errors": "~1.3.0", - "sc-formatter": "~3.0.0", + "sc-channel": "1.0.6", + "sc-emitter": "1.1.0", + "sc-errors": "1.3.2", + "sc-formatter": "3.0.0", "ws": "3.0.0" } }, - "sockjs": { - "version": "0.3.18", - "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.18.tgz", - "integrity": "sha1-2bKJMWyn33dZXvKZ4HXw+TfrQgc=", - "dev": true, - "requires": { - "faye-websocket": "^0.10.0", - "uuid": "^2.0.2" - }, - "dependencies": { - "uuid": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", - "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", - "dev": true - } - } - }, "sockjs-client": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.4.tgz", "integrity": "sha1-W6vjhrd15M8U51IJEUUmVAFsixI=", "dev": true, "requires": { - "debug": "^2.6.6", + "debug": "2.6.8", "eventsource": "0.1.6", - "faye-websocket": "~0.11.0", - "inherits": "^2.0.1", - "json3": "^3.3.2", - "url-parse": "^1.1.8" + "faye-websocket": "0.11.1", + "inherits": "2.0.3", + "json3": "3.3.2", + "url-parse": "1.1.9" }, "dependencies": { "faye-websocket": { @@ -6676,7 +7669,7 @@ "integrity": "sha1-8O/hjE9W5PQK/H4Gxxn9XuYYjzg=", "dev": true, "requires": { - "websocket-driver": ">=0.5.1" + "websocket-driver": "0.7.0" } } } @@ -6687,31 +7680,56 @@ "integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=", "dev": true, "requires": { - "is-plain-obj": "^1.0.0" + "is-plain-obj": "1.1.0" } }, + "source-list-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", + "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==", + "dev": true + }, "source-map": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", "dev": true }, + "source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "dev": true, + "requires": { + "atob": "2.1.1", + "decode-uri-component": "0.2.0", + "resolve-url": "0.2.1", + "source-map-url": "0.4.0", + "urix": "0.1.0" + } + }, "source-map-support": { "version": "0.4.15", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.15.tgz", "integrity": "sha1-AyAt9lwG0r2MfsI2KhkwVv7407E=", "dev": true, "requires": { - "source-map": "^0.5.6" + "source-map": "0.5.6" } }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, "spdx-correct": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", "dev": true, "requires": { - "spdx-license-ids": "^1.0.2" + "spdx-license-ids": "1.2.2" } }, "spdx-expression-parse": { @@ -6732,12 +7750,12 @@ "integrity": "sha1-Qv9B7OXMD5mjpsKKq7c/XDsDrLw=", "dev": true, "requires": { - "debug": "^2.6.8", - "handle-thing": "^1.2.5", - "http-deceiver": "^1.2.7", - "safe-buffer": "^5.0.1", - "select-hose": "^2.0.0", - "spdy-transport": "^2.0.18" + "debug": "2.6.8", + "handle-thing": "1.2.5", + "http-deceiver": "1.2.7", + "safe-buffer": "5.0.1", + "select-hose": "2.0.0", + "spdy-transport": "2.0.20" } }, "spdy-transport": { @@ -6746,13 +7764,22 @@ "integrity": "sha1-c15yBUxIayNU/onnAiVgBKOazk0=", "dev": true, "requires": { - "debug": "^2.6.8", - "detect-node": "^2.0.3", - "hpack.js": "^2.1.6", - "obuf": "^1.1.1", - "readable-stream": "^2.2.9", - "safe-buffer": "^5.0.1", - "wbuf": "^1.7.2" + "debug": "2.6.8", + "detect-node": "2.0.3", + "hpack.js": "2.1.6", + "obuf": "1.1.1", + "readable-stream": "2.3.3", + "safe-buffer": "5.0.1", + "wbuf": "1.7.2" + } + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "3.0.2" } }, "sprintf-js": { @@ -6767,14 +7794,14 @@ "integrity": "sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s=", "dev": true, "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "tweetnacl": "~0.14.0" + "asn1": "0.2.3", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.1", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.1", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "tweetnacl": "0.14.5" }, "dependencies": { "assert-plus": { @@ -6785,6 +7812,27 @@ } } }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "0.2.5", + "object-copy": "0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + } + } + }, "statuses": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", @@ -6797,7 +7845,7 @@ "integrity": "sha1-osfIWH5U2UJ+qe2zrD8s1SLfN4s=", "dev": true, "requires": { - "readable-stream": "^2.0.1" + "readable-stream": "2.3.3" } }, "stream-browserify": { @@ -6806,8 +7854,8 @@ "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", "dev": true, "requires": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" + "inherits": "2.0.3", + "readable-stream": "2.3.3" } }, "stream-http": { @@ -6816,11 +7864,11 @@ "integrity": "sha512-c0yTD2rbQzXtSsFSVhtpvY/vS6u066PcXOX9kBB3mSO76RiUQzL340uJkGBWnlBg4/HZzqiUXtaVA7wcRcJgEw==", "dev": true, "requires": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.2.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" + "builtin-status-codes": "3.0.0", + "inherits": "2.0.3", + "readable-stream": "2.3.3", + "to-arraybuffer": "1.0.1", + "xtend": "4.0.1" } }, "strict-uri-encode": { @@ -6835,9 +7883,9 @@ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" } }, "string_decoder": { @@ -6846,7 +7894,7 @@ "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", "dev": true, "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "5.1.1" }, "dependencies": { "safe-buffer": { @@ -6869,7 +7917,7 @@ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "strip-bom": { @@ -6878,7 +7926,7 @@ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", "dev": true, "requires": { - "is-utf8": "^0.2.0" + "is-utf8": "0.2.1" } }, "strip-eof": { @@ -6893,7 +7941,7 @@ "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", "dev": true, "requires": { - "get-stdin": "^4.0.1" + "get-stdin": "4.0.1" } }, "style-loader": { @@ -6902,8 +7950,8 @@ "integrity": "sha512-WPpJPZGUxWYHWIUMNNOYqql7zh85zGmr84FdTVWq52WTIkqlW9xSxD3QYWi/T31cqn9UNSsietVEgGn2aaSCzw==", "dev": true, "requires": { - "loader-utils": "^1.0.2", - "schema-utils": "^0.3.0" + "loader-utils": "1.1.0", + "schema-utils": "0.3.0" } }, "supports-color": { @@ -6918,13 +7966,13 @@ "integrity": "sha1-n1dyQTlSE1xv779Ar+ak+qiLS7U=", "dev": true, "requires": { - "coa": "~1.0.1", - "colors": "~1.1.2", - "csso": "~2.3.1", - "js-yaml": "~3.7.0", - "mkdirp": "~0.5.1", - "sax": "~1.2.1", - "whet.extend": "~0.9.9" + "coa": "1.0.4", + "colors": "1.1.2", + "csso": "2.3.2", + "js-yaml": "3.7.0", + "mkdirp": "0.5.1", + "sax": "1.2.4", + "whet.extend": "0.9.9" } }, "tapable": { @@ -6939,9 +7987,9 @@ "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", "dev": true, "requires": { - "block-stream": "*", - "fstream": "^1.0.2", - "inherits": "2" + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" } }, "thunky": { @@ -6950,13 +7998,19 @@ "integrity": "sha1-vzAUaCTituZ7Dy16Ssi+smkIaE4=", "dev": true }, + "time-stamp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-2.0.0.tgz", + "integrity": "sha1-lcakRTDhW6jW9KPsuMOj+sRto1c=", + "dev": true + }, "timers-browserify": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.2.tgz", "integrity": "sha1-q0iDz1l9zVCvIRNJoA+8pWrIa4Y=", "dev": true, "requires": { - "setimmediate": "^1.0.4" + "setimmediate": "1.0.5" } }, "to-arraybuffer": { @@ -6971,13 +8025,55 @@ "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", "dev": true }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "regex-not": "1.0.2", + "safe-regex": "1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "3.0.0", + "repeat-string": "1.6.1" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + } + } + }, "tough-cookie": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz", "integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==", "dev": true, "requires": { - "punycode": "^1.4.1" + "punycode": "1.4.1" } }, "trim-newlines": { @@ -6998,7 +8094,7 @@ "integrity": "sha1-fskRMJJHZsf1c74wIMNPj9/QDWI=", "dev": true, "requires": { - "glob": "^6.0.4" + "glob": "6.0.4" }, "dependencies": { "glob": { @@ -7007,11 +8103,11 @@ "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=", "dev": true, "requires": { - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "2 || 3", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } } } @@ -7047,7 +8143,7 @@ "dev": true, "requires": { "media-typer": "0.3.0", - "mime-types": "~2.1.15" + "mime-types": "2.1.15" } }, "ua-parser-js": { @@ -7061,9 +8157,9 @@ "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", "dev": true, "requires": { - "source-map": "~0.5.1", - "uglify-to-browserify": "~1.0.0", - "yargs": "~3.10.0" + "source-map": "0.5.6", + "uglify-to-browserify": "1.0.2", + "yargs": "3.10.0" }, "dependencies": { "camelcase": { @@ -7078,8 +8174,8 @@ "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", "dev": true, "requires": { - "center-align": "^0.1.1", - "right-align": "^0.1.1", + "center-align": "0.1.3", + "right-align": "0.1.3", "wordwrap": "0.0.2" } }, @@ -7089,9 +8185,9 @@ "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", "dev": true, "requires": { - "camelcase": "^1.0.2", - "cliui": "^2.1.0", - "decamelize": "^1.0.0", + "camelcase": "1.2.1", + "cliui": "2.1.0", + "decamelize": "1.2.0", "window-size": "0.1.0" } } @@ -7110,9 +8206,9 @@ "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", "dev": true, "requires": { - "source-map": "^0.5.6", - "uglify-js": "^2.8.29", - "webpack-sources": "^1.0.1" + "source-map": "0.5.6", + "uglify-js": "2.8.29", + "webpack-sources": "1.1.0" } }, "ultron": { @@ -7120,6 +8216,41 @@ "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.0.tgz", "integrity": "sha1-sHoualQagV/Go0zNRTO67DB8qGQ=" }, + "union-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", + "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "dev": true, + "requires": { + "arr-union": "3.1.0", + "get-value": "2.0.6", + "is-extendable": "0.1.1", + "set-value": "0.4.3" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "set-value": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", + "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "to-object-path": "0.3.0" + } + } + } + }, "uniq": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", @@ -7132,7 +8263,7 @@ "integrity": "sha1-iSIN32t1GuUrX3JISGNShZa7hME=", "dev": true, "requires": { - "macaddress": "^0.2.8" + "macaddress": "0.2.8" } }, "uniqs": { @@ -7147,6 +8278,75 @@ "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", "dev": true }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "0.3.1", + "isobject": "3.0.1" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "2.0.6", + "has-values": "0.1.4", + "isobject": "2.1.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + } + } + }, + "upath": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.0.tgz", + "integrity": "sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw==", + "dev": true + }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dev": true, + "requires": { + "punycode": "2.1.1" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + } + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, "url": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", @@ -7171,8 +8371,8 @@ "integrity": "sha1-xn8dd11R8KGJEd17P/rSe7nlvRk=", "dev": true, "requires": { - "querystringify": "~1.0.0", - "requires-port": "1.0.x" + "querystringify": "1.0.0", + "requires-port": "1.0.0" }, "dependencies": { "querystringify": { @@ -7183,6 +8383,23 @@ } } }, + "use": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.0.tgz", + "integrity": "sha512-6UJEQM/L+mzC3ZJNM56Q4DFGLX/evKGRg15UJHGB9X5j5Z3AFbgZvjUh2yq/UJUY4U5dh7Fal++XbNg1uzpRAw==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + }, + "dependencies": { + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, "util": { "version": "0.10.3", "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", @@ -7206,6 +8423,12 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, "uuid": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", @@ -7218,8 +8441,8 @@ "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", "dev": true, "requires": { - "spdx-correct": "~1.0.0", - "spdx-expression-parse": "~1.0.0" + "spdx-correct": "1.0.2", + "spdx-expression-parse": "1.0.4" } }, "vary": { @@ -7240,9 +8463,9 @@ "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "dev": true, "requires": { - "assert-plus": "^1.0.0", + "assert-plus": "1.0.0", "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" + "extsprintf": "1.3.0" }, "dependencies": { "assert-plus": { @@ -7268,9 +8491,9 @@ "integrity": "sha1-ShRyvLuVK9Cpu0A2gB+VTfs5+qw=", "dev": true, "requires": { - "async": "^2.1.2", - "chokidar": "^1.7.0", - "graceful-fs": "^4.1.2" + "async": "2.6.1", + "chokidar": "1.7.0", + "graceful-fs": "4.1.11" } }, "wbuf": { @@ -7279,51 +8502,39 @@ "integrity": "sha1-1pe5nx9ZUS3ydRvkJ2nBWAtYAf4=", "dev": true, "requires": { - "minimalistic-assert": "^1.0.0" + "minimalistic-assert": "1.0.0" } }, "webpack": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.8.1.tgz", - "integrity": "sha512-5ZXLWWsMqHKFr5y0N3Eo5IIisxeEeRAajNq4mELb/WELOR7srdbQk2N5XiyNy2A/AgvlR3AmeBCZJW8lHrolbw==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.12.0.tgz", + "integrity": "sha512-Sw7MdIIOv/nkzPzee4o0EdvCuPmxT98+vVpIvwtcwcF1Q4SDSNp92vwcKc4REe7NItH9f1S4ra9FuQ7yuYZ8bQ==", "dev": true, "requires": { - "acorn": "^5.0.0", - "acorn-dynamic-import": "^2.0.0", - "ajv": "^5.1.5", - "ajv-keywords": "^2.0.0", - "async": "^2.1.2", - "enhanced-resolve": "^3.4.0", - "escope": "^3.6.0", - "interpret": "^1.0.0", - "json-loader": "^0.5.4", - "json5": "^0.5.1", - "loader-runner": "^2.3.0", - "loader-utils": "^1.1.0", - "memory-fs": "~0.4.1", - "mkdirp": "~0.5.0", - "node-libs-browser": "^2.0.0", - "source-map": "^0.5.3", - "supports-color": "^4.2.1", - "tapable": "^0.2.7", - "uglifyjs-webpack-plugin": "^0.4.6", - "watchpack": "^1.4.0", - "webpack-sources": "^1.0.1", - "yargs": "^8.0.2" + "acorn": "5.7.1", + "acorn-dynamic-import": "2.0.2", + "ajv": "6.5.1", + "ajv-keywords": "3.2.0", + "async": "2.6.1", + "enhanced-resolve": "3.4.1", + "escope": "3.6.0", + "interpret": "1.0.3", + "json-loader": "0.5.7", + "json5": "0.5.1", + "loader-runner": "2.3.0", + "loader-utils": "1.1.0", + "memory-fs": "0.4.1", + "mkdirp": "0.5.1", + "node-libs-browser": "2.0.0", + "source-map": "0.5.6", + "supports-color": "4.5.0", + "tapable": "0.2.7", + "uglifyjs-webpack-plugin": "0.4.6", + "watchpack": "1.4.0", + "webpack-sources": "1.1.0", + "yargs": "8.0.2" }, "dependencies": { - "ajv": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.0.tgz", - "integrity": "sha1-6yhAdG6dxIvV4GOjbj/UAMXqtak=", - "dev": true, - "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" - } - }, "ansi-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", @@ -7354,10 +8565,10 @@ "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "strip-bom": "3.0.0" } }, "os-locale": { @@ -7366,9 +8577,9 @@ "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", "dev": true, "requires": { - "execa": "^0.7.0", - "lcid": "^1.0.0", - "mem": "^1.1.0" + "execa": "0.7.0", + "lcid": "1.0.0", + "mem": "1.1.0" } }, "path-type": { @@ -7377,7 +8588,7 @@ "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "dev": true, "requires": { - "pify": "^2.0.0" + "pify": "2.3.0" } }, "read-pkg": { @@ -7386,9 +8597,9 @@ "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "dev": true, "requires": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" + "load-json-file": "2.0.0", + "normalize-package-data": "2.4.0", + "path-type": "2.0.0" } }, "read-pkg-up": { @@ -7397,8 +8608,8 @@ "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", "dev": true, "requires": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" + "find-up": "2.1.0", + "read-pkg": "2.0.0" } }, "string-width": { @@ -7407,8 +8618,8 @@ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" } }, "strip-ansi": { @@ -7417,7 +8628,7 @@ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "requires": { - "ansi-regex": "^3.0.0" + "ansi-regex": "3.0.0" } }, "strip-bom": { @@ -7432,7 +8643,7 @@ "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", "dev": true, "requires": { - "has-flag": "^2.0.0" + "has-flag": "2.0.0" } }, "which-module": { @@ -7447,19 +8658,19 @@ "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", "dev": true, "requires": { - "camelcase": "^4.1.0", - "cliui": "^3.2.0", - "decamelize": "^1.1.1", - "get-caller-file": "^1.0.1", - "os-locale": "^2.0.0", - "read-pkg-up": "^2.0.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^7.0.0" + "camelcase": "4.1.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "os-locale": "2.1.0", + "read-pkg-up": "2.0.0", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "2.1.1", + "which-module": "2.0.0", + "y18n": "3.2.1", + "yargs-parser": "7.0.0" } }, "yargs-parser": { @@ -7468,85 +8679,123 @@ "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", "dev": true, "requires": { - "camelcase": "^4.1.0" + "camelcase": "4.1.0" } } } }, - "webpack-dev-middleware": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.11.0.tgz", - "integrity": "sha1-CWkdCXOjCtH4Ksc6EuIIfwpHVPk=", - "dev": true, - "requires": { - "memory-fs": "~0.4.1", - "mime": "^1.3.4", - "path-is-absolute": "^1.0.0", - "range-parser": "^1.0.3" - } - }, "webpack-dev-server": { - "version": "2.9.5", - "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-2.9.5.tgz", - "integrity": "sha512-o0lS6enIxyOPiRJTh8vcgK5TsGNTn7lH1q/pNniAgs46mCE8sQYeqv7Y/oAIh/+u4kiBsFizLJo5EWC+ezz6FQ==", + "version": "2.11.2", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-2.11.2.tgz", + "integrity": "sha512-zrPoX97bx47vZiAXfDrkw8pe9QjJ+lunQl3dypojyWwWr1M5I2h0VSrMPfTjopHQPRNn+NqfjcMmhoLcUJe2gA==", "dev": true, "requires": { "ansi-html": "0.0.7", - "array-includes": "^3.0.3", - "bonjour": "^3.5.0", - "chokidar": "^1.6.0", - "compression": "^1.5.2", - "connect-history-api-fallback": "^1.3.0", - "debug": "^3.1.0", - "del": "^3.0.0", - "express": "^4.16.2", - "html-entities": "^1.2.0", - "http-proxy-middleware": "~0.17.4", - "import-local": "^0.1.1", + "array-includes": "3.0.3", + "bonjour": "3.5.0", + "chokidar": "2.0.4", + "compression": "1.7.0", + "connect-history-api-fallback": "1.5.0", + "debug": "3.1.0", + "del": "3.0.0", + "express": "4.16.3", + "html-entities": "1.2.1", + "http-proxy-middleware": "0.17.4", + "import-local": "1.0.0", "internal-ip": "1.2.0", - "ip": "^1.1.5", - "killable": "^1.0.0", - "loglevel": "^1.4.1", - "opn": "^5.1.0", - "portfinder": "^1.0.9", - "selfsigned": "^1.9.1", - "serve-index": "^1.7.2", - "sockjs": "0.3.18", + "ip": "1.1.5", + "killable": "1.0.0", + "loglevel": "1.6.1", + "opn": "5.3.0", + "portfinder": "1.0.13", + "selfsigned": "1.9.1", + "serve-index": "1.9.0", + "sockjs": "0.3.19", "sockjs-client": "1.1.4", - "spdy": "^3.4.1", - "strip-ansi": "^3.0.1", - "supports-color": "^4.2.1", - "webpack-dev-middleware": "^1.11.0", - "yargs": "^6.6.0" + "spdy": "3.4.7", + "strip-ansi": "3.0.1", + "supports-color": "5.4.0", + "webpack-dev-middleware": "1.12.2", + "yargs": "6.6.0" }, "dependencies": { - "accepts": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.4.tgz", - "integrity": "sha1-hiRnWMfdbSGmR0/whKR0DsBesh8=", + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", "dev": true, "requires": { - "mime-types": "~2.1.16", - "negotiator": "0.6.1" + "micromatch": "3.1.10", + "normalize-path": "2.1.1" } }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", "dev": true }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "repeat-element": "1.1.2", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, "camelcase": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", "dev": true }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "dev": true + "chokidar": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz", + "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==", + "dev": true, + "requires": { + "anymatch": "2.0.0", + "async-each": "1.0.1", + "braces": "2.3.2", + "fsevents": "1.2.4", + "glob-parent": "3.1.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "4.0.0", + "lodash.debounce": "4.0.8", + "normalize-path": "2.1.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.1.0", + "upath": "1.1.0" + } }, "debug": { "version": "3.1.0", @@ -7557,54 +8806,19 @@ "ms": "2.0.0" } }, - "depd": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", - "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=", - "dev": true - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "dev": true - }, - "express": { - "version": "4.16.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.16.2.tgz", - "integrity": "sha1-41xt/i1kt9ygpc1PIXgb4ymeB2w=", + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", "dev": true, "requires": { - "accepts": "~1.3.4", - "array-flatten": "1.1.1", - "body-parser": "1.18.2", - "content-disposition": "0.5.2", - "content-type": "~1.0.4", - "cookie": "0.3.1", - "cookie-signature": "1.0.6", "debug": "2.6.9", - "depd": "~1.1.1", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.1.0", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.2", - "qs": "6.5.1", - "range-parser": "~1.2.0", - "safe-buffer": "5.1.1", - "send": "0.16.1", - "serve-static": "1.13.1", - "setprototypeof": "1.1.0", - "statuses": "~1.3.1", - "type-is": "~1.6.15", - "utils-merge": "1.0.1", - "vary": "~1.1.2" + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "debug": { @@ -7615,207 +8829,837 @@ "requires": { "ms": "2.0.0" } - } - } - }, - "finalhandler": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", - "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", - "dev": true, - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", - "statuses": "~1.3.1", - "unpipe": "~1.0.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, "requires": { - "ms": "2.0.0" + "is-descriptor": "0.1.6" } - } - } - }, - "forwarded": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", - "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", - "dev": true - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "dev": true - }, - "has-flag": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", - "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", - "dev": true - }, - "http-errors": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", - "integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=", - "dev": true, - "requires": { - "depd": "1.1.1", - "inherits": "2.0.3", - "setprototypeof": "1.0.3", - "statuses": ">= 1.3.1 < 2" - }, - "dependencies": { - "setprototypeof": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz", - "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=", + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "dev": true } } }, - "ipaddr.js": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.5.2.tgz", - "integrity": "sha1-1LUFvemUaYfM8PxY2QEP+WB+P6A=", - "dev": true - }, - "mime": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", - "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", - "dev": true - }, - "mime-db": { - "version": "1.30.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz", - "integrity": "sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE=", - "dev": true - }, - "mime-types": { - "version": "2.1.17", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz", - "integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=", + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "dev": true, "requires": { - "mime-db": "~1.30.0" - } - }, - "opn": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/opn/-/opn-5.1.0.tgz", - "integrity": "sha512-iPNl7SyM8L30Rm1sjGdLLheyHVw5YXVfi3SKWJzBI7efxRwHojfRFjwE/OLM6qp9xJYMgab8WicTU1cPoY+Hpg==", - "dev": true, - "requires": { - "is-wsl": "^1.1.0" - } - }, - "parseurl": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", - "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", - "dev": true - }, - "proxy-addr": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.2.tgz", - "integrity": "sha1-ZXFQT0e7mI7IGAJT+F3X4UlSvew=", - "dev": true, - "requires": { - "forwarded": "~0.1.2", - "ipaddr.js": "1.5.2" - } - }, - "qs": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", - "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", - "dev": true - }, - "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", - "dev": true - }, - "send": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.16.1.tgz", - "integrity": "sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==", - "dev": true, - "requires": { - "debug": "2.6.9", - "depd": "~1.1.1", - "destroy": "~1.0.4", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.6.2", - "mime": "1.4.1", - "ms": "2.0.0", - "on-finished": "~2.3.0", - "range-parser": "~1.2.0", - "statuses": "~1.3.1" + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "dev": true, "requires": { - "ms": "2.0.0" + "is-descriptor": "1.0.2" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" } } } }, - "serve-static": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.1.tgz", - "integrity": "sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ==", + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "dev": true, "requires": { - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "parseurl": "~1.3.2", - "send": "0.16.1" + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } } }, - "setprototypeof": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", - "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "fsevents": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", + "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", + "dev": true, + "optional": true, + "requires": { + "nan": "2.10.0", + "node-pre-gyp": "0.10.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" + } + }, + "glob": { + "version": "7.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.21", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true + }, + "ini": { + "version": "1.3.5", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true + }, + "minipass": { + "version": "2.2.4", + "bundled": true, + "dev": true, + "requires": { + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "minizlib": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.2.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "2.6.9", + "iconv-lite": "0.4.21", + "sax": "1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.10.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "1.0.3", + "mkdirp": "0.5.1", + "needle": "2.2.0", + "nopt": "4.0.1", + "npm-packlist": "1.1.10", + "npmlog": "4.1.2", + "rc": "1.2.7", + "rimraf": "2.6.2", + "semver": "5.5.0", + "tar": "4.4.1" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1.1.1", + "osenv": "0.1.5" + } + }, + "npm-bundled": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.1.10", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "3.0.1", + "npm-bundled": "1.0.3" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.7", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "0.5.1", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.1", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "rimraf": { + "version": "2.6.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "7.1.2" + } + }, + "safe-buffer": { + "version": "5.1.1", + "bundled": true, + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.5.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.4", + "minizlib": "1.1.0", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "1.0.2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "yallist": { + "version": "3.0.2", + "bundled": true, + "dev": true + } + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "3.1.0", + "path-dirname": "1.0.2" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + } + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, + "import-local": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz", + "integrity": "sha512-vAaZHieK9qjGo58agRBg+bhHX3hoTZU/Oa3GESWLz7t1U62fk63aHuDJJEteXoDeTCcPmUT+z38gkHPZkkmpmQ==", + "dev": true, + "requires": { + "pkg-dir": "2.0.0", + "resolve-cwd": "2.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.5" + } + } + } + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.13", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + } + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + }, + "sockjs": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz", + "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==", + "dev": true, + "requires": { + "faye-websocket": "0.10.0", + "uuid": "3.2.1" + } + }, "supports-color": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", - "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", "dev": true, "requires": { - "has-flag": "^2.0.0" + "has-flag": "3.0.0" } }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "dev": true - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "dev": true + "webpack-dev-middleware": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz", + "integrity": "sha512-FCrqPy1yy/sN6U/SaEZcHKRXGlqU0DUaEBL45jkUYoB8foVb6wCnbIJ1HKIx+qUFTW+3JpVcCJCxZ8VATL4e+A==", + "dev": true, + "requires": { + "memory-fs": "0.4.1", + "mime": "1.6.0", + "path-is-absolute": "1.0.1", + "range-parser": "1.2.0", + "time-stamp": "2.0.0" + } }, "yargs": { "version": "6.6.0", @@ -7823,19 +9667,19 @@ "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=", "dev": true, "requires": { - "camelcase": "^3.0.0", - "cliui": "^3.2.0", - "decamelize": "^1.1.1", - "get-caller-file": "^1.0.1", - "os-locale": "^1.4.0", - "read-pkg-up": "^1.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^1.0.2", - "which-module": "^1.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^4.2.0" + "camelcase": "3.0.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "y18n": "3.2.1", + "yargs-parser": "4.2.1" } }, "yargs-parser": { @@ -7844,42 +9688,43 @@ "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=", "dev": true, "requires": { - "camelcase": "^3.0.0" + "camelcase": "3.0.0" } } } }, "webpack-sources": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.0.1.tgz", - "integrity": "sha512-05tMxipUCwHqYaVS8xc7sYPTly8PzXayRCB4dTxLhWTqlKUiwH6ezmEe0OSreL1c30LAuA3Zqmc+uEBUGFJDjw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz", + "integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", "dev": true, "requires": { - "source-list-map": "^2.0.0", - "source-map": "~0.5.3" + "source-list-map": "2.0.0", + "source-map": "0.6.1" }, "dependencies": { - "source-list-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", - "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==", + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true } } }, "websocket-driver": { - "version": "0.6.5", - "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.6.5.tgz", - "integrity": "sha1-XLJVbOuF9Dc8bYI4qmkchFThOjY=", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.0.tgz", + "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", "dev": true, "requires": { - "websocket-extensions": ">=0.1.1" + "http-parser-js": "0.4.13", + "websocket-extensions": "0.1.3" } }, "websocket-extensions": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.1.tgz", - "integrity": "sha1-domUmcGEtu91Q3fC27DNbLVdKec=", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", + "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==", "dev": true }, "whatwg-fetch": { @@ -7899,7 +9744,7 @@ "integrity": "sha1-mofEN48D6CfOyvGs31bHNsAcFOU=", "dev": true, "requires": { - "isexe": "^2.0.0" + "isexe": "2.0.0" } }, "which-module": { @@ -7914,7 +9759,7 @@ "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", "dev": true, "requires": { - "string-width": "^1.0.2" + "string-width": "1.0.2" } }, "window-size": { @@ -7935,8 +9780,8 @@ "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "dev": true, "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" + "string-width": "1.0.2", + "strip-ansi": "3.0.1" } }, "wrappy": { @@ -7950,8 +9795,8 @@ "resolved": "https://registry.npmjs.org/ws/-/ws-3.0.0.tgz", "integrity": "sha1-mN2wAFbIOQy3Ued4h4hJf5kQO2w=", "requires": { - "safe-buffer": "~5.0.1", - "ultron": "~1.1.0" + "safe-buffer": "5.0.1", + "ultron": "1.1.0" } }, "xtend": { @@ -7978,19 +9823,19 @@ "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=", "dev": true, "requires": { - "camelcase": "^3.0.0", - "cliui": "^3.2.0", - "decamelize": "^1.1.1", - "get-caller-file": "^1.0.1", - "os-locale": "^1.4.0", - "read-pkg-up": "^1.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^1.0.2", - "which-module": "^1.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^5.0.0" + "camelcase": "3.0.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "y18n": "3.2.1", + "yargs-parser": "5.0.0" }, "dependencies": { "camelcase": { @@ -8007,7 +9852,7 @@ "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", "dev": true, "requires": { - "camelcase": "^3.0.0" + "camelcase": "3.0.0" }, "dependencies": { "camelcase": { diff --git a/src/web/ui/package.json b/src/web/ui/package.json index c509014c0..9386360bb 100644 --- a/src/web/ui/package.json +++ b/src/web/ui/package.json @@ -2,7 +2,7 @@ "name": "ui", "version": "1.0.0", "description": "Simple Fable App", - "repository": { }, + "repository": {}, "scripts": { "build": "webpack -p", "start": "webpack-dev-server", @@ -15,26 +15,26 @@ "babel-runtime": "^6.26.0", "protobufjs": "^6.8.6", "react": "^15.6.2", - "react-data-grid": "^4.0.7", - "react-data-grid-addons": "^4.0.7", + "react-data-grid": "^4.0.8", + "react-data-grid-addons": "^4.0.8", "react-dom": "^15.6.2", "remotedev": "^0.2.7", "tslib": "~1.9.0" }, "devDependencies": { - "babel-core": "^6.26.0", - "babel-loader": "^7.1.2", + "babel-core": "^6.26.3", + "babel-loader": "^7.1.4", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-es2015": "^6.24.1", - "bulma": "^0.5.2", + "bulma": "^0.5.3", "css-loader": "^0.28.7", - "fable-loader": "^1.1.2", + "fable-loader": "^1.1.6", "fable-utils": "^1.0.6", - "loglevel": "^1.5.0", + "loglevel": "^1.6.1", "node-sass": "^4.9.0", - "sass-loader": "^6.0.6", + "sass-loader": "^6.0.7", "style-loader": "^0.18.2", - "webpack": "^3.6.0", - "webpack-dev-server": "^2.8.2" + "webpack": "^3.12.0", + "webpack-dev-server": "^2.11.2" } } diff --git a/src/web/ui/sass/bulmaswatch.scss b/src/web/ui/sass/bulmaswatch.scss new file mode 100644 index 000000000..8115ed339 --- /dev/null +++ b/src/web/ui/sass/bulmaswatch.scss @@ -0,0 +1,4 @@ +/*! bulmaswatch v0.6.2 | MIT License */ +@import "variables"; +@import "../node_modules/bulma/bulma"; +@import "overrides"; \ No newline at end of file diff --git a/src/web/ui/sass/main.sass b/src/web/ui/sass/main.sass deleted file mode 100644 index ccd82eceb..000000000 --- a/src/web/ui/sass/main.sass +++ /dev/null @@ -1,87 +0,0 @@ -// Colors -$brand_primary: #0086bf -$primary: $brand_primary -$shell_gray: #f6f6f6 - -$table-background-color: $shell_gray -//$table-cell-border: 0 -$table-row-hover-background-color: $shell_gray - -$navbar-background-color: $brand_primary -$navbar-item-color: #fff -$navbar-item-hover-color: #ffffff -$navbar-item-hover-background-color: lighten($brand_primary, 5%) -$navbar-item-active-color: #333333 -$navbar-item-active-background-color: $shell_gray - -@import '../node_modules/bulma/bulma' - -html - background-color: $shell_gray - -.navbar-bg - background-color: $primary - .nav - background-color: $primary - color: #ffffff - .title - color: #ffffff - font-weight: 600 - -.tabs ul - //border: 0 - -.tabBox - border: 1px solid $border - border-width: 0 0 0 1px - border-image: linear-gradient(to bottom, $border, rgba(0, 0, 0, 0)) 1 100% - margin-top: -1.5rem - padding-top: 1.5rem - padding-left: 1.5rem - padding-bottom: 1.5rem - padding-right: 1.5rem - min-height: 30rem - -.plus-margin-top - margin-top: 1em - -input[type=text], input[type=password] - width: 20rem - -input[type=text].login-input, input[type=password].login-input - width: 100% - -.table-bordered - border: 1px solid $border - thead th - background-color: $brand_primary - color: $white - font-weight: normal - -.btstable td - vertical-align: middle - -table .fabutton - margin-top: 0.9ex - -.no-border - border: 0 - td - border: 0 - th - border: 0 - -.selector-button - width: 100% - margin-top: 1ex - text-align: left - justify-content: left - -.contrast-button - background-color: #ebebeb - border-color: #ccc - &:hover - background-color: #dbdbdb - -.has-text-grey-mid - color: #999 \ No newline at end of file diff --git a/src/web/ui/sass/main.scss b/src/web/ui/sass/main.scss new file mode 100644 index 000000000..61ee0cb16 --- /dev/null +++ b/src/web/ui/sass/main.scss @@ -0,0 +1,235 @@ + +@import 'bulmaswatch'; + +html +{ + background-color: $shell_gray; + min-height: 100vh; + max-height: 100vh; + height: 100vh; +} +body { + min-height: 100vh; + max-height: 100vh; + height: 100vh; + height:100%; +} + +.is-sidebar-menu { + padding: 2.5rem; + background: $grey-lighter; + border-right: 0.6px solid $border; + min-width: 12rem; + li { + a { + color: $grey-dark + } + } +} + +.is-launcher-sidebar-menu { + padding: 0; + background: $primary; + max-width: 7rem; + .menu-list a.is-active { + background: lighten($primary, 30); + color: $black-ter; + } + li { + width: 100%; + a { + color: $white; + } + } +} + +.launcher-item { + text-align:center; + width:100%; + a { + padding:1ex 1.5em; + } +} + +.is-main-content { + padding:0; + height: 100vh; +} + +.is-main-control-bar { + width:100%; + height:$tabs-height; + background:$grey-lighter; + overflow: hidden; + .is-light { + background:$grey-lighter; + border-right: 1px solid $grey-light; + &:hover { + background:$grey-light; + } + } +} + +.is-danger-hover { + margin: 1rem 0; + &:hover { + background: $red; + color: $white; + } +} + +.is-round { + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -moz-appearance: none; + -webkit-appearance: none; + background-color: transparent; + //color: $white; + border: none; + border-radius: 50%; + cursor: pointer; + display: inline-block; + flex-grow: 0; + flex-shrink: 0; + font-size: 14px; + height: 21px; + max-height: 21px; + max-width: 21px; + min-height: 21px; + min-width: 21px; + width: 21px; + line-height:14px; + outline: none; + position: relative; + vertical-align: middle; + text-align: center; + padding: 0.275em 0 0 0.07em; + padding: auto; + &:hover { + background-color: $shell_gray; + } + .icon { + &.is-small{ + height:14px; + width:14px; + } + } + i { + font-weight: normal; + } +} + + + +.is-tab-content { + $tab-content-left-margin: 3rem; + padding: 0.5rem 0.2rem 1.5rem $tab-content-left-margin; + height: calc(100% - #{$tabs-height} - #{$tabs-height} - 1.6rem); + overflow: auto; + input[type=text], input[type=password] { + max-width: 43rem; + } + .columns { + max-width:100%; + } +} + +.has-background-primary { + background: $primary; +} + +.columns { + &.is-fullheight { + min-height: 100vh; + max-height: 100vh; + height: 100vh; + margin:0; + padding:0; + display: flex; + flex-direction: row; + justify-content: stretch; + .column { + overflow-y: auto; + } + } +} + +.has-text-grey-mid { + color: #999 +} + +.limits-container { + //max-width: 60rem; +} + +.is-help-text { + max-width: 40em; +} + +.bts-selector-table { + width: calc(100% - 5rem); + margin: 2.5rem 2.5rem 2.5rem 0; + background: $background; + td, th { + height:2.5rem; + vertical-align: middle; + } + .is-checkbox-cell { + width: 3rem; + } +} + +.bts-data-table-container { + display:inline-block; + margin-bottom:2rem; +} + +.bts-data-table { + background: $white; + border: 1px solid $grey-lighter; + td { + height:2.7rem; + overflow:hidden; + padding: 1px; + vertical-align: middle; + } + thead th { + padding: 0.4rem 2rem 0.4rem 0.625em; + background: $primary; + border: 0; + color:$white; + vertical-align: middle; + font-weight: normal; + } + tr { + &:hover { + background-color: $table-row-hover-background-color; + } + } + .control, .select { + width:100%; + height: 2.5rem; + } + select, input { + width:100%; + border-color: transparent; + height: 2.5rem; + background-color: transparent; + &:focus { + background-color: $white; + } + } + .is-checkbox-cell { + width: 3rem; + } + .delete { + margin:.6rem .4rem; + } + .table-buttons { + width:auto; + } +} + diff --git a/src/web/ui/sass/overrides.scss b/src/web/ui/sass/overrides.scss new file mode 100644 index 000000000..ded3ab1df --- /dev/null +++ b/src/web/ui/sass/overrides.scss @@ -0,0 +1,197 @@ +// Overrides +@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700); +@import 'tabs'; + +.button, +.control.has-icons-left .icon, +.control.has-icons-right .icon, +.input, +.pagination-ellipsis, +.pagination-link, +.pagination-next, +.pagination-previous, +.select, +.select select, +.textarea { + height: 2.6667em; +} + +.button { + &.is-active, + &.is-focused, + &:active, + &:focus { + box-shadow: inset 1px 1px 4px rgba($grey-darker, 0.3); + } + @each $name, + $pair in $colors { + $color: nth($pair, 1); + $color-invert: nth($pair, 2); + &.is-#{$name} { + &.is-hovered, + &:hover { + background-color: darken($color, 10); + } + &.is-active, + &.is-focused, + &:active, + &:focus { + box-shadow: inset 1px 0 3px rgba($grey-darker, 0.3); + background-color: darken($color, 10); + } + } + } +} + +.input, +.textarea { + box-shadow: none; +} + +.box, +.card { + box-shadow: 0 0 0 1px $border; +} + +.notification { + @each $name, + $pair in $colors { + $color: nth($pair, 1); + $color-invert: nth($pair, 2); + &.is-#{$name} { + a:not(.button) { + color: $color-invert; + text-decoration: underline; + } + } + } +} + +.progress { + height: $size-small; +} + +.progress, +.tag { + border-radius: $radius; +} + +.navbar:not(.is-transparent) { + background-color: $black-ter; + .navbar-menu { + background-color: $black-ter; + } + .navbar-item, + .navbar-link { + color: $white; + &.has-dropdown:hover .navbar-link, + &:hover { + background-color: rgba($white, 0.05); + } + &.is-active, + &:active { + background-color: rgba($black-ter, 0.05); + color: $primary; + } + } + .navbar-burger:hover { + background-color: rgba($black-ter, 0.05); + } + .navbar-link::after { + border-color: $white; + } + @include desktop { + .navbar-dropdown .navbar-item { + color: $grey-dark; + &:hover { + background-color: rgba($black-ter, 0.05); + } + &.is-active, + &:active { + color: $primary; + } + strong { + color: $grey; + } + } + } + .navbar-burger { + span { + background-color: $white; + } + } + strong { + color: $white-ter; + } + @each $name, + $pair in $colors { + $color: nth($pair, 1); + $color-invert: nth($pair, 2); + &.is-#{$name} { + background-color: $color; + .navbar-menu { + background-color: $color; + } + .navbar-item, + .navbar-link { + @media (max-width: $desktop) { + color: $color-invert; + } + &.is-active, + &:active { + color: $color-invert; + } + } + .navbar-burger { + &:hover { + background-color: darken($color, 5); + } + span { + background-color: $color-invert; + } + } + } + } +} + +.hero { + // Colors + .navbar:not(.is-transparent) { + background-color: $black-ter; + } + @each $name, + $pair in $colors { + $color: nth($pair, 1); + $color-invert: nth($pair, 2); + &.is-#{$name} { + .navbar { + background: none; + } + .navbar-item, + .navbar-link { + color: $color-invert; + &.is-active, + &:hover { + background-color: darken($color, 10); + color: $color-invert; + } + &:after { + border-color: $color-invert; + } + } + .navbar-menu { + background-color: $color; + } + .navbar-burger { + span { + background-color: $color-invert; + } + } + @include desktop { + .navbar-dropdown a.navbar-item { + color: $grey-dark; + } + } + } + } +} \ No newline at end of file diff --git a/src/web/ui/sass/tabs.scss b/src/web/ui/sass/tabs.scss new file mode 100644 index 000000000..6928fea34 --- /dev/null +++ b/src/web/ui/sass/tabs.scss @@ -0,0 +1,198 @@ +.tabs { + @include block; + @include overflow-touch; + @include unselectable; + + align-items: stretch; + display: flex; + font-size: $size-normal; + justify-content: space-between; + overflow: hidden; + overflow-x: auto; + white-space: nowrap; + height: $tabs-height; + + border-bottom-color: $tabs-border-bottom-color; + border-bottom-style: $tabs-border-bottom-style; + border-bottom-width: $tabs-border-bottom-width; + + a { + align-items: center; + border-bottom-color: $tabs-border-bottom-color; + border-bottom-style: $tabs-border-bottom-style; + border-bottom-width: $tabs-border-bottom-width; + color: $tabs-link-color; + display: flex; + justify-content: center; + margin-bottom: 0;//-#{$tabs-border-bottom-width}; + padding: $tabs-link-padding; + vertical-align: top; + + &:hover { + border-bottom-color: $tabs-link-hover-border-bottom-color; + color: $tabs-link-hover-color; + } + } + + li { + display: block; + + &.is-active { + a { + border-bottom-color: $tabs-link-active-border-bottom-color; + color: $tabs-link-active-color; + } + } + } + + ul { + align-items: center; + display: flex; + flex-grow: 1; + flex-shrink: 0; + justify-content: flex-start; + + &.is-left { + padding-right: 0.75em; + } + + &.is-center { + flex: none; + justify-content: center; + padding-left: 0.75em; + padding-right: 0.75em; + } + + &.is-right { + justify-content: flex-end; + padding-left: 0.75em; + } + } + + .icon { + &:first-child { + margin-right: 0.5em; + } + + &:last-child { + margin-left: 0.5em; + } + } + + // Alignment + &.is-centered { + ul { + justify-content: center; + } + } + + &.is-right { + ul { + justify-content: flex-end; + } + } + + // Styles + &.is-boxed { + a { + border: 1px solid $border-dark; + border-width: 0 0.6px 0 0; + border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0; + background-color: $tabs-boxed-link-background-background-color; + + &:hover { + background-color: $tabs-boxed-link-hover-background-color; + //border-bottom-color: $tabs-boxed-link-hover-border-bottom-color; + } + } + + li { + &.is-active { + a { + background-color: $tabs-boxed-link-active-background-color; + border-color: $border-dark; + //border-bottom-color: $tabs-boxed-link-active-border-bottom-color !important; + } + } + } + } + + &.is-fullwidth { + li { + flex-grow: 1; + flex-shrink: 0; + } + } + + &.is-toggle { + a { + border-color: $tabs-toggle-link-border-color; + border-style: $tabs-toggle-link-border-style; + border-width: $tabs-toggle-link-border-width; + margin-bottom: 0; + position: relative; + + &:hover { + background-color: $tabs-toggle-link-hover-background-color; + border-color: $tabs-toggle-link-hover-border-color; + z-index: 2; + } + } + + li { + & + li { + margin-left: -#{$tabs-toggle-link-border-width}; + } + + &:first-child a { + border-radius: $tabs-toggle-link-radius 0 0 $tabs-toggle-link-radius; + } + + &:last-child a { + border-radius: 0 $tabs-toggle-link-radius $tabs-toggle-link-radius 0; + } + + &.is-active { + a { + background-color: $tabs-toggle-link-active-background-color; + border-color: $tabs-toggle-link-active-border-color; + color: $tabs-toggle-link-active-color; + z-index: 1; + } + } + } + + ul { + border-bottom: none; + } + + &.is-toggle-rounded { + li { + &:first-child a { + border-bottom-left-radius: $radius-rounded; + border-top-left-radius: $radius-rounded; + padding-left: 1.25em; + } + + &:last-child a { + border-bottom-right-radius: $radius-rounded; + border-top-right-radius: $radius-rounded; + padding-right: 1.25em; + } + } + } + } + + // Sizes + &.is-small { + font-size: $size-small; + } + + &.is-medium { + font-size: $size-medium; + } + + &.is-large { + font-size: $size-large; + } + } \ No newline at end of file diff --git a/src/web/ui/sass/variables.scss b/src/web/ui/sass/variables.scss new file mode 100644 index 000000000..400b2b32c --- /dev/null +++ b/src/web/ui/sass/variables.scss @@ -0,0 +1,87 @@ +//////////////////////////////////////////////// +// COSMO +//////////////////////////////////////////////// +$white: #fff; +$grey-light: hsl(0, 0%, 71%); +$grey-lighter: hsl(0, 0%, 86%); +$grey-darker: #333; +$black-ter: #222; + +$orange: #FF7518; +$yellow: #f4db00; +$green: #3FB618; +$turquoise: #00ABA9; +$blue: #1FAEFF; +$purple: #AA40FF; +$red: #FF2E12; + + +$brand_primary: #0086bf; +$shell_primary: #4169AA; +$shell_gray: #f6f6f6; + +$primary: $shell_primary !default; +$primary-dark: darken($shell_primary, 20%); +$warning: $orange; +$info: $purple; + +$orange-invert: #fff; +$warning-invert: $orange-invert; + +$text: #222; +$text-strong: hsl(0, 0%, 21%); +$background: $shell_gray; +$border: hsl(0, 0%, 66%); +$border-dark: $text; +$border-hover: hsl(0, 0%, 71%); + +$family-sans-serif: "Source Sans Pro", "Segoe UI", Calibri, Candara, Arial, sans-serif; + +$body-size: 13px; +$body-line-height: 1.6; + +$radius: 0; +$radius-small: 0; +$radius-large: 0; +$radius-rounded: 0; + +$link: $primary; +$link-invert: $white; +$link-hover: $primary-dark; +$link-focus: $primary-dark; +$link-active: $primary-dark; + +$button-hover-color: $grey-darker; +$button-focus: $black-ter; +$button-active-color: $black-ter; + +//$table-background-color: $shell_gray; +//$table-cell-border: 0 +$table-row-hover-background-color: #f2f7ff; +$table-striped-row-even-hover-background-color: $table-row-hover-background-color; +$table-striped-row-even-background-color: #e6efff; + +$tabs-height: 2.5rem; +$tabs-border-bottom-color: $border; +$tabs-border-bottom-width: 1px; +$tabs-link-color: $text; +$tabs-link-hover-border-bottom-color: $text-strong; +$tabs-link-hover-color: $text-strong; +$tabs-link-active-border-bottom-color: $link; +$tabs-link-active-color: $link; +$tabs-link-padding: 0.5em 1em; +$tabs-boxed-link-radius: $radius; +$tabs-boxed-link-background-background-color: hsl(0, 0%, 85%); +$tabs-boxed-link-hover-background-color: #dcecfc; +$tabs-boxed-link-hover-border-bottom-color: $border; +$tabs-boxed-link-active-background-color: $white; +$tabs-boxed-link-active-border-color: $border; +$tabs-boxed-link-active-border-bottom-color: transparent; +$tabs-toggle-link-border-color: $border; +$tabs-toggle-link-border-width: 1px; +$tabs-toggle-link-hover-background-color: $background; +$tabs-toggle-link-hover-border-color: $border-hover; +$tabs-toggle-link-active-background-color: $link; +$tabs-toggle-link-active-border-color: $link; +$tabs-toggle-link-active-color: $link-invert; + diff --git a/src/web/ui/src/Access.fs b/src/web/ui/src/Access.fs index 6fa6433c8..75cdc87ac 100644 --- a/src/web/ui/src/Access.fs +++ b/src/web/ui/src/Access.fs @@ -19,16 +19,16 @@ module Lens = module SecurityScope = - let exchangeString ex = - match ex with - | Venue.UNSET -> "*" + let exchangeString ex = + match ex with + | Venue.UNSET -> "*" | x -> unbox x let securityTypeString st = match st with | SecurityType.UNSET -> "*" | x -> unbox x - + let create exchange securityType symbol id = { exchange = exchange securityType = securityType @@ -44,25 +44,25 @@ module SecurityScope = module Accounts = - let empty : BTSAccount = + let empty : BTSAccount = { isPresent = true id = 0u parentAccountId = 0u - name = "New Account" + name = "" description = "" isActive = false productPositionLimits = [||] securityPositionLimits = [||] - marginLimit = + marginLimit = { enforceMargin = false cashBalance = 0. leverageFactorPercentage = 0. } securityClipLimits = { limit = [||] } // Array.empty gets compiled to Int32Array instead of [] connections = { exchangeConnections = unbox Array.empty; exchangeConnectionNames = Array.empty} - exchangeAccountData = - { cmeAccountData = + exchangeAccountData = + { cmeAccountData = { cti = CTICode.CtiCodeUndefined origin = CustomerOrFirm.CustomerOrFirmCustomer takeupMemberCode = "" @@ -76,7 +76,7 @@ module Accounts = clientId = "" miscTags = JSMap.empty } - iceAccountData = + iceAccountData = { nybitHouse="" wceHouse=0 clearingAccountOverride="" diff --git a/src/web/ui/src/Accounts/State.fs b/src/web/ui/src/Accounts/State.fs index 56bd844a3..e632c5e8e 100644 --- a/src/web/ui/src/Accounts/State.fs +++ b/src/web/ui/src/Accounts/State.fs @@ -7,8 +7,10 @@ open Fable.PowerPack.PromiseImpl open Fable.Import open bts.co2 -let isNewAccount (account:BTSAccount) = - account.id = 0u +let isNewAccount (account:BTSAccount) = + account.id = 0u && account.isPresent + +let currentAccountIsDefault (account:BTSAccount) = (account.id = 0u) let init (context:ServiceContext.ServiceContext) = let admin = AdminService.Create context "" @@ -18,7 +20,7 @@ let init (context:ServiceContext.ServiceContext) = adminData = None mdRelay = mdr mdRelayProductData = [||] - mdRelayExpNameData = Array.empty + mdRelayExpNameData = Array.empty scratch = emptyAccount previousScratch = emptyAccount AllValue = "*" @@ -27,8 +29,8 @@ let init (context:ServiceContext.ServiceContext) = let existingSelection (scratch:BTSAccount) (previousScratch:BTSAccount) (data:AdminData) = List.choose id [ - data.accounts |> Array.tryFind (fun a -> a.name = scratch.name) - data.accounts |> Array.tryFind (fun a -> a.name = previousScratch.name) + data.accounts |> Array.tryFind (fun a -> a.id = scratch.id || (scratch.id = 0u && a.name = scratch.name)) + data.accounts |> Array.tryFind (fun a -> a.id = previousScratch.id || (scratch.id = 0u && a.name = previousScratch.name)) data.accounts |> Array.tryHead Some emptyAccount] |> List.head @@ -67,7 +69,7 @@ let saveAccount (admin:IAdminService) (account:BTSAccount) = promise { let createAccount (admin:IAdminService) (account:BTSAccount) = promise { let args = { parentAccountId = 0u; accountName = account.name; description = account.description } let! result = admin.create_account args - if result.isSuccess then + if result.isSuccess then return! saveAccount admin { account with id = result.newId } else return ErrorOccured (sprintf "Error creating account: %s" result.errorText) @@ -97,26 +99,25 @@ let erase (arr:'a[]) i = let right = arr.[1+i..] Array.concat [left;right] -let update msg (model:Model) : Model * Cmd = +let update msg (model:Model) : Model * Cmd = match msg with - | UpdateAdminData data -> + | UpdateAdminData data -> let presentAccounts = data.accounts |> Array.filter (fun a -> a.isPresent) |> Array.sortBy (fun a -> a.name.ToLower()) let data = { data with accounts = presentAccounts } { model with adminData = Some data } |> preserveSelection data, Cmd.ofExistingPromise (requestProducts model.mdRelay) id (box>>ErrorOccured) - | NoAdminData msg -> + | NoAdminData msg -> Global.alert Global.Info msg model, Cmd.Empty - | SelectAccount account -> - // When an account is selected 'scratch' account is discarded + | SelectAccount account -> { model with previousScratch = model.scratch; scratch = account }, Cmd.Empty - | DeleteAccount account -> + | DeleteAccount account -> match Fable.Import.Browser.window.confirm (sprintf "Are you sure you want to delete '%s'" account.name) with | true -> model, Cmd.ofExistingPromise (deleteAccount model.admin account) id (box>>ErrorOccured) | false -> model, Cmd.Empty - | AddAccount -> + | AddAccount -> // Create a new scratch account. Send to server after user has filled in details - { model with previousScratch = model.scratch; scratch = emptyAccount }, Cmd.ofMsg <| SelectTab General + { model with previousScratch = model.scratch; scratch = { emptyAccount with name = "New Account" } }, Cmd.ofMsg <| SelectTab General | SaveScratch -> match isNewAccount model.scratch with | true -> model, Cmd.ofExistingPromise (createAccount model.admin model.scratch) id (box>>ErrorOccured) @@ -125,23 +126,23 @@ let update msg (model:Model) : Model * Cmd = Global.alert Global.Error (string msg) Browser.console.log msg model,Cmd.Empty - | SelectTab tab -> + | SelectTab tab -> { model with tab = tab }, Cmd.Empty | Update field -> { model with scratch = applyUpdate model.scratch field }, Cmd.Empty - | ClipLimits limits -> + | ClipLimits limits -> { model with scratch = { model.scratch with securityClipLimits = { limit = limits } } }, Cmd.Empty | DeleteClipLimit i -> let limits = erase model.scratch.securityClipLimits.limit i { model with scratch = { model.scratch with securityClipLimits = { limit = limits } } }, Cmd.Empty - | ProductLimits limits -> + | ProductLimits limits -> { model with scratch = { model.scratch with productPositionLimits = limits } }, Cmd.Empty - | DeleteProductLimit i -> + | DeleteProductLimit i -> let limits = erase model.scratch.productPositionLimits i { model with scratch = { model.scratch with productPositionLimits = limits } }, Cmd.Empty - | SecurityLimits limits -> + | SecurityLimits limits -> { model with scratch = { model.scratch with securityPositionLimits = limits } }, Cmd.Empty - | DeleteSecurityLimit i -> + | DeleteSecurityLimit i -> let limits = erase model.scratch.securityPositionLimits i { model with scratch = { model.scratch with securityPositionLimits = limits } }, Cmd.Empty | AddConnection conId -> @@ -162,11 +163,11 @@ let update msg (model:Model) : Model * Cmd = let newCme = applyCMEUpdate model.scratch.exchangeAccountData.cmeAccountData field let scratch = { model.scratch with exchangeAccountData = { cmeAccountData = newCme; iceAccountData = model.scratch.exchangeAccountData.iceAccountData } } { model with scratch = scratch }, Cmd.Empty - | RequestProducts -> + | RequestProducts -> model, Cmd.ofExistingPromise (requestProducts model.mdRelay) id (box>>ErrorOccured) - | UpdateProducts data -> + | UpdateProducts data -> { model with mdRelayProductData = data}, Cmd.ofExistingPromise (requestExpNames model.mdRelay) id (box>>ErrorOccured) - | RequestExpirationNames -> + | RequestExpirationNames -> model, Cmd.ofExistingPromise (requestExpNames model.mdRelay) id (box>>ErrorOccured) - | UpdateExpirationNames (data:ExpirationNameList[]) -> + | UpdateExpirationNames (data:ExpirationNameList[]) -> { model with mdRelayExpNameData = data }, Cmd.Empty diff --git a/src/web/ui/src/Accounts/Types.fs b/src/web/ui/src/Accounts/Types.fs index d9817eda2..43bd97d61 100644 --- a/src/web/ui/src/Accounts/Types.fs +++ b/src/web/ui/src/Accounts/Types.fs @@ -1,7 +1,6 @@ module Accounts.Types open bts.api.admin -open Fable.Core open bts.api open bts.api.orderman open JSMap @@ -9,8 +8,8 @@ open bts.co2 type Tab = | General - | ClipLimitsTab - | PositionLimitsTab + //| ClipLimitsTab + | LimitsTab | CreditLimitsTab | ExchangeSettingsTab | ConnectionsTab diff --git a/src/web/ui/src/Accounts/View.fs b/src/web/ui/src/Accounts/View.fs index 3a0f2af5f..ce4b82760 100644 --- a/src/web/ui/src/Accounts/View.fs +++ b/src/web/ui/src/Accounts/View.fs @@ -15,8 +15,8 @@ open bts.co2 let selectedAccount model = match model.adminData with - | Some data -> - data.accounts |> + | Some data -> + data.accounts |> Array.tryFind (fun a -> a.id = model.scratch.id) | None -> None @@ -38,7 +38,7 @@ let mappedDataGridWithAddDelete<'a,'r> title (descriptor:MappedDataGridDescripto let addRow _ = Array.append rows [| descriptor.emptyRow |] |> dispatch // Why can't `erase` have the same signature as dispatch? // Because the react Column is the one invoking erase and it doesn't really understand equality - // so when rows is updated this column probably *won't be* so it **cannot** close over rows + // so when rows is updated this column probably *won't be* so it **cannot** close over rows // If it closes over rows the grid will reset to the first visible state (when the tab was made visible) let deleteColumn = ReactGrid.buttonColumn erase "" "times" (box rows) let descriptor' = { descriptor with columns = Array.append [| deleteColumn |] descriptor.columns } @@ -46,7 +46,7 @@ let mappedDataGridWithAddDelete<'a,'r> title (descriptor:MappedDataGridDescripto h5 [ClassName "title is-5"] [ str title ] mappedDataGrid descriptor' props rows dispatch div [ClassName "level"] [ - div [ClassName "level-left"] [] + div [ClassName "level-left"] [] div [ClassName "level-right"] [ div [ClassName "level-item"] [ Button.addButton Button.Enabled addRow @@ -57,17 +57,22 @@ let mappedDataGridWithAddDelete<'a,'r> title (descriptor:MappedDataGridDescripto *) // // General -// -let generalView model dispatch = +// +let generalView model dispatch = let account = model.scratch - let revertFun = + let remButton = + match selectedAccount model with + | None -> Button.button "Remove Account" "is-danger-hover" "times" Disabled ignore + | Some acc -> Button.button "Remove Account" "is-danger-hover" "times" Enabled (fun _ -> dispatch <| DeleteAccount acc) + + let revertFun = match model.adminData with | Some data -> fun _ -> (dispatch <| SelectAccount (State.existingSelection model.scratch model.previousScratch data)) | None -> fun _ -> (dispatch <| SelectAccount emptyAccount) - - let modal = Modal.showCreate - "Create Account" + + let modal = Modal.showCreate + "Create Account" (div [] [ Fields.text "Name" account.name [] (AccountName >> Update >> dispatch) Fields.text "Description" account.description [] (Description >> Update >> dispatch) @@ -75,20 +80,21 @@ let generalView model dispatch = ]) (fun _ -> dispatch SaveScratch) revertFun - + div [] [ p [ Style [FontWeight "Bold"] ] [ str ("ID: " + (string account.id))] br [] Fields.text "Name" account.name [] (AccountName >> Update >> dispatch) Fields.text "Description" account.description [] (Description >> Update >> dispatch) Fields.checkbox "Active" "Unchecking this stops all users from entering orders into the account" account.isActive [] (IsActive >> Update >> dispatch) + remButton (if State.isNewAccount account then modal else span[][]) ] -let clipLimitsView model dispatch = - let headerRow:TableControl.row = +let clipLimitsView model dispatch = + let headerRow:TableControl.row = { - cells = + cells = [ TableControl.Cell (str "") TableControl.Cell (str "Exchange") @@ -101,25 +107,25 @@ let clipLimitsView model dispatch = header = None } - let symbolArray = [| - [| model.AllValueDisplay |]; - Array.map (fun a -> a.symbol ) model.mdRelayProductData - |] + let symbolArray = [| + [| model.AllValueDisplay |]; + Array.map (fun a -> a.symbol ) model.mdRelayProductData + |] |> Array.concat |> Array.distinct - - let getSecurityMap (limit:AccountSecurityClipLimitUnit) = + + let getSecurityMap (limit:AccountSecurityClipLimitUnit) = let allOption = { product = { exchange = bts.api.Venue.UNSET ``type`` = bts.api.SecurityType.UNSET symbol = model.AllValueDisplay - }; - names = (JSMap.add "0" model.AllValueDisplay JSMap.empty) + }; + names = (JSMap.add "0" model.AllValueDisplay JSMap.empty) }:ExpirationNameList Array.concat [ [| allOption |]; model.mdRelayExpNameData] - |> Array.filter (fun (x:bts.co2.ExpirationNameList) -> ( + |> Array.filter (fun (x:bts.co2.ExpirationNameList) -> ( ((x.product.exchange = limit.security.exchange) || (x.product.exchange = bts.api.Venue.UNSET)) && ((x.product.``type`` = limit.security.securityType) || (x.product.``type`` = bts.api.SecurityType.UNSET)) && ((x.product.symbol = limit.security.securitySymbol) || (x.product.symbol = model.AllValueDisplay)) @@ -127,7 +133,7 @@ let clipLimitsView model dispatch = ) |> Seq.map (fun x -> x.names ) |> JSMap.concat - let modifyRow (oldRow:AccountSecurityClipLimitUnit) (newRow:AccountSecurityClipLimitUnit) = + let modifyRow (oldRow:AccountSecurityClipLimitUnit) (newRow:AccountSecurityClipLimitUnit) = let i = Array.findIndex (fun l -> oldRow = l) model.scratch.securityClipLimits.limit let left = Array.append (model.scratch.securityClipLimits.limit.[..i-1]) [| newRow |] let right = model.scratch.securityClipLimits.limit.[1+i..] @@ -135,12 +141,12 @@ let clipLimitsView model dispatch = let changeVenue (oldRow:AccountSecurityClipLimitUnit) (value:string) = let venueValue = EnumUtils.fromHuman venues value - let newRow = { oldRow with security = { oldRow.security with exchange = venueValue } } + let newRow = { oldRow with security = { oldRow.security with exchange = venueValue } } modifyRow oldRow newRow let changeType (oldRow:AccountSecurityClipLimitUnit) (value:string) = let typeValue = EnumUtils.fromHuman securityTypes value - let newRow = { oldRow with security = { oldRow.security with securityType = typeValue } } + let newRow = { oldRow with security = { oldRow.security with securityType = typeValue } } modifyRow oldRow newRow let changeSymbol (oldRow:AccountSecurityClipLimitUnit) (value:string) = @@ -155,43 +161,43 @@ let clipLimitsView model dispatch = let changeClipSize (oldRow:AccountSecurityClipLimitUnit) (value:string) = modifyRow oldRow { oldRow with clipSize = (uint32 value) } - let rws:TableControl.row list = + let rws:TableControl.row list = [ for limit in model.scratch.securityClipLimits.limit do yield { - cells = + cells = [ - TableControl.Cell (Button.removeButton Button.Enabled (fun _ -> (Array.findIndex (fun l -> limit = l) model.scratch.securityClipLimits.limit) |> DeleteClipLimit |> dispatch)) - TableControl.Cell (Fields.enumSelect - "" - (EnumUtils.toHuman false venues limit.security.exchange) - (EnumUtils.allToHuman false venues) - [] + TableControl.controlCell (Button.deleteButton Button.Enabled (fun _ -> (Array.findIndex (fun l -> limit = l) model.scratch.securityClipLimits.limit) |> DeleteClipLimit |> dispatch)) + TableControl.Cell (Fields.enumSelect + "" + (EnumUtils.toHuman false venues limit.security.exchange) + (EnumUtils.allToHuman false venues) + [Class ""] ((changeVenue limit) >> ClipLimits >> dispatch) ) - TableControl.Cell (Fields.enumSelect - "" - (EnumUtils.toHuman false securityTypes limit.security.securityType) + TableControl.Cell (Fields.enumSelect + "" + (EnumUtils.toHuman false securityTypes limit.security.securityType) (EnumUtils.allToHuman false (Array.filter (fun a -> a <> bts.api.SecurityType.SYNTHETIC) securityTypes)) - [] + [] ((changeType limit) >> ClipLimits >> dispatch) ) - TableControl.Cell (Fields.enumSelect - "" + TableControl.Cell (Fields.enumSelect + "" limit.security.securitySymbol - symbolArray - [] + symbolArray + [] ((changeSymbol limit) >> ClipLimits >> dispatch) ) - TableControl.Cell (Fields.mapSelect - "" - (JSMap.toMap (getSecurityMap limit)) + TableControl.Cell (Fields.mapSelect + "" + (JSMap.toMap (getSecurityMap limit)) None (Some (sprintf "%i" limit.security.securityId)) ((changeSecurityId limit) >> ClipLimits >> dispatch) ) - TableControl.Cell (Fields.text - "" - (sprintf "%i" limit.clipSize) - [ Style [Width "10em"]] + TableControl.Cell (Fields.text + "" + (sprintf "%i" limit.clipSize) + [ ] ((changeClipSize limit) >> ClipLimits >> dispatch) ) ] @@ -207,20 +213,18 @@ let clipLimitsView model dispatch = let addRow _ = Array.append model.scratch.securityClipLimits.limit [| emptyLimit |] |> (ClipLimits >> dispatch) div [] [ - div [ ClassName "columns" ][ - div [ ClassName "column is-size-7 has-text-grey-mid" ] + div [ ClassName "columns" ][ + h1 [ ClassName "is-size-3 column is-narrow" ][str "Clip Limits" ] + div [ ClassName "column is-size-7 has-text-grey-mid is-help-text"; ] [str "Clip limits can be set for one security, for all securities in a product (by selecting \"All\" for securities), or for all products within a security type (by selecting \"All\" for both symbol and security)"] - div [ ClassName "column" ][] ] - TableControl.createTableWithStyle (Some headerRow) rws "table-bordered" [Width "100%"] - span [ClassName "is-pulled-right"] [ Button.button "Add" "contrast-button" "plus" Button.Enabled addRow ] - span [ClassName "is-clearfix"][] + TableControl.createDataTable (Some headerRow) rws (Button.button "Add" "" "plus" Button.Enabled addRow) ] let productLimits model dispatch = - let headerRow:TableControl.row = + let headerRow:TableControl.row = { - cells = + cells = [ TableControl.Cell (str "") TableControl.Cell (str "Exchange") @@ -233,27 +237,27 @@ let productLimits model dispatch = header = None } - let symbolArray = [| - [| model.AllValueDisplay |]; - Array.map (fun a -> a.symbol ) model.mdRelayProductData - |] + let symbolArray = [| + [| model.AllValueDisplay |]; + Array.map (fun a -> a.symbol ) model.mdRelayProductData + |] |> Array.concat |> Array.distinct - - let modifyRow (oldRow:AccountProductPositionLimitUnit) (newRow:AccountProductPositionLimitUnit) = + + let modifyRow (oldRow:AccountProductPositionLimitUnit) (newRow:AccountProductPositionLimitUnit) = let i = Array.findIndex (fun l -> oldRow = l) model.scratch.productPositionLimits let left = Array.append (model.scratch.productPositionLimits.[..i-1]) [| newRow |] let right = model.scratch.productPositionLimits.[1+i..] Array.concat [left; right] - + let changeVenue (oldRow:AccountProductPositionLimitUnit) (value:string) = let venueValue = EnumUtils.fromHuman venues value - let newRow = { oldRow with product = { oldRow.product with exchange = venueValue } } + let newRow = { oldRow with product = { oldRow.product with exchange = venueValue } } modifyRow oldRow newRow let changeType (oldRow:AccountProductPositionLimitUnit) (value:string) = let typeValue = EnumUtils.fromHuman securityTypes value - let newRow = { oldRow with product = { oldRow.product with securityType = typeValue } } + let newRow = { oldRow with product = { oldRow.product with securityType = typeValue } } modifyRow oldRow newRow let changeSymbol (oldRow:AccountProductPositionLimitUnit) (value:string) = @@ -268,42 +272,42 @@ let productLimits model dispatch = let changeShortPositionLimit (oldRow:AccountProductPositionLimitUnit) (value:string) = modifyRow oldRow { oldRow with shortPositionLimit = (uint32 value) } - let rws:TableControl.row list = + let rws:TableControl.row list = [ for limit in model.scratch.productPositionLimits do yield { - cells = + cells = [ - TableControl.Cell (Button.removeButton Button.Enabled (fun _ -> (Array.findIndex (fun l -> limit = l) model.scratch.productPositionLimits) |> DeleteProductLimit |> dispatch)) - TableControl.Cell (Fields.enumSelect - "" - (EnumUtils.toHuman false venues limit.product.exchange) - (EnumUtils.allToHuman false venues) - [] + TableControl.Cell (Button.deleteButton Button.Enabled (fun _ -> (Array.findIndex (fun l -> limit = l) model.scratch.productPositionLimits) |> DeleteProductLimit |> dispatch)) + TableControl.Cell (Fields.enumSelect + "" + (EnumUtils.toHuman false venues limit.product.exchange) + (EnumUtils.allToHuman false venues) + [] ((changeVenue limit) >> ProductLimits >> dispatch) ) - TableControl.Cell (Fields.enumSelect - "" - (EnumUtils.toHuman false securityTypes limit.product.securityType) + TableControl.Cell (Fields.enumSelect + "" + (EnumUtils.toHuman false securityTypes limit.product.securityType) (EnumUtils.allToHuman false (Array.filter (fun a -> a <> bts.api.SecurityType.SYNTHETIC) securityTypes)) - [] + [] ((changeType limit) >> ProductLimits >> dispatch) ) - TableControl.Cell (Fields.enumSelect - "" + TableControl.Cell (Fields.enumSelect + "" limit.product.securitySymbol symbolArray - [] + [] ((changeSymbol limit) >> ProductLimits >> dispatch) ) - TableControl.Cell (Fields.text - "" - (sprintf "%i" limit.longPositionLimit) - [ Style [Width "10em"]] + TableControl.Cell (Fields.text + "" + (sprintf "%i" limit.longPositionLimit) + [ ] ((changeLongPositionLimit limit) >> ProductLimits >> dispatch) ) - TableControl.Cell (Fields.text - "" - (sprintf "%i" limit.shortPositionLimit) - [ Style [Width "10em"]] + TableControl.Cell (Fields.text + "" + (sprintf "%i" limit.shortPositionLimit) + [ ] ((changeShortPositionLimit limit) >> ProductLimits >> dispatch) ) ] @@ -325,22 +329,20 @@ let productLimits model dispatch = let addRow _ = Array.append model.scratch.productPositionLimits [| emptyLimit |] |> (ProductLimits >> dispatch) div [] [ - div [ ClassName "columns" ][ - h1 [ ClassName "is-size-4 column is-narrow" ][str "Product Limits" ] - div [ ClassName "column is-size-7 has-text-grey-mid" ] + div [ ClassName "columns" ][ + h1 [ ClassName "is-size-3 column is-narrow" ][str "Product Limits" ] + div [ ClassName "column is-size-7 has-text-grey-mid is-help-text" ] [str "This limits the net position for a product (i.e. accumulated position over all securities belonging to a product). This can be set for one product, or for all products within a security type by selecting \"All\" for symbol"] ] - TableControl.createTableWithStyle (Some headerRow) rws "table-bordered" [Width "100%"] - span [ClassName "is-pulled-right"] [ Button.button "Add" "contrast-button" "plus" Button.Enabled addRow ] - span [ClassName "is-clearfix"][] + TableControl.createDataTable (Some headerRow) rws (Button.button "Add" "" "plus" Button.Enabled addRow) br [] ] - + let securityLimits model dispatch = - let headerRow:TableControl.row = + let headerRow:TableControl.row = { - cells = + cells = [ TableControl.Cell (str "") TableControl.Cell (str "Exchange") @@ -354,25 +356,25 @@ let securityLimits model dispatch = header = None } - let symbolArray = [| - [| model.AllValueDisplay |]; - Array.map (fun a -> a.symbol ) model.mdRelayProductData - |] + let symbolArray = [| + [| model.AllValueDisplay |]; + Array.map (fun a -> a.symbol ) model.mdRelayProductData + |] |> Array.concat |> Array.distinct - - let getSecurityMap (limit:AccountSecurityPositionLimitUnit) = + + let getSecurityMap (limit:AccountSecurityPositionLimitUnit) = let allOption = { product = { exchange = bts.api.Venue.UNSET ``type`` = bts.api.SecurityType.UNSET symbol = model.AllValueDisplay - }; - names = (JSMap.add "0" model.AllValueDisplay JSMap.empty) + }; + names = (JSMap.add "0" model.AllValueDisplay JSMap.empty) }:ExpirationNameList Array.concat [ [| allOption |]; model.mdRelayExpNameData] - |> Array.filter (fun (x:bts.co2.ExpirationNameList) -> ( + |> Array.filter (fun (x:bts.co2.ExpirationNameList) -> ( ((x.product.exchange = limit.security.exchange) || (x.product.exchange = bts.api.Venue.UNSET)) && ((x.product.``type`` = limit.security.securityType) || (x.product.``type`` = bts.api.SecurityType.UNSET)) && ((x.product.symbol = limit.security.securitySymbol) || (x.product.symbol = model.AllValueDisplay)) @@ -380,20 +382,20 @@ let securityLimits model dispatch = ) |> Seq.map (fun x -> x.names ) |> JSMap.concat - let modifyRow (oldRow:AccountSecurityPositionLimitUnit) (newRow:AccountSecurityPositionLimitUnit) = + let modifyRow (oldRow:AccountSecurityPositionLimitUnit) (newRow:AccountSecurityPositionLimitUnit) = let i = Array.findIndex (fun l -> oldRow = l) model.scratch.securityPositionLimits let left = Array.append (model.scratch.securityPositionLimits.[..i-1]) [| newRow |] let right = model.scratch.securityPositionLimits.[1+i..] Array.concat [left; right] - + let changeVenue (oldRow:AccountSecurityPositionLimitUnit) (value:string) = let venueValue = EnumUtils.fromHuman venues value - let newRow = { oldRow with security = { oldRow.security with exchange = venueValue } } + let newRow = { oldRow with security = { oldRow.security with exchange = venueValue } } modifyRow oldRow newRow let changeType (oldRow:AccountSecurityPositionLimitUnit) (value:string) = let typeValue = EnumUtils.fromHuman securityTypes value - let newRow = { oldRow with security = { oldRow.security with securityType = typeValue } } + let newRow = { oldRow with security = { oldRow.security with securityType = typeValue } } modifyRow oldRow newRow let changeSymbol (oldRow:AccountSecurityPositionLimitUnit) (value:string) = @@ -411,49 +413,49 @@ let securityLimits model dispatch = let changeShortPositionLimit (oldRow:AccountSecurityPositionLimitUnit) (value:string) = modifyRow oldRow { oldRow with shortPositionLimit = (uint32 value) } - let rws:TableControl.row list = + let rws:TableControl.row list = [ for limit in model.scratch.securityPositionLimits do yield { - cells = + cells = [ - TableControl.Cell (Button.removeButton Button.Enabled (fun _ -> (Array.findIndex (fun l -> limit = l) model.scratch.securityPositionLimits) |> DeleteSecurityLimit |> dispatch)) - TableControl.Cell (Fields.enumSelect - "" - (EnumUtils.toHuman false venues limit.security.exchange) - (EnumUtils.allToHuman false venues) - [] + TableControl.Cell (Button.deleteButton Button.Enabled (fun _ -> (Array.findIndex (fun l -> limit = l) model.scratch.securityPositionLimits) |> DeleteSecurityLimit |> dispatch)) + TableControl.Cell (Fields.enumSelect + "" + (EnumUtils.toHuman false venues limit.security.exchange) + (EnumUtils.allToHuman false venues) + [] ((changeVenue limit) >> SecurityLimits >> dispatch) ) - TableControl.Cell (Fields.enumSelect - "" - (EnumUtils.toHuman false securityTypes limit.security.securityType) + TableControl.Cell (Fields.enumSelect + "" + (EnumUtils.toHuman false securityTypes limit.security.securityType) (EnumUtils.allToHuman false (Array.filter (fun a -> a <> bts.api.SecurityType.SYNTHETIC) securityTypes)) - [] + [] ((changeType limit) >> SecurityLimits >> dispatch) ) - TableControl.Cell (Fields.enumSelect - "" + TableControl.Cell (Fields.enumSelect + "" limit.security.securitySymbol symbolArray - [] + [] ((changeSymbol limit) >> SecurityLimits >> dispatch) ) - TableControl.Cell (Fields.mapSelect - "" - (JSMap.toMap (getSecurityMap limit)) + TableControl.Cell (Fields.mapSelect + "" + (JSMap.toMap (getSecurityMap limit)) None (Some (sprintf "%i" limit.security.securityId)) ((changeSecurityId limit) >> SecurityLimits >> dispatch) ) - TableControl.Cell (Fields.text - "" - (sprintf "%i" limit.longPositionLimit) - [ Style [Width "10em"]] + TableControl.Cell (Fields.text + "" + (sprintf "%i" limit.longPositionLimit) + [ ] ((changeLongPositionLimit limit) >> SecurityLimits >> dispatch) ) - TableControl.Cell (Fields.text - "" - (sprintf "%i" limit.shortPositionLimit) - [ Style [Width "10em"]] + TableControl.Cell (Fields.text + "" + (sprintf "%i" limit.shortPositionLimit) + [ ] ((changeShortPositionLimit limit) >> SecurityLimits >> dispatch) ) ] @@ -471,61 +473,65 @@ let securityLimits model dispatch = let addRow _ = Array.append model.scratch.securityPositionLimits [| emptyLimit |] |> (SecurityLimits >> dispatch) div [] [ - div [ ClassName "columns" ][ - h1 [ ClassName "is-size-4 column is-narrow" ][str "Security Limits" ] - div [ ClassName "column is-size-7 has-text-grey-mid" ] + div [ ClassName "columns" ][ + h1 [ ClassName "is-size-3 column is-narrow" ][str "Security Limits" ] + div [ ClassName "column is-size-7 has-text-grey-mid is-help-text" ] [str "Optionally, the net position for one or more securities can also be limited. For example, the Product Limits can be set to restrict the Max Net Long Position across all ES futures to 10,000 contracts, but Security Limits can be used to restrict the ES Jun future to 500 only"] ] - TableControl.createTableWithStyle (Some headerRow) rws "table-bordered" [Width "100%"] - span [ClassName "is-pulled-right"] [ Button.button "Add" "contrast-button" "plus" Button.Enabled addRow ] - span [ClassName "is-clearfix"][] - + TableControl.createDataTable (Some headerRow) rws (Button.button "Add" "" "plus" Button.Enabled addRow) ] -let positionLimitsView model dispatch = - div [] [ +let LimitsView model dispatch = + div [ Class "limits-container"] [ + clipLimitsView model dispatch productLimits model dispatch securityLimits model dispatch + ] -let ConnectionsView (model:Accounts.Types.Model) dispatch = +let ConnectionsView (model:Accounts.Types.Model) dispatch = let conNames = model.scratch.connections.exchangeConnectionNames - - let rws:TableControl.row list = - [for name in conNames do yield { - cells = [ - (TableControl.Cell (Button.removeButton Button.Enabled (fun _ -> name |> ( RemoveConnection >> dispatch)))) - (TableControl.Cell (str name)) - ] - className="no-border" - header = None - } - ] - + let cons = match model.adminData with | None -> Array.empty | Some data -> data.connections - let conMap = + let conMap = cons - |> Array.filter (fun a -> not <| (Array.contains a.name conNames)) |> Array.map (fun a -> a.id.ToString(), a.name) |> Map.ofArray - let rows = - rws @ [{cells = [ {content = Fields.mapSelect "" conMap (Some "Add Connection") None (fun v -> v |> (AddConnection >> dispatch)); className = ""; isHeader = true; colSpan = 2 } ]; className = "no-border"; header = None }] + let rows:TableControl.row list = + [for c in conMap do yield { + cells = [ + { content = (Fields.checkbox "" "" ( + Array.contains c.Value conNames) + [] + (fun _ -> (match (Array.contains c.Value conNames) with | true -> c.Value |> (RemoveConnection >> dispatch) | false -> c.Key |> (AddConnection>> dispatch))) + ); + className = "is-checkbox-cell"; + isHeader = false; + colSpan = 0 + } + (TableControl.Cell (str c.Value)) + ] + className="" + header = None + } + ] + div [] [ - TableControl.createTable None rows + TableControl.createSelectorTable None rows ] - + let creditLimitsView model dispatch = div [] [str "lorem ipsum"] -let exchangeSettings model dispatch = +let exchangeSettings model dispatch = let cme = model.scratch.exchangeAccountData.cmeAccountData let send = UpdateCME>>dispatch div [] [ - Fields.simpleSelect "" ["CME"] "CME" ignore + h2 [Class "is-size-3"] [ str "CME" ] Fields.enumSelect "CTI" (toHuman false CTICode.values cme.cti) (allToHuman false CTICode.values) [] (fromHuman CTICode.values>>CTI>>send) Fields.enumSelect "Origin" (toHuman false CustomerOrFirm.values cme.origin) (allToHuman false CustomerOrFirm.values) [] (fromHuman CustomerOrFirm.values>>Origin>>send) //Fields.text "Takeup Member Code" cme.takeupMemberCode [] (TakeupMember>>send) @@ -538,30 +544,26 @@ let exchangeSettings model dispatch = let tabContent model dispatch = - div [Key (string model.scratch.id); ClassName "tabBox"] [ + div [Key (string model.scratch.id); ClassName "is-tab-content"] [ (match model.tab with | General -> generalView model dispatch - | ClipLimitsTab -> clipLimitsView model dispatch - | PositionLimitsTab -> positionLimitsView model dispatch + //| ClipLimitsTab -> clipLimitsView model dispatch + | LimitsTab -> LimitsView model dispatch | ConnectionsTab -> ConnectionsView model dispatch | CreditLimitsTab -> creditLimitsView model dispatch | ExchangeSettingsTab -> exchangeSettings model dispatch) ] -let accountControls selected (dispatch:Msg->unit) = - let remButton = - match selected with - | None -> Button.button "Remove" "contrast-button selector-button" "times" Disabled ignore - | Some acc -> Button.button "Remove" "contrast-button selector-button" "times" Enabled (fun _ -> dispatch <| DeleteAccount acc) - - div [ClassName "is-clearfix plus-margin-top"] [ - p [ ClassName "" ][ - Button.button "Add" "contrast-button selector-button" "plus" Enabled (fun _ -> dispatch AddAccount) - //nbsp.element - br [] - remButton - ] +let accountControls model (dispatch:Msg->unit) = + let revertFun = + match (selectedAccount model) with + | Some acc -> fun _ -> (dispatch <| SelectAccount acc) + | None -> ignore + + div [ClassName "is-main-control-bar"] [ + saveButton model dispatch + Button.button "Revert" "is-light" "" (if isDirty model then Enabled else Disabled) revertFun ] let isActive account = function @@ -585,13 +587,90 @@ let accountsMenu (accounts:BTSAccount[]) selectedAccount dispatch = str account.name] ] ] - accountControls selectedAccount dispatch ] ] +let accountSelectionGrid (accountList:BTSAccount list) (currentAccount:BTSAccount) (dispatch:Msg->Unit) = + let activeAccounts = + accountList |> List.sortBy (fun u -> u.name.ToLower()) + + let headerRow:TableControl.row = + { + cells = + [ + TableControl.Cell (str "Account Name") + TableControl.Cell (str "Active") + TableControl.Cell (str "Description") + ] + className = "" + header = None + } + let rws:TableControl.row list = + [ for acc in activeAccounts do yield { + cells = + [ + TableControl.Cell (a [ OnClick (fun _ -> (acc |> SelectAccount |> dispatch))][ + str acc.name + ]) + TableControl.Cell (str (sprintf "%b" acc.isActive)) + TableControl.Cell (str acc.description) + ] + className = "" + header = None + } + ] + div[][ + TableControl.createSelectorTable (Some headerRow) rws + ] + + + +let selectionPageContent (adminData:AdminData) (model:Model) (dispatch:Msg->Unit) = + let account = model.scratch + + let revertFun = + match model.adminData with + | Some data -> fun _ -> (dispatch <| SelectAccount (State.existingSelection model.scratch model.previousScratch data)) + | None -> fun _ -> (dispatch <| SelectAccount emptyAccount) + + let modal = Modal.showCreate + "Create Account" + (div [] [ + Fields.text "Name" account.name [] (AccountName >> Update >> dispatch) + Fields.text "Description" account.description [] (Description >> Update >> dispatch) + Fields.checkbox "Active" "Unchecking this stops all users from entering orders into the account" account.isActive [] (IsActive >> Update >> dispatch) + ]) + (fun _ -> dispatch SaveScratch) + revertFun + + div [] [ + accountSelectionGrid (Array.toList adminData.accounts) model.scratch dispatch + //NavRoot data.accounts (selectedAccount model) dispatch + (if State.isNewAccount model.scratch then modal else span[][]) + ] + + +let NavRoot (accounts:BTSAccount[]) selectedAccount dispatch = + div [ Class "column is-narrow is-sidebar-menu" ] + [ aside [ Class "menu" ] + [ div [ Class "has-text-right" ] + [ Button.faRoundButton "Add Account" "plus" Enabled (fun _ -> dispatch AddAccount) ] + ul [ Class "menu-list" ] + [ + for account in accounts do + yield li [] [ + a [ + ClassName (isActive account selectedAccount) + OnClick (fun _ -> SelectAccount account |> dispatch) ] [ + str account.name] + ] + ] + ] + ] + let tabName = function - | ClipLimitsTab -> "Clip Limits" - | PositionLimitsTab -> "Position Limits" + //| ClipLimitsTab -> "Clip Limits" + | LimitsTab -> "Limits" | CreditLimitsTab -> "Credit Limits" | ConnectionsTab -> "Connections" | ExchangeSettingsTab -> "Exchange Settings" @@ -603,36 +682,25 @@ let tabHeader tab currentTab dispatch = ] let root (model:Model) dispatch = - let revertFun = - match (selectedAccount model) with - | Some acc -> fun _ -> (dispatch <| SelectAccount acc) - | None -> ignore - match model.adminData with | None -> div[][str "Loading account list..."] - | Some data -> - div [ClassName "columns"] [ - accountsMenu data.accounts (selectedAccount model) dispatch - div [ ClassName "column" ] [ - div [ ClassName "columns" ][ - div [ ClassName "column" ] + | Some data -> + div + [ Class "columns is-fullheight" ] + [ NavRoot data.accounts (selectedAccount model) dispatch + div [ Class "column is-main-content" ] [ div [ ClassName "tabs is-boxed" ] [ ul [] [ tabHeader General model.tab dispatch - tabHeader ClipLimitsTab model.tab dispatch - tabHeader PositionLimitsTab model.tab dispatch + //tabHeader ClipLimitsTab model.tab dispatch + tabHeader LimitsTab model.tab dispatch tabHeader ConnectionsTab model.tab dispatch // tabHeader CreditLimits model.tab dispatch tabHeader ExchangeSettingsTab model.tab dispatch ] ] + tabContent model dispatch + accountControls model dispatch ] - div [ ClassName "column is-narrow" ] [ - yield saveButton model dispatch - yield Button.button "Revert" "is-light" "" (if isDirty model then Enabled else Disabled) revertFun - ] - ] - tabContent model dispatch - ] ] \ No newline at end of file diff --git a/src/web/ui/src/App.fs b/src/web/ui/src/App.fs index fe875fa25..e954faff2 100644 --- a/src/web/ui/src/App.fs +++ b/src/web/ui/src/App.fs @@ -11,97 +11,28 @@ open App.State open App.Types open Global -importAll "../sass/main.sass" +importAll "../sass/main.scss" open Fable.Helpers.React open Fable.Helpers.React.Props open Elmish.React.Common - -let isCurrentPage page currentPage = - match page, currentPage with - | UsersModel _, UsersModel _ -> true - | AccountsModel _, AccountsModel _ -> true - | _ -> false +open ServiceContext -let navButton classy href faClass txt = - p - [ ClassName "control" ] - [ a - [ ClassName (sprintf "button %s" classy) - Href href ] - [ span - [ ClassName "icon" ] - [ i - [ ClassName (sprintf "fa %s" faClass) ] - [ ] ] - span - [ ] - [ str txt ] ] ] - -let navButtons = - span - [ ClassName "nav-item" ] - [ div - [ ClassName "field is-grouped" ] - [ navButton "" "/" "fa-sign-out" "Logout" - ] - ] - - -let navItem label icon state currentPage dispatch = - a [ - OnClick (fun _ -> Navigate state |> dispatch) - classList [ "navbar-item", true; "is-active", isCurrentPage (fst state) currentPage ] - ] - [ - Button.faIcon icon - nbsp.element - str label - ] - - - -let navRoot currentPage sc dispatch = - let tmap (a,b) (fa,fb) = (fa a, fb b) - nav - [ ClassName "navbar" ] - [ - div [ ClassName "navbar-brand" ] - [ - h1 - [ ClassName "navbar-item" ] - [ - span [Style [ FontSize "1.5rem";]] [ str "BTS Spark Admin" ] - span [ Style [ CSSProp.Color "#fff"; FontSize "0.7rem"; Margin ".5ex 0 0 0"; Transform "rotate(90deg)"] ] [ str "beta" ] - ] - navItem "Users" "users" (tmap (Users.State.init sc) (UsersModel, Cmd.map UsersMsg)) currentPage dispatch - navItem "Accounts" "server" (tmap (Accounts.State.init sc) (AccountsModel,Cmd.map AccountsMsg)) currentPage dispatch - ] - - div [ ClassName "nav-right" ] - [ navButtons ] - ] - -let nav' = lazyView3With (fun a b -> isCurrentPage (fst a) (fst b)) navRoot - -let topLevel sc currentPage dispatch content = +let topLevel (sc:ServiceContext.ServiceContext) currentPage dispatch content = div - [] - [ div + [ Class "columns is-fullheight" ] + [ Nav.root currentPage sc dispatch + div [ Class "column is-main-content" ] + [ content] + (* + div [ ClassName "navbar-bg" ] [ div [ ClassName "container" ] - [ nav' currentPage sc dispatch ] ] - div - [ ClassName "section" ] - [ div - [ ClassName "container" ] - [ div [] - [ content ] - ] - ] - ] + [(App.Nav.navRoot currentPage sc dispatch) ] ] + //[(App.Nav.nav' currentPage sc dispatch) ] ]*) + ] let root model dispatch = match model with @@ -110,7 +41,7 @@ let root model dispatch = match model.page with | UsersModel m -> Users.View.root m (UsersMsg>>dispatch) |> topLevel model.context model.page dispatch | AccountsModel m -> Accounts.View.root m (AccountsMsg>>dispatch) |> topLevel model.context model.page dispatch - + open Elmish.React open Elmish.Debug open Elmish.HMR diff --git a/src/web/ui/src/Controls/Button.fs b/src/web/ui/src/Controls/Button.fs index 605f2fc77..b0d21dc8e 100644 --- a/src/web/ui/src/Controls/Button.fs +++ b/src/web/ui/src/Controls/Button.fs @@ -4,7 +4,7 @@ open Fable.Core open Fable.Helpers.React open Fable.Helpers.React.Props -type IsDisabled = +type IsDisabled = | Disabled | Enabled @@ -12,53 +12,69 @@ let isDisabled = function | Disabled -> true | Enabled -> false -let addButton disabled click = +let addButton disabled click = a [ ClassName "button fabutton " HTMLAttr.Disabled (isDisabled disabled) Title "Add" OnClick click ] [ - span [ ClassName "icon is-small has-text-success" ] [ + span [ ClassName "icon is-small has-text-success" ] [ i [ ClassName "fa fa-plus"] [ ] ] ] -let removeButton disabled click = - a [ ClassName "button fabutton" +let removeButton disabled click = + a [ ClassName "button fabutton" Style [] HTMLAttr.Disabled (isDisabled disabled) Title "Remove" OnClick click ] [ - span [ ClassName "icon has-text-danger" ] [ + span [ ClassName "icon has-text-danger" ] [ i [ ClassName "fa fa-times"] [ ] ] ] +let deleteButton disabled click = + a [ ClassName "delete is-small" + Style [] + HTMLAttr.Disabled (isDisabled disabled) + Title "Remove" + OnClick click ] [] -let fabutton title icon disabled click = +let faRoundButton title icon disabled click = + a [ ClassName "button fabutton is-round" + HTMLAttr.Disabled (isDisabled disabled) + Title title + OnClick click ] [ + span [ ClassName "icon is-small" ] [ + i [ ClassName (sprintf "fa fa-%s" icon)] [ ] ] + ] + + +let fabutton title icon disabled click = a [ ClassName "button fabutton" HTMLAttr.Disabled (isDisabled disabled) Title title OnClick click ] [ - span [ ClassName "icon is-small" ] [ + span [ ClassName "icon is-small" ] [ i [ ClassName (sprintf "fa fa-%s" icon)] [ ] ] ] -let falink title icon disabled click = - span [ +let falink title icon disabled click = + span [ HTMLAttr.Disabled (isDisabled disabled) Title title OnClick click ] [ - span [ ClassName "icon is-small" ] [ + span [ ClassName "icon is-small" ] [ i [ ClassName (sprintf "fa fa-%s" icon)] [ ] ] ] -let button text flavor icon disabled click = +let button text flavor icon disabled click = a [ ClassName (sprintf "button %s" flavor) HTMLAttr.Disabled (isDisabled disabled) //Title text OnClick click] [ (match icon with | "" -> str text - | _ -> + | _ -> span [][ span [ ClassName "icon is-small" ] [i [ ClassName (sprintf "fa fa-%s" icon)][] ] nbsp.element diff --git a/src/web/ui/src/Controls/Fields.fs b/src/web/ui/src/Controls/Fields.fs index 7be5a5940..36d9cebf5 100644 --- a/src/web/ui/src/Controls/Fields.fs +++ b/src/web/ui/src/Controls/Fields.fs @@ -9,13 +9,20 @@ open Global open Fable open JSMap -let text (lbl:string) (dv:string) (attrs:IHTMLProp list) onchange = +let Label (lbl:string) = + match lbl with + | "" -> str "" + | _ -> + label [ ClassName "label" ] + [ str lbl ] + + +let text (lbl:string) (dv:string) (attrs:IHTMLProp list) onchange = div [ ClassName "field" ] - [ - label [ ClassName "label" ] - [ str lbl ] + [ + Label lbl div [ ClassName "control" ] - [ input ([ + [ input ([ ClassName "input" Type "text" Value dv @@ -24,13 +31,13 @@ let text (lbl:string) (dv:string) (attrs:IHTMLProp list) onchange = ] ] -let textPair (v:string*string) (keyAttrs:IHTMLProp list) (valueAttrs:IHTMLProp list) (thirdCol:ReactElement list) (onchange: (string*string) -> string -> string -> unit) = +let textPair (v:string*string) (keyAttrs:IHTMLProp list) (valueAttrs:IHTMLProp list) (thirdCol:ReactElement list) (onchange: (string*string) -> string -> string -> unit) = div [ ClassName "columns" ] - [ + [ div [ ClassName "column is-3" ] [ input ( - [ + [ ClassName "input" Type "text" Value (fst v) @@ -43,9 +50,9 @@ let textPair (v:string*string) (keyAttrs:IHTMLProp list) (valueAttrs:IHTMLProp l str ":" ] div [ ClassName "column is-3" ] - [ + [ input ( - [ + [ ClassName "input" Type "text" Value (snd v) @@ -56,19 +63,19 @@ let textPair (v:string*string) (keyAttrs:IHTMLProp list) (valueAttrs:IHTMLProp l div [ ClassName "column" ] thirdCol ] -let map (lbl:string) (dv:JSMap) (attrs:IHTMLProp list) (onchange: JSMap -> unit) = - let remove (item: string*string) = +let map (lbl:string) (dv:JSMap) (attrs:IHTMLProp list) (onchange: JSMap -> unit) = + let remove (item: string*string) = let mp = JSMap.remove (fst item) dv onchange (mp) - let newEntry (value:string) = + let newEntry (value:string) = let origin = "", value let newValue = value, "" let rmp = JSMap.remove (fst origin) dv let mp = JSMap.add (fst newValue) (snd newValue) rmp onchange (mp) - let change (origin: string*string) (name:string) (value:string) = + let change (origin: string*string) (name:string) (value:string) = let newValue = match name with | "key" -> value, snd origin | "value" -> fst origin, value @@ -76,46 +83,45 @@ let map (lbl:string) (dv:JSMap) (attrs:IHTMLProp list) (onchange: JSMap< let rmp = JSMap.remove (fst origin) dv let mp = JSMap.add (fst newValue) (snd newValue) rmp onchange (mp) - + let sortedSeq = Seq.sortBy (fst) (Seq.ofArray (JSMap.toArray dv)) - let elementList:ReactElement list = - [for i in sortedSeq do yield + let elementList:ReactElement list = + [for i in sortedSeq do yield ( match (fst i) with - | "" -> - textPair - ("", (snd i) ) - [HTMLAttr.Disabled true; Placeholder "Enter New Item Name:"; ] - [ OnBlur ((fun ev -> !!ev.target?value |> newEntry )) ] - [ - Button.fabutton "" "" Button.Enabled ignore - Button.fabutton "Add" "check" Button.Enabled ignore - ] + | "" -> + textPair + ("", (snd i) ) + [HTMLAttr.Disabled true; Placeholder "Enter New Item Name:"; ] + [ OnBlur ((fun ev -> !!ev.target?value |> newEntry )) ] + [ + Button.fabutton "" "" Button.Enabled ignore + Button.fabutton "Add" "check" Button.Enabled ignore + ] change - | _ -> - textPair - i - [HTMLAttr.Disabled true] - [] - [Button.fabutton "Delete" "times" Button.Enabled (fun _ -> (remove i))] + | _ -> + textPair + i + [HTMLAttr.Disabled true] + [] + [Button.fabutton "Delete" "times" Button.Enabled (fun _ -> (remove i))] change )] div [ ClassName "field" ] - [ - label [ ClassName "label" ] [ str lbl ] + [ + Label lbl div [] elementList - Button.fabutton "Add" "plus" Button.Enabled ((fun _ -> change ("","") "" "")) + Button.fabutton "Add" "plus" Button.Enabled ((fun _ -> change ("","") "" "")) ] -let password (lbl:string) (dv:string) (attrs:IHTMLProp list) onchange = +let password (lbl:string) (dv:string) (attrs:IHTMLProp list) onchange = div [ ClassName "field" ] - [ - label [ ClassName "label" ] - [ str lbl ] + [ + Label lbl div [ ClassName "control" ] - [ input ([ + [ input ([ ClassName "input" Type "password" Value dv @@ -130,7 +136,7 @@ let number (lbl:string) (dv:int) (attrs:IHTMLProp list) onchange = let enumSelect<'a> (lbl:string) (dv:'a) (values:'a[]) (attrs:IHTMLProp list) (onchange:'a->unit) = div [ClassName "field"] [ - label [ClassName "label"] [str lbl] + Label lbl div [ClassName "control"] [ div [ClassName "select"] [ select ([ @@ -144,13 +150,13 @@ let enumSelect<'a> (lbl:string) (dv:'a) (values:'a[]) (attrs:IHTMLProp list) (on ] ] -let checkbox (lbl:string) (description:string) (dv:bool) (attrs:IHTMLProp list) (onchange:bool->unit) = +let checkbox (lbl:string) (description:string) (dv:bool) (attrs:IHTMLProp list) (onchange:bool->unit) = div [ ClassName "field" ] - [ + [ div [ ClassName "control" ] - [ + [ label [ ] [ - input ([ + input ([ ClassName "checkbox" Type "checkbox" Checked dv @@ -162,49 +168,49 @@ let checkbox (lbl:string) (description:string) (dv:bool) (attrs:IHTMLProp list) span [ClassName "is-size-7 has-text-grey-mid"][ str description] ] ] - -let mapSelect (lbl:string) (options:Map) (defaultText:string option) (defaultValue:string option) (onchange:'a->unit) = - let optList:ReactElement list = + +let mapSelect (lbl:string) (options:Map) (defaultText:string option) (defaultValue:string option) (onchange:'a->unit) = + let optList:ReactElement list = match defaultText with | None -> ([ for opt in options do yield option [ Value opt.Key ] [ str (opt.Value) ] ]) | Some dt -> (option [] [str dt]) :: ([ for opt in options do yield option [ Value opt.Key ] [ str (opt.Value) ] ]) - let dv = match defaultValue with - | Some d -> + let dv = match defaultValue with + | Some d -> d | None -> "" - + div [ ClassName "field" ] - [ - label [ ClassName "label" ] [ str lbl ] + [ + Label lbl div [ ClassName "control" ] - [ + [ div [ ClassName "select" ] - [ + [ select [ Value dv OnChange (fun ev -> !!ev.target?value |> onchange) ] optList - ] - ] + ] + ] ] -let simpleSelect (lbl:string) (options:string list) (defaultValue:string) (onchange:'a->unit) = - +let simpleSelect (lbl:string) (options:string list) (defaultValue:string) (onchange:'a->unit) = + div [ ClassName "field" ] - [ - label [ ClassName "label" ] [ str lbl ] + [ + Label lbl div [ ClassName "control" ] - [ + [ div [ ClassName "select" ] - [ - select [ + [ + select [ Value defaultValue OnChange (fun ev -> !!ev.target?value |> onchange) ] - [ for opt in options do yield option [ Value opt ] [ str (opt) ] ] - ] - ] + [ for opt in options do yield option [ Value opt ] [ str (opt) ] ] + ] + ] ] \ No newline at end of file diff --git a/src/web/ui/src/Controls/Table.fs b/src/web/ui/src/Controls/Table.fs index 1d289ec0b..9324115d9 100644 --- a/src/web/ui/src/Controls/Table.fs +++ b/src/web/ui/src/Controls/Table.fs @@ -6,9 +6,21 @@ open Fable.Helpers.React open Fable.Helpers.React.Props open Fable.Import.React -type cell = { content:ReactElement; className:string; isHeader:bool; colSpan:int } +type cell = { content:ReactElement; className:string; isHeader:bool; colSpan:int } + +let Cell (content:ReactElement) = { content = content; className = ""; isHeader = false; colSpan = 1 } +let controlCell (content:ReactElement) = + { content = div [ Class "field" ] + [ div [ Class "control" ] + [ + content + ] + ] + className = "" + isHeader = false + colSpan = 1 + } -let Cell (content:ReactElement) = { content = content; className = ""; isHeader = false; colSpan = 0 } type row = { cells:cell list @@ -16,12 +28,12 @@ type row = { header:string option } -let createCell (inHeaderRow:bool) (c:cell) = +let createCell (inHeaderRow:bool) (c:cell) = match c.isHeader || inHeaderRow with | false -> td [ ClassName c.className; ColSpan (float c.colSpan) ] [ c.content ] | true -> th [ ClassName c.className; ColSpan (float c.colSpan) ] [ c.content ] -let createRow (isHeaderRow:bool) (r:row) = +let createRow (isHeaderRow:bool) (r:row) = match r.header, isHeaderRow with | None, false -> tr [ ClassName r.className ] (List.map (createCell isHeaderRow) r.cells) | None, true -> tr [ ClassName r.className ] (List.map (createCell isHeaderRow) r.cells) @@ -29,16 +41,50 @@ let createRow (isHeaderRow:bool) (r:row) = | Some h, false -> tr [ ClassName r.className ] (th [] [str h] :: (List.map (createCell isHeaderRow) r.cells )) let createTableWithStyle (headers:row option) (rl:row list) className styles = - let rws = List.map (createRow false) rl - let tbl = match headers with - | Some h -> - [ - thead [] [ createRow true h] - tbody [] rws - ] - | None -> - [ tbody [] rws ] - table [ ClassName (sprintf "table is-narrow btstable %s" className); Style styles ] tbl - - -let createTable (headers:row option) (rl:row list) = createTableWithStyle headers rl "" [] \ No newline at end of file + let rws = List.map (createRow false) rl + let tbl = match headers with + | Some h -> + [ + thead [] [ createRow true h] + tbody [] rws + ] + | None -> + [ tbody [] rws ] + table [ ClassName (sprintf "table %s" className); Style styles ] tbl + + +let createTable (headers:row option) (rl:row list) = createTableWithStyle headers rl "" [] + +let createDataTable (headers:row option) (rl:row list) (buttons:ReactElement) = + let rws = List.map (createRow false) rl + let tbl = match headers with + | Some h -> + [ + thead [] [ createRow true h] + tbody [] rws + ] + | None -> + [ tbody [] rws ] + div [ Class "bts-data-table-container" ][ + table [ ClassName (sprintf "table bts-data-table") ] tbl + div [Class "is-pulled-right table-buttons"] [ buttons ] + div [Class "is-clearfix "] [] + ] + +let createSelectorTableWithStyle (headers:row option) (rl:row list) className styles = + let rws = List.map (createRow false) rl + let tbl = match headers with + | Some h -> + [ + thead [] [ createRow true h] + tbody [] rws + ] + | None -> + [ tbody [] rws ] + table [ ClassName (sprintf "table bts-selector-table %s" className); Style styles ] tbl + + (* + If a callback is provided add a checkbox as the first column and set a background color if it is checked... in addition to the callback + *) + +let createSelectorTable (headers:row option) (rl:row list) = createSelectorTableWithStyle headers rl "" [] \ No newline at end of file diff --git a/src/web/ui/src/Nav.fs b/src/web/ui/src/Nav.fs new file mode 100644 index 000000000..03d6c71ba --- /dev/null +++ b/src/web/ui/src/Nav.fs @@ -0,0 +1,60 @@ +module App.Nav + + +open Elmish +open Elmish.Browser.Navigation +open Fable.Core +open Fable.Core.JsInterop +open Fable.Import +open Fable.Import.Browser +open Types +open App.State +open App.Types +open Global + +open Fable.Helpers.React +open Fable.Helpers.React.Props +open Elmish.React.Common +open ServiceContext +open Fable.Helpers + +let isCurrentPage page currentPage = + match page, currentPage with + | UsersModel _, UsersModel _ -> true + | AccountsModel _, AccountsModel _ -> true + | _ -> false + +let navItem label icon state currentPage dispatch = + a [ + OnClick (fun _ -> Navigate state |> dispatch) + classList [ "is-active", isCurrentPage (fst state) currentPage ] + ] + [ + div [ ClassName "icon is-large" ] [ + i [ ClassName (sprintf "fa fa-2x fa-%s" icon) ] [] + ] + div [] [str label] + ] + +let root (currentPage:Page) (sc:ServiceContext) dispatch = + let tmap (a,b) (fa,fb) = (fa a, fb b) + div [ Class "column is-narrow is-launcher-sidebar-menu" ] + [ aside [ Class "menu" ] + [ ul [ Class "menu-list" ] + [ li [ Class "launcher-item" ] + [ navItem "Users" "users" (tmap (Users.State.init sc) (UsersModel, Cmd.map UsersMsg)) currentPage dispatch ] + li [ Class "launcher-item" ] + [ navItem "Accounts" "server" (tmap (Accounts.State.init sc) (AccountsModel,Cmd.map AccountsMsg)) currentPage dispatch ] + li [ Class "launcher-item" ] + [ a [ Href "/" ] + [ div [ ClassName "icon is-large" ] [ + i [ ClassName "fa fa-3x fa-sign-out" ] [] + ] + div [] [str "Logout"] + ] + ] + ] + ] + ] + +//let navRoot = lazyView3With (fun a b -> isCurrentPage (fst a) (fst b)) root \ No newline at end of file diff --git a/src/web/ui/src/Navbar/View.fs b/src/web/ui/src/Navbar/View.fs deleted file mode 100644 index d6f2cf78a..000000000 --- a/src/web/ui/src/Navbar/View.fs +++ /dev/null @@ -1,7 +0,0 @@ -module Navbar.View - -open Fable.Helpers.React -open Fable.Helpers.React.Props -open System.Drawing - - diff --git a/src/web/ui/src/Users/State.fs b/src/web/ui/src/Users/State.fs index 6927b10b0..79a16a0f7 100644 --- a/src/web/ui/src/Users/State.fs +++ b/src/web/ui/src/Users/State.fs @@ -12,8 +12,8 @@ open Fable.PowerPack.PromiseImpl open bts.api.admin open Global -let isNewAccount (user:BTSUser) = - user.id = 0u +let isNewUser (user:BTSUser) = + user.id = 0u && user.isPresent let getAdminData (admin:IAdminService) = Cmd.ofPromise @@ -98,17 +98,17 @@ let rec removeUser (user:BTSUser) (userList:BTSUser list) = | hd::tl -> hd::removeUser user tl | _ -> [] -let getFirstUser usrlst = +let getFirstUser usrlst = let head = (List.sortBy (fun (u:BTSUser) -> u.name.ToLower()) usrlst) |> List.tryHead match head with | None -> defaultScratchUser | Some hd -> hd -let findUserInList (user:BTSUser) (userList:BTSUser list) = - List.tryFind (fun (x:BTSUser) -> +let findUserInList (user:BTSUser) (userList:BTSUser list) = + List.tryFind (fun (x:BTSUser) -> x.id = user.id || (user.id = 0u && x.name = user.name) - ) + ) userList let getCurrentOrFirstUser (model:Model) (userList:BTSUser list) = @@ -116,11 +116,12 @@ let getCurrentOrFirstUser (model:Model) (userList:BTSUser list) = | Some cu, _ -> cu | None, Some pu -> pu | None, None -> getFirstUser userList + //| None, None -> defaultScratchUser let getCurrentUser (model:Model) = getCurrentOrFirstUser model model.userList - - +let currentUserIsDefault model = ((getCurrentUser model).id = 0u) + let userIsdirty (initialState:BTSUser) (scratch:BTSUser) (existing:BTSUser) = (scratch <> existing) && (scratch <> initialState) @@ -167,6 +168,7 @@ let applyUpdate (field:UserField) (user:BTSUser) = | OperatorID oid -> { user with userData = { user.userData with exchangeUserData = { user.userData.exchangeUserData with cmeData = { user.userData.exchangeUserData.cmeData with operatorId = oid }}}} | ATSOperatorID atsoid -> { user with userData = { user.userData with exchangeUserData = { user.userData.exchangeUserData with cmeData = { user.userData.exchangeUserData.cmeData with atsOperatorId = atsoid }}}} | SMPID smpid -> { user with userData = { user.userData with exchangeUserData = { user.userData.exchangeUserData with cmeData = { user.userData.exchangeUserData.cmeData with smpId = smpid }}}} + | Location loc -> { user with userData = { user.userData with exchangeUserData = { user.userData.exchangeUserData with cmeData = { user.userData.exchangeUserData.cmeData with location = loc }}}} | SMPInstruction smpi -> { user with userData = { user.userData with exchangeUserData = { user.userData.exchangeUserData with cmeData = { user.userData.exchangeUserData.cmeData with smpInstruction = smpi }}}} | MaxOrderRatePerConnection morpc -> { user with userData = { user.userData with exchangeUserData = { user.userData.exchangeUserData with cmeData = { user.userData.exchangeUserData.cmeData with maxOrderRatePerConnection = morpc }}}} | MiscTags map -> @@ -228,7 +230,9 @@ let update msg (model:Users.Types.Model) : Model * Cmd = | false -> model, Cmd.Empty | AddUser -> - { model with PreviousScratchUser = model.scratchUser; scratchUser = { defaultScratchUser with name = "New User" } }, Cmd.ofMsg (SwitchTab General) + { model with PreviousScratchUser = model.scratchUser; scratchUser = { defaultScratchUser with name = "New User" }}, Cmd.ofMsg (SwitchTab General) + | CancelAddUser -> + { model with scratchUser = { model.PreviousScratchUser with name = "New User" }}, Cmd.ofMsg (SwitchTab General) | SwitchTab tb -> {model with currentTab = tb}, Cmd.Empty diff --git a/src/web/ui/src/Users/Types.fs b/src/web/ui/src/Users/Types.fs index 86d4fda09..b7585111a 100644 --- a/src/web/ui/src/Users/Types.fs +++ b/src/web/ui/src/Users/Types.fs @@ -16,16 +16,17 @@ type Model = { PreviousScratchUser:BTSUser currentTab:Tab admin : IAdminService - adminData : AdminData option + adminData : AdminData option } -type UserField = +type UserField = | Name of string | Password of string | IsActive of bool | OperatorID of string | ATSOperatorID of string | SMPID of string +| Location of string | SMPInstruction of string | MaxOrderRatePerConnection of string | MiscTags of JSMap @@ -47,8 +48,9 @@ type Msg = | CopyFrom of BTSUser * BTSUser | Delete of BTSUser | AddUser + | CancelAddUser | SwitchTab of Tab | SwitchUser of BTSUser | SaveUser | ErrorOccured of obj - + diff --git a/src/web/ui/src/Users/View.fs b/src/web/ui/src/Users/View.fs index 949b596ae..88bcb66d5 100644 --- a/src/web/ui/src/Users/View.fs +++ b/src/web/ui/src/Users/View.fs @@ -10,8 +10,8 @@ open Types open Users open bts.api.admin open Users - -let isActiveTab tab currentTab = + +let isActiveTab tab currentTab = let ia = "is-active" match tab, currentTab with | Tab.General, Tab.General -> ia @@ -20,21 +20,21 @@ let isActiveTab tab currentTab = | Tab.OrderRouting, Tab.OrderRouting -> ia | _ -> "" -let isActiveUser id (currentUser:BTSUser) = +let isActiveUser id (currentUser:BTSUser) = match id = currentUser.id with | true -> "is-active" | false -> "" let saveButton (model:Users.Types.Model) dispatch = - let buttonText = if State.isNewAccount model.scratchUser then "Create" else "Save" + let buttonText = if State.isNewUser model.scratchUser then "Create" else "Save" let dirty = State.userIsdirty State.defaultScratchUser model.scratchUser (State.getCurrentUser model) let enabled = if dirty then Button.Enabled else Button.Disabled let flavor = if dirty then "is-success" else "is-light" Button.button buttonText flavor "" enabled (fun _ -> dispatch SaveUser) -let generalTabContent (model:Model) (dispatch:Msg->Unit) = - let modal = Modal.showCreate - "Create User" +let generalTabContent (model:Model) (dispatch:Msg->Unit) = + let modal = Modal.showCreate + "Create User" (div [][ Fields.text "Name" model.scratchUser.name [ ] (Name >> UpdateField >> dispatch) Fields.password "Password" model.scratchUser.password [ ] (Password >> UpdateField >> dispatch) @@ -48,25 +48,35 @@ let generalTabContent (model:Model) (dispatch:Msg->Unit) = Fields.text "Name" model.scratchUser.name [ ] (Name >> UpdateField >> dispatch) Fields.password "Password" model.scratchUser.password [ ] (Password >> UpdateField >> dispatch) Fields.checkbox "Active" "Unchecking this stops the user from entering orders" model.scratchUser.isActive [] (IsActive >> UpdateField >> dispatch) - (if State.isNewAccount model.scratchUser then modal else span[][]) + (if State.isNewUser model.scratchUser then modal else span[][]) + Button.button "Remove User" "is-danger-hover" "times" Button.Enabled (fun _ -> dispatch <| Delete model.scratchUser) ] -let accountNameLookup (accountsList:BTSAccount list) (id:string) = +let accountNameLookup (accountsList:BTSAccount list) (id:string) = match (List.tryFind (fun a -> a.id.ToString() = id) accountsList) with | Some acnt -> acnt.name | None -> "Account Not Found" -let accountsTabContent (model:Model) (dispatch:Msg->Unit) = +let accountsTabContent (model:Model) (dispatch:Msg->Unit) = let accountPermissions = model.scratchUser.userData.accountPermissions.accountPermissions - let keys = - Global.Reflection.keys accountPermissions + + let keys = + Global.Reflection.keys accountPermissions |> Array.map (fun i -> i, accountNameLookup model.accountsList i) - let headerRow:TableControl.row = + let keymap = + keys |> Array.map snd |> Set.ofArray + let accMap = + model.accountsList + |> List.filter (fun a -> a.isPresent) + |> List.map (fun a -> a.id.ToString(), a.name) + |> Map.ofList + + + let headerRow:TableControl.row = { - cells = + cells = [ - TableControl.Cell(str "") TableControl.Cell(str "Account") TableControl.Cell(str "Trading Permission") TableControl.Cell(str "Admin Permission") @@ -74,42 +84,46 @@ let accountsTabContent (model:Model) (dispatch:Msg->Unit) = className = "" header = None } - let rws:TableControl.row list = - [for (key,name) in keys do yield { - cells = [ - TableControl.Cell(Button.removeButton Button.Enabled (fun _ -> key |> (RemoveAccount >> UpdateField >> dispatch))) - TableControl.Cell(str name) - TableControl.Cell( str "Full") - TableControl.Cell(str "Full") + let rows:TableControl.row list = + [for acc in accMap do yield { + cells = [ + //TableControl.Cell(Button.removeButton Button.Enabled (fun _ -> key |> (RemoveAccount >> UpdateField >> dispatch))) + TableControl.Cell(str acc.Value) + { content = (Fields.checkbox "" "" ( + keymap.Contains <| acc.Value) + [] + (fun _ -> acc.Key |> ((match (keymap.Contains <| acc.Value) with | true -> RemoveAccount | false -> AddAccount) >> UpdateField >> dispatch)) + ); + className = ""; + isHeader = false; + colSpan = 0 + } + { content = (Fields.checkbox "" "" ( + model.scratchUser.name.Contains "bts" || model.scratchUser.name.Contains "admin") + [Disabled true] + ignore + ); + className = ""; + isHeader = false; + colSpan = 0 + } ] className="" header = None } ] - let keymap = - keys |> Array.map snd |> Set.ofArray - let accMap = - model.accountsList - |> List.filter (fun a -> a.isPresent && not <| keymap.Contains a.name) - |> List.map (fun a -> a.id.ToString(), a.name) - |> Map.ofList - let rows = - rws @ [{cells = [ - { content = Fields.mapSelect "" accMap (Some "Add Account") None (AddAccount >> UpdateField >> dispatch); className = ""; isHeader = false; colSpan = 4 } - ]; className = ""; header = None }] - div [] [ - TableControl.createTableWithStyle (Some headerRow) rows "table-bordered" [] + TableControl.createSelectorTable (Some headerRow) rows ] -let mdEntitlementsTabContent (model:Model) (dispatch:Msg->Unit) = +let mdEntitlementsTabContent (model:Model) (dispatch:Msg->Unit) = let cmeData = model.scratchUser.userData.exchangeMdEntitlementData.cmeData - div [] - [ - Fields.simpleSelect "" ["CME"] "CME" ignore - div [] + div [] + [ + h2 [Class "is-size-3"] [ str "CME" ] + div [] [ Fields.checkbox "CBOT" "" cmeData.cbotEntitlement.canView [] (CBOTEntitlement >> UpdateField >> dispatch) Fields.checkbox "CME" "" cmeData.cmeEntitlement.canView [] (CMEEntitlement >> UpdateField >> dispatch) @@ -117,27 +131,28 @@ let mdEntitlementsTabContent (model:Model) (dispatch:Msg->Unit) = Fields.checkbox "BMANDF" "" cmeData.bmandfEntitlement.canView [] (BMANDFEntitlement >> UpdateField >> dispatch) Fields.checkbox "COMEX" "" cmeData.comexEntitlement.canView [] (COMEXEntitlement >> UpdateField >> dispatch) Fields.checkbox "CME Europe" "" cmeData.cmeEuropeEntitlement.canView [] (CMEEuropeEntitlement >> UpdateField >> dispatch) - ] + ] ] -let orderRoutingTabContent (model:Model) (dispatch:Msg->Unit) = +let orderRoutingTabContent (model:Model) (dispatch:Msg->Unit) = let cmeData = model.scratchUser.userData.exchangeUserData.cmeData - div [] - [ - Fields.simpleSelect "" ["CME"] "CME" ignore - div [] + div [] + [ + h2 [Class "is-size-3"] [ str "CME" ] + div [] [ Fields.text "Operator ID" cmeData.operatorId [] (OperatorID >> UpdateField >> dispatch) //Fields.text "ATS Operator ID" cmeData.atsOperatorId [] (ATSOperatorID >> UpdateField >> dispatch) //Fields.text "SMP ID" cmeData.smpId [] (SMPID >> UpdateField >> dispatch) - //Fields.text "SMP Instruction" cmeData.smpInstruction [] (SMPInstruction >> UpdateField >> dispatch) + Fields.text "SMP Instruction" cmeData.smpInstruction [] (SMPInstruction >> UpdateField >> dispatch) + Fields.text "Location" cmeData.location [] (Location >> UpdateField >> dispatch) //Fields.text "Max Order Rate Per Connection" cmeData.maxOrderRatePerConnection [] (MaxOrderRatePerConnection >> UpdateField >> dispatch) //Fields.map "Misc Tag Mapping" cmeData.miscTags [] (MiscTags >> UpdateField >> dispatch) ] ] -let tabContent (model:Model) (dispatch:Msg->Unit) = - div [Key (string model.scratchUser.id); ClassName "tabBox"] [ +let tabContent (model:Model) (dispatch:Msg->Unit) = + div [Key (string model.scratchUser.id); ClassName "is-tab-content"] [ (match model.currentTab, (State.userIsSelected model.scratchUser State.defaultScratchUser) with | _, false -> p [Style [ Color "Red" ]] [ str "Select a User" ] | Tab.General, true -> generalTabContent model dispatch @@ -146,15 +161,15 @@ let tabContent (model:Model) (dispatch:Msg->Unit) = | Tab.OrderRouting, true -> orderRoutingTabContent model dispatch) ] -let userControls (usersList:BTSUser list) (currentUser:BTSUser) (dispatch:Msg->Unit) (disabled:bool)= - div [ ClassName "is-clearfix plus-margin-top" ] - [ - p [ ClassName "" ][ - Button.button "Add" "contrast-button selector-button" "plus" Button.Enabled (fun _ -> dispatch <| AddUser) - //nbsp.element - br [] - Button.button "Remove" "contrast-button selector-button" "times" Button.Enabled (fun _ -> dispatch <| Delete currentUser) - ] +let userControls (model:Model) (dispatch:Msg->Unit) = + let currentUser = State.getCurrentUser model + let dirty = State.userIsdirty State.defaultScratchUser model.scratchUser (State.getCurrentUser model) + + div [ ClassName "is-main-control-bar" ] + [ + nbsp.element + saveButton model dispatch + Button.button "Revert" "is-light" "" (if dirty then Button.Enabled else Button.Disabled) (fun _ -> SwitchUser (currentUser) |> dispatch) (*p [ ClassName "control" ] [ a [ ClassName "button is-light" Title "Clone" @@ -164,91 +179,153 @@ let userControls (usersList:BTSUser list) (currentUser:BTSUser) (dispatch:Msg->U [ span [ ClassName "icon is-small" ] [ i [ ClassName "fa fa-clone" ] [ ] ] - ] + ] ]*) (*p [ ClassName "control" ] [ a [ ClassName "button is-light" ] [ span [ ClassName "icon is-small" - Title "Copy from user 1 ..." + Title "Copy from user 1 ..." OnClick (fun _ -> dispatch <| CopyFrom (usersList.Head, currentUser)) ] [ i [ ClassName "fa fa-copy" ] [ ] ] - ] - ]*) + ] + ]*) ] -let usersMenu (usersList:BTSUser list) (currentUser:BTSUser) (dispatch:Msg->Unit) = - let activeUsers = +let usersMenu (usersList:BTSUser list) (currentUser:BTSUser) (dispatch:Msg->Unit) = + let activeUsers = usersList |> List.sortBy (fun u -> u.name.ToLower()) div [ ClassName "column is-narrow" ] - [ + [ aside [ ClassName "menu box" ] - [ + [ p [ ClassName "menu-label has-text-centered" ] [ str "Select User" ] ul [ ClassName "menu-list" ] - [ for u in activeUsers do yield li [] + [ for u in activeUsers do yield li [] [ - a [ - ClassName (isActiveUser u.id currentUser) + a [ + ClassName (isActiveUser u.id currentUser) OnClick (fun _ -> (u |> SwitchUser |> dispatch)) ] - [ + [ str u.name ] - - ] - ] - userControls usersList currentUser dispatch (not (State.userIsSelected currentUser State.defaultScratchUser)) + + ] + ] ] ] +let userSelectionGrid (usersList:BTSUser list) (currentUser:BTSUser) (dispatch:Msg->Unit) = + let activeUsers = + usersList |> List.sortBy (fun u -> u.name.ToLower()) + + let headerRow:TableControl.row = + { + cells = + [ + TableControl.Cell (str "") + TableControl.Cell (str "Username") + TableControl.Cell (str "Active") + ] + className = "" + header = None + } + let rws:TableControl.row list = + [ for u in activeUsers do yield { + cells = + [ + { content = (Fields.checkbox "" "" false [] ignore); className = "is-checkbox-cell"; isHeader = false; colSpan = 0 } + TableControl.Cell (a [ OnClick (fun _ -> (u |> SwitchUser |> dispatch))][ + str u.name + ]) + TableControl.Cell (str (sprintf "%b" u.isActive)) + ] + className = "" + header = None + } + ] + div[][ + TableControl.createSelectorTable (Some headerRow) rws + ] + + +let NavRoot (usersList:BTSUser list) (currentUser:BTSUser) (dispatch:Msg->Unit) = + let activeUsers = + usersList |> List.sortBy (fun u -> u.name.ToLower()) + + div [ Class "column is-narrow is-sidebar-menu" ] + [ aside [ Class "menu" ] + [ div [ Class "has-text-right" ] + [ + Button.faRoundButton "Add User" "plus" Button.Enabled (fun _ -> dispatch <| AddUser) + ] + ul [ Class "menu-list" ] + [ + for u in activeUsers do yield li [] + [ a [ + ClassName (isActiveUser u.id currentUser) + OnClick (fun _ -> (u |> SwitchUser |> dispatch)) + ] + [ + str u.name + ] + ] + ] + ] + ] + +let selectionPageContent (model:Model) (dispatch:Msg->Unit) = + let modal = Modal.showCreate + "Create User" + (div [][ + Fields.text "Name" model.scratchUser.name [ ] (Name >> UpdateField >> dispatch) + Fields.password "Password" model.scratchUser.password [ ] (Password >> UpdateField >> dispatch) + Fields.checkbox "Active" "Unchecking this stops the user from entering orders" model.scratchUser.isActive [] (IsActive >> UpdateField >> dispatch) + ]) + (fun _ -> dispatch SaveUser) + //(fun _ -> SwitchUser (State.getCurrentUser model) |> dispatch) + (fun _ -> CancelAddUser |> dispatch) + div [] [ + userSelectionGrid model.userList model.scratchUser dispatch + (if State.isNewUser model.scratchUser then modal else span[][]) + ] + let root (model:Model) (dispatch:Msg->Unit) = - - let dirty = State.userIsdirty State.defaultScratchUser model.scratchUser (State.getCurrentUser model) (match model.adminData with - | None -> div[][str "Loading user list..."] - | Some data -> - div [ ClassName "columns" ] - [ - usersMenu model.userList model.scratchUser dispatch - div [ ClassName "column" ] - [ - div [ ClassName "columns" ] - [ - div [ ClassName "column" ] + | None -> div[][str "Loading user list..."] + | Some data -> + div + [ Class "columns is-fullheight" ] + [ NavRoot model.userList model.scratchUser dispatch + div [ Class "column is-main-content" ] + [ + div [ ClassName "tabs is-boxed" ] + [ ul [ ] [ - div [ ClassName "tabs is-boxed" ] - [ ul [ ] - [ - li [ ClassName (isActiveTab Tab.General model.currentTab) ] - [ a [ OnClick (fun _ -> dispatch (SwitchTab Tab.General)) ] - [ str "General" ] ] - li [ ClassName (isActiveTab Tab.Accounts model.currentTab) ] - [ a [ OnClick (fun _ -> dispatch (SwitchTab Tab.Accounts)) ] - [ str "Account Permissions" ] ] - li [ ClassName (isActiveTab Tab.MDEntitlements model.currentTab) ] - [ a [ OnClick (fun _ -> dispatch (SwitchTab Tab.MDEntitlements)) ] - [ str "Market Data Entitlements" ] ] - li [ ClassName (isActiveTab Tab.OrderRouting model.currentTab) ] - [ a [ OnClick (fun _ -> dispatch (SwitchTab Tab.OrderRouting)) ] - [ str "Order Routing" ] ] - ] - ] - ] - div [ ClassName "column is-narrow" ] - [ - yield saveButton model dispatch - yield Button.button "Revert" "is-light" "" (if dirty then Button.Enabled else Button.Disabled) (fun _ -> SwitchUser (State.getCurrentUser model) |> dispatch) + li [ ClassName (isActiveTab Tab.General model.currentTab) ] + [ a [ OnClick (fun _ -> dispatch (SwitchTab Tab.General)) ] + [ str "General" ] ] + li [ ClassName (isActiveTab Tab.Accounts model.currentTab) ] + [ a [ OnClick (fun _ -> dispatch (SwitchTab Tab.Accounts)) ] + [ str "Account Permissions" ] ] + li [ ClassName (isActiveTab Tab.MDEntitlements model.currentTab) ] + [ a [ OnClick (fun _ -> dispatch (SwitchTab Tab.MDEntitlements)) ] + [ str "Market Data Entitlements" ] ] + li [ ClassName (isActiveTab Tab.OrderRouting model.currentTab) ] + [ a [ OnClick (fun _ -> dispatch (SwitchTab Tab.OrderRouting)) ] + [ str "Order Routing" ] ] ] ] tabContent model dispatch - - ] - ] + userControls model dispatch + ] + ] + ) diff --git a/src/web/ui/src/ui.fsproj b/src/web/ui/src/ui.fsproj index e2317a935..7538454d3 100644 --- a/src/web/ui/src/ui.fsproj +++ b/src/web/ui/src/ui.fsproj @@ -55,11 +55,10 @@ - - + diff --git a/src/web/ui/webpack.config.js b/src/web/ui/webpack.config.js index 34f595586..4324f7004 100644 --- a/src/web/ui/webpack.config.js +++ b/src/web/ui/webpack.config.js @@ -64,7 +64,7 @@ module.exports = env => { }, }, { - test: /\.sass$/, + test: /\.scss$/, use: [ "style-loader", "css-loader", diff --git a/tools/git_switch_linux.cmd b/tools/git_switch_linux.cmd index 2f54e8159..a2f021edb 100644 --- a/tools/git_switch_linux.cmd +++ b/tools/git_switch_linux.cmd @@ -4,7 +4,7 @@ SETLOCAL if "%SPARKVM_PORT%"=="" set SPARKVM_PORT=22 if "%1" == "" goto :err echo. -ssh bts@sparkvm -p %SPARKVM_PORT% -o StrictHostKeyChecking=no -t "cd /home/bts/spark && git checkout %1 && git reset --hard && git clean -fd && git pull && git submodule update" +ssh bts@sparkvm -p %SPARKVM_PORT% -o StrictHostKeyChecking=no -t "cd /home/bts/spark ; git reset --hard ; git clean -fd ; git checkout %1 ; git pull ; git submodule update" ENDLOCAL goto :eof