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

js-eval-action-expression-context

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-eval-action-expression-context

Types for the js-eval-action GitHub Action expression

  • 1.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Purpose

This package supplements js-eval-action GitHub action.

Install this package to get type declarations of the global vars (see JavaScript evaluation context) available in a code passed to the expression input or in a file set by the jsFile input.

The purpose of this package is to enable type checking and autocompletion in your JS file. install js-eval-action-expression-context package of the version equal to js-eval-action used version. Installation of this package isn't required for using js-eval-action.

Add

// @ts-check

at the beginning of your .js file to enable type checking (verified in WebStorm and Visual Studio Code).

Example

Please look at download-release-asset-action as an example of composite action based on js-eval-action call that stores JavaScript code in a separate file.

Keywords

FAQs

Package last updated on 02 Nov 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc