Socket
Socket
Sign inDemoInstall

@wmfs/cardscript-extract-defaults

Package Overview
Dependencies
2
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @wmfs/cardscript-extract-defaults

Extracts sensible defaults from some Cardscript.


Version published
Maintainers
1
Created

Changelog

Source

1.35.1 (2022-06-16)

🐛 Bug Fixes

  • issue with navigating to tabs hidden behind show when conditions (23bb3b0)
  • issue with q-editor default values (909afd5)
  • map fly to to use props not store (52a9dad)
  • only apply map fly to value if id exists (ebde201)
  • Unexpected lexical declaration in case block (5333d8d)

🛠 Builds

  • deps-dev: update dependency chai to v4.3.5 (6ab8466)
  • deps-dev: update dependency chai to v4.3.6 (79f042e)
  • deps-dev: update dependency mocha to v10 (0b88543)
  • deps-dev: update dependency mocha to v9.2.1 (fd0983d)
  • deps-dev: update dependency mocha to v9.2.2 (ae86251)
  • deps-dev: update dependency semantic-release to v19.0.3 (bbab598)
  • deps-dev: update dependency standard to v17 (702bf72)

Readme

Source

cardscript-extract-defaults

Tymly Cardscript CircleCI npm (scoped) codecov CodeFactor Dependabot badge Commitizen friendly JavaScript Style Guide license

Extracts sensible defaults from some Cardscript.

Install

$ npm install cardscript-extract-defaults --save

Usage

const extractDefaults = require('@wmfs/cardscript-extract-defaults')

const defaultValues = extractDefaults(
    {
      "type": "AdaptiveCard",
      "body": [
        {
          "type": "TextBlock",
          "text": "Change me!",
          "color": "attention",
          "horizontalAlignment": "center"
        }
      ],
      "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
      "version": "1.0"
    }
)

Testing

$ npm test

License

MIT

Keywords

FAQs

Last updated on 16 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc