Socket
Socket
Sign inDemoInstall

@wordpress/hooks

Package Overview
Dependencies
Maintainers
21
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/hooks - npm Package Compare versions

Comparing version 3.2.1-next.5df0cd52b7.0 to 3.2.1

4

build-types/index.d.ts

@@ -66,4 +66,4 @@ /** @typedef {(...args: any[])=>any} Callback */

};
export type StoreKey = "actions" | "filters";
export type Hooks = import("./createHooks")._Hooks;
export type StoreKey = 'actions' | 'filters';
export type Hooks = import('./createHooks').Hooks;
import createHooks from "./createHooks";

@@ -70,0 +70,0 @@ export const addAction: import("./createAddHook").AddHook;

{
"name": "@wordpress/hooks",
"version": "3.2.1-next.5df0cd52b7.0",
"version": "3.2.1",
"description": "WordPress hooks library.",

@@ -34,3 +34,3 @@ "author": "The WordPress Contributors",

},
"gitHead": "558d577d12bec15f05e694eb49a094836d885cca"
"gitHead": "8f7f052bc04e3f4eb50f479ced14be1489b9fa79"
}

@@ -13,3 +13,3 @@ # Hooks

_This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for ES2015+ such as IE browsers then using [core-js](https://github.com/zloirock/core-js) will add polyfills for these methods._
_This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for such language features and APIs, you should include [the polyfill shipped in `@wordpress/babel-preset-default`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default#polyfill) in your code._

@@ -16,0 +16,0 @@ ### Usage

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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