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

Comparing version 1.35.1 to 1.35.2

13

CHANGELOG.md

@@ -0,1 +1,14 @@

## [1.35.2](https://github.com/wmfs/cardscript-extract-defaults/compare/v1.35.1...v1.35.2) (2022-08-16)
### 🐛 Bug Fixes
* default value for Input.DateTime ([5d39c8d](https://github.com/wmfs/cardscript-extract-defaults/commit/5d39c8de6d06b36fd83d06eed6c1c2f0d1218b9a))
### 🚨 Tests
* update test expected ([a977810](https://github.com/wmfs/cardscript-extract-defaults/commit/a9778104868263583ee1496a4235629aa7c0f206))
* update with input.datetime ([b53ee03](https://github.com/wmfs/cardscript-extract-defaults/commit/b53ee03b49a33bf1ed34d74c1836f50432352783))
## [1.35.1](https://github.com/wmfs/cardscript-extract-defaults/compare/v1.35.0...v1.35.1) (2022-06-16)

@@ -2,0 +15,0 @@

@@ -83,2 +83,8 @@ const marked = require('marked')

break
case 'Input.DateTime':
if (defaultValue !== undefined) {
applyDefaultValue(defaultValues, defaultValue === '$TODAY' ? new Date() : defaultValue, apiLookupPath, cardListPath, element.id)
}
break
case 'Input.Date':

@@ -85,0 +91,0 @@ if (defaultValue !== undefined) {

2

package.json
{
"name": "@wmfs/cardscript-extract-defaults",
"description": "Extracts sensible defaults from some Cardscript.",
"version": "1.35.1",
"version": "1.35.2",
"author": "West Midlands Fire Service",

@@ -6,0 +6,0 @@ "keywords": [

@@ -68,2 +68,4 @@ /* eslint-env mocha */

date: null,
dateTime: null,
dateTimeSeconds: null,
email: null,

@@ -70,0 +72,0 @@ slider: 3,

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