New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zodash/once

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zodash/once - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

LICENSE

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.1.4](https://github.com/zcorky/zodash/compare/@zodash/once@0.1.3...@zodash/once@0.1.4) (2021-03-23)
**Note:** Version bump only for package @zodash/once
## 0.1.3 (2020-11-11)

@@ -8,0 +16,0 @@

@@ -0,1 +1,9 @@

/**
* Creates a function that is restricted to invoking `func` once. Repeat calls
* to the function return the value of the first invocation. The `func` is
* invoked with the `this` binding and arguments of the created function.
*
* @param fn The function to be restricted.
* @return Returns the new restricted function.
*/
export declare function once<T extends [], R>(fn: (...args: T) => R): (...args: T) => R;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.once = void 0;
/**
* Creates a function that is restricted to invoking `func` once. Repeat calls
* to the function return the value of the first invocation. The `func` is
* invoked with the `this` binding and arguments of the created function.
*
* @param fn The function to be restricted.
* @return Returns the new restricted function.
*/
function once(fn) {

@@ -5,0 +13,0 @@ let res;

4

package.json
{
"name": "@zodash/once",
"version": "0.1.3",
"version": "0.1.4",
"description": "Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation. The func is invoked with the this binding and arguments of the created function.",

@@ -68,3 +68,3 @@ "keywords": [

},
"gitHead": "fb0b997fc51fbad9866a754bf8609d0bcc962700"
"gitHead": "36ae103b292f402d459b7c9eb6e63fe6ea93eb2b"
}

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