Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@misk/prettier

Package Overview
Dependencies
Maintainers
3
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.18-6

Diff

Changelog

Source

0.1.18-6

12 Sept 2019 15:18:00 GMT

@misk/simpleredux

  • Unified SimpleRedux flow merging together SimpleForm and SimpleNetwork
  • Extensive test coverage across new flow
  • Usage of old SimpleForm and SimpleNetwork Redux elements now call out to the new SimpleRedux flow and log deprecation warnings encouraging upgrading to the unified flow.
adrw
published 0.1.18-5 •

Changelog

Source

0.1.18-5

12 Sept 2019 14:57:00 GMT

@misk/core

  • Add ResponsiveAppContainer that extends ResponsiveContainer with styling to keep it below the Navbar
  • Make environmentToColor theme configuration easier with lookup table now as a parameter to create the function
  • See examples in the Custom Styling docs
adrw
published 0.1.18-4 •

adrw
published 0.1.18-3 •

Changelog

Source

0.1.18-3

11 Sept 2019 20:17:00 GMT

@misk/core

  • Navbar is now themable!
  • Override the default theme by providing a new theme through props
  • Take advantage of the defaultTheme if you only want to change one of the theme values
  • See examples in the Custom Styling docs
adrw
published 0.1.18-2 •

Changelog

Source

0.1.18-2

10 Sept 2019 20:59:00 GMT

@misk/core

  • Added new props to Navbar to allow customization of MenuButton. All are optional and have sane defaults for the default interaction of showing the menu with respective icons.
    • menuIcon?: IconName | JSX.Element | string: Set the icon that shows when the menu is closed. It can be a BlueprintJS IconName, a React JSX.Element, or a string URL to an image.
    • menuOpenIcon?: IconName | JSX.Element | string: Set the icon that shows when the menu is open. It can be a BlueprintJS IconName, a React JSX.Element, or a string URL to an image.
    • menuButtonAsLink?: boolean: Show the menuIcon and onClick go to the homeUrl instead of opening the menu.
    • menuShowButton?: boolean: Hide the MenuButton entirely.

@misk/test

  • Add @testing-library/dom library for easier tests that check for certain rendered elements or text
adrw
published 0.1.18-1 •

Changelog

Source

0.1.18-1

22 Aug 2019 22:18:00 GMT

@misk/simpleredux

  • Move around files in library
  • There should be no change in functionality
adrw
published 0.1.18-0 •

Changelog

Source

0.1.18-0

22 Aug 2019 19:54:00 GMT

@misk/simpleredux

  • Deprecate simpleSelect in favor of two new functions: simpleSelectorGet and simpleSelectorPick
  • Both new functions have the same API and under the hood use Lodash corresponding functions get and pick
  • Update simpleSelect calls to either of the two new functions soon as simpleSelect will be removed in a future release
  • See more in @misk/simpleredux documentation
simpleSelectorGet
  • Allows for single-key cached selection from Redux state

  • Most directly equivalent to deprecated simpleSelect

    // OLD
    const field1 = simpleSelect(props.simpleForm, "Dino::Field1", "data")
    const tagsField = simpleSelect(props.simpleForm, "Dino::Tags", "data", simpleType.array)
    
    // NEW
    const field1 = simpleSelectorGet(props.simpleForm, ["Dino::Field1", "data"])
    const tagsField = simpleSelectorGet(props.simpleForm, ["Dino::Tags", "data"], [])
    
simpleSelectorPick
  • Allows for multi-key cached selection from Redux state

    // OLD
    const fields = [
      "Name",
      "Price",
      "Itemized Receipt",
      "CheckAlice",
      "CheckBob",
      "CheckEve",
      "CheckMallory",
      "CheckTrent",
      "Meal",
      "Tags"
    ].map((f: string) => `Dino::${f}`)
    const fieldsData = fields
      .map((key: string) => {
        const value = simpleSelect(props.simpleForm, key, "data")
        return { [key]: value }
      })
      .reduce((prev, current) => ({...prev, ...current}), {})
    
    // New
    const fields = [
      "Name",
      "Price",
      "Itemized Receipt",
      "CheckAlice",
      "CheckBob",
      "CheckEve",
      "CheckMallory",
      "CheckTrent",
      "Meal",
      "Tags"
    ].map((f: string) => `Dino::${f}.data`)
    const fieldsData = simpleSelectorPick(props.simpleForm, fields)
    
adrw
published 0.1.17 •

Changelog

Source

0.1.17

20 Aug 2019 14:00:00 GMT

  • Stable release
adrw
published 0.1.17-4 •

Changelog

Source

0.1.17-4

15 Aug 2019 14:00:00 GMT

@misk/dev

  • Use webpack alias for src/ and tests/ imports

@misk/test

  • Use moduleNameMapper in jest for src/ and tests/ imports
adrw
published 0.1.17-3 •

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