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

actions-parsers

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

actions-parsers - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

CHANGELOG.md
# Changelog
## [1.0.2](https://github.com/cobraz/actions-parsers/compare/v1.0.1...v1.0.2) (2022-12-28)
### Bug Fixes
* allow options to be undefined for getNumberInput ([9d8510b](https://github.com/cobraz/actions-parsers/commit/9d8510b4cded6f02f57f981c65f1484f51061d57))
* remove nullish coalescing operator ([0067231](https://github.com/cobraz/actions-parsers/commit/00672316c66843b06ffde6b37ff3801e5f2ef8e5))
## [1.0.1](https://github.com/cobraz/actions-parsers/compare/v1.0.0...v1.0.1) (2022-12-28)

@@ -4,0 +12,0 @@

4

dist/parsers/number.d.ts
import { InputOptions } from '@actions/core';
import type { OptionalInput, RequiredInput } from '../common';
export declare function getNumberInput(name: string, options: RequiredInput & InputOptions): number;
export declare function getNumberInput(name: string, options: OptionalInput & InputOptions): undefined | number;
export declare function getNumberInput(name: string, options?: RequiredInput & InputOptions): number;
export declare function getNumberInput(name: string, options?: OptionalInput & InputOptions): undefined | number;

@@ -29,3 +29,3 @@ "use strict";

function getParsedInput(name, options) {
const { parser, ...otherOptions } = options ?? {};
const { parser, ...otherOptions } = options || {};
const input = core.getInput(name, otherOptions);

@@ -32,0 +32,0 @@ if (!input) {

@@ -30,3 +30,3 @@ "use strict";

function getYAMLInput(name, options) {
const { parser, ...otherOptions } = options ?? {};
const { parser, ...otherOptions } = options || {};
const value = (0, core_1.getInput)(name, otherOptions);

@@ -33,0 +33,0 @@ if (!value) {

@@ -13,3 +13,3 @@ {

"format": "prettier --write . --ignore-path .gitignore ",
"format:check": "prettier --check . --ignore-path .gitignore",
"format:check": "prettier --check .",
"lint": "eslint . --ext .ts,.tsx",

@@ -71,3 +71,3 @@ "test": "jest --coverage src/**/*"

},
"version": "1.0.1"
"version": "1.0.2"
}

Sorry, the diff of this file is not supported yet

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