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

util-ex

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

util-ex - npm Package Compare versions

Comparing version 2.0.0-alpha.7 to 2.0.0-alpha.8

4

lib/createFunction.d.ts

@@ -6,3 +6,3 @@ /**

* @param {string|string[]=} [aArgs] - An array of argument names. or function body if it's string.
* @param {string} body - The function body as a string.
* @param {string} [body] - The function body as a string.
* @param {(string[]|Object)} [scope] - An array of scope names, or an object with scope names as keys and their corresponding values as values.

@@ -22,3 +22,3 @@ * @param {Array} [values] - An array of values corresponding to the scope names, if scope is an array.

*/
export function createFunction(name: string, aArgs?: (string | string[]) | undefined, body: string, scope?: (string[] | any), values?: any[], ...args: any[]): Function;
export function createFunction(name: string, aArgs?: (string | string[]) | undefined, body?: string, scope?: (string[] | any), values?: any[], ...args: any[]): Function;
export default createFunction;

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

* @param {string|string[]=} [aArgs] - An array of argument names. or function body if it's string.
* @param {string} body - The function body as a string.
* @param {string} [body] - The function body as a string.
* @param {(string[]|Object)} [scope] - An array of scope names, or an object with scope names as keys and their corresponding values as values.

@@ -28,0 +28,0 @@ * @param {Array} [values] - An array of values corresponding to the scope names, if scope is an array.

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/snowyu/util-ex.js",
"version": "2.0.0-alpha.7",
"version": "2.0.0-alpha.8",
"author": {

@@ -8,0 +8,0 @@ "name": "Riceball LEE",

@@ -18,3 +18,3 @@ import _createFunc from "./_create-function.js";

* @param {string|string[]=} [aArgs] - An array of argument names. or function body if it's string.
* @param {string} body - The function body as a string.
* @param {string} [body] - The function body as a string.
* @param {(string[]|Object)} [scope] - An array of scope names, or an object with scope names as keys and their corresponding values as values.

@@ -21,0 +21,0 @@ * @param {Array} [values] - An array of values corresponding to the scope names, if scope is an array.

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