Socket
Socket
Sign inDemoInstall

@misk/prettier

Package Overview
Dependencies
Maintainers
5
Versions
332
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@misk/prettier - npm Package Versions

1
34

0.1.20-2

Diff

Changelog

Source

0.1.20-2

27 Sept 2019 11:24:00 GMT

@misk/core

  • Table component now takes a range [start: number, end: number] to signify the rows to display. This replaces the maxRows props.

@misk/simpleredux

  • simpleSelectorPickTransform extends existing simpleSelectorPick (which matches Lodash's Pick API) to allow for reshaping the object with picked keys.
  • dispatchSimpleRedux functions now take an options object that allows for named passing in of requestConfig and mergeSaga. mergeSaga accepts a generator function Saga that will run after the dispatch function's action is executed. This means that a simpleHttpGet will execute first and then the response will be included in the payload that the mergeSaga has access to. mergeSaga is then responsible to choose whether to emit any additional state update events or handle other asynchronous computation. Since it is a full saga and a generating function, the block of computation is asynchronous and follow up network requests or large computation can be done without risk of blocking render. See a full example of this in the new ExampleMergeSagaContainer in palette-exemplar.
  • Universal handler. Many components allow for passing in an onChange handler that is a function accepting user event driven input and executing side effects. For example, an <InputGroup/> returns the latest text in the text box, and a simple onChange handler would persist the latest text in a tagged spot in Redux. Components though do not have a universal form of input they provide to their onChange handler. Instead of developers having to keep track of what function signature the component onChange props is expecting, @misk/simpleredux now has a universal handler that provides the same function names as dispatchSimpleRedux (ie. handler.simpleMergeData, handler.simpleHttpGet...) but can handle directly input from an component onChange or onClick props.
  • The universal handler can handle input from any onChange or onClick props because of a new parseOnChangeArgs engine that identifies the format of input from onChange and returns it in a format that the dispatchSimpleRedux functions can use. See examples of handler in both starter-basic and palette-exemplar tabs.
  • onFn[Click,Change,Toggle,Tags]Call functions are deprecated in favor of handler.
adrw
published 0.1.20-1 •

Changelog

Source

0.1.20-1

25 Sept 2019 20:40:00 GMT

@misk/cli

  • new command now accepts two positional arguments for titleCase and slugCase names for the new tab to be generated. The Misk-Web CLI no longer requires manual invocation of ./new-tab.sh!

Example Tabs

  • Add support to ./new-tab-starter-basic.sh that allow starter-basic to be used in docs site demo and as template for new tabs
  • Add Palette-Exemplar and Palette-LTS tabs to docs site example demos
adrw
published 0.1.20-0 •

Changelog

Source

0.1.20-0

25 Sept 2019 20:40:00 GMT

@misk/core

  • Upstream new <Table data={data} maxRows={5} /> component from palette-exemplar tab for tables that autogenerate from a list of objects.

Example Tabs

  • New starter-basic tab for use in miskweb new creation of new tabs. Much simpler bare bones structure making for a less overwhelming start for new tab developers.
  • palette-exemplar will remain to showcase more advanced features and use cases
adrw
published 0.1.19 •

Changelog

Source

0.1.19

17 Sept 2019 19:19:00 GMT

Stable release including all the changes of 0.1.19-* alpha releases.

  • Bug fixes for 0.1.18 release of @misk/simpleredux
  • New MiskNavbarContainer in @misk/core
adrw
published 0.1.19-3 •

Changelog

Source

0.1.19-3

17 Sept 2019 18:25:00 GMT

@misk/core

  • Upstream from Misk, the MiskNavbarContainer that can be extended to support front end dashboards for any Misk service
adrw
published 0.1.19-2 •

Changelog

Source

0.1.19-2

16 Sept 2019 18:34:00 GMT

@misk/simpleredux

  • Reverse changes from 0.1.19-1
  • Add new dispatch function simpleMergeData that does the similar encapsulation instead to provide that functionality to call sites that aren't using on*FnCall utilities
  • Deprecated simpleFormInput now resolves to simpleMergeData instead of simpleMerge
adrw
published 0.1.19-1 •

Changelog

Source

0.1.19-1

16 Sept 2019 15:55:00 GMT

@misk/simpleredux

  • Update onChangeFnCall, onChangeToggleFnCall and onChangeTagFnCall to call functions with data enclosed in an object with a data key. This will fix outstanding bugs from the new simpleMerge` functionality. No migration should be required.
    • Old
    export const onChangeFnCall = (callFn: any, ...args: any) => (event: any) => {
      callFn(...args, event.target.value);
    };
    
    • New
    export const onChangeFnCall = (callFn: any, ...args: any) => (event: any) => {
      callFn(...args, { data: event.target.value });
    };
    
adrw
published 0.1.19-0 •

Changelog

Source

0.1.19-0

13 Sept 2019 20:16:00 GMT

@misk/simpleredux

  • Move HTTPMethodDispatch from @misk/core to @misk/simpleredux to fix and prevent future API drift
adrw
published 0.1.18 •

Changelog

Source

0.1.18

13 Sept 2019 17:52:00 GMT

Stable release including all the changes of 0.1.18-* alpha releases.

adrw
published 0.1.18-7 •

Changelog

Source

0.1.18-7

13 Sept 2019 15:18:00 GMT

@misk/cli

  • Update Yargs library usage. There should no longer be deprecation warnings!
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc