@wordpress/hooks
Advanced tools
Comparing version 2.0.5 to 2.1.0
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import validateNamespace from './validateNamespace.js'; | ||
@@ -2,0 +5,0 @@ import validateHookName from './validateHookName.js'; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import validateHookName from './validateHookName.js'; | ||
@@ -2,0 +5,0 @@ /** |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import createAddHook from './createAddHook'; | ||
@@ -2,0 +5,0 @@ import createRemoveHook from './createRemoveHook'; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import validateNamespace from './validateNamespace.js'; | ||
@@ -2,0 +5,0 @@ import validateHookName from './validateHookName.js'; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import createHooks from './createHooks'; | ||
@@ -2,0 +5,0 @@ |
@@ -17,2 +17,6 @@ "use strict"; | ||
/** | ||
* Internal dependencies | ||
*/ | ||
/** | ||
* Returns a function which, when invoked, will add a hook. | ||
@@ -19,0 +23,0 @@ * |
@@ -13,2 +13,6 @@ "use strict"; | ||
/** | ||
* Internal dependencies | ||
*/ | ||
/** | ||
* Returns a function which, when invoked, will return the number of times a | ||
@@ -15,0 +19,0 @@ * hook has been called. |
@@ -25,2 +25,6 @@ "use strict"; | ||
/** | ||
* Internal dependencies | ||
*/ | ||
/** | ||
* Returns an instance of the hooks object. | ||
@@ -27,0 +31,0 @@ * |
@@ -17,2 +17,6 @@ "use strict"; | ||
/** | ||
* Internal dependencies | ||
*/ | ||
/** | ||
* Returns a function which, when invoked, will remove a specified hook or all | ||
@@ -19,0 +23,0 @@ * hooks by the given name. |
@@ -18,2 +18,5 @@ "use strict"; | ||
/** | ||
* Internal dependencies | ||
*/ | ||
var _createHooks = (0, _createHooks2.default)(), | ||
@@ -20,0 +23,0 @@ addAction = _createHooks.addAction, |
### WordPress - Web publishing software | ||
Copyright 2011-2018 by the contributors | ||
Copyright 2011-2019 by the contributors | ||
@@ -5,0 +5,0 @@ This program is free software; you can redistribute it and/or modify |
{ | ||
"name": "@wordpress/hooks", | ||
"version": "2.0.5", | ||
"version": "2.1.0", | ||
"description": "WordPress hooks library.", | ||
@@ -14,3 +14,4 @@ "author": "The WordPress Contributors", | ||
"type": "git", | ||
"url": "https://github.com/WordPress/gutenberg.git" | ||
"url": "https://github.com/WordPress/gutenberg.git", | ||
"directory": "packages/hooks" | ||
}, | ||
@@ -24,3 +25,3 @@ "bugs": { | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0" | ||
"@babel/runtime": "^7.3.1" | ||
}, | ||
@@ -30,3 +31,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "c59ef56fe16bdcc1fffd70b6e8a2fda4bf9c28fe" | ||
"gitHead": "80d228669adadb8dfcd24b8421517fed3be2d474" | ||
} |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import validateNamespace from './validateNamespace.js'; | ||
@@ -2,0 +5,0 @@ import validateHookName from './validateHookName.js'; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import validateHookName from './validateHookName.js'; | ||
@@ -2,0 +5,0 @@ |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import createAddHook from './createAddHook'; | ||
@@ -37,4 +40,4 @@ import createRemoveHook from './createRemoveHook'; | ||
didFilter: createDidHook( filters ), | ||
actions: actions, | ||
filters: filters, | ||
actions, | ||
filters, | ||
}; | ||
@@ -41,0 +44,0 @@ } |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import validateNamespace from './validateNamespace.js'; | ||
@@ -2,0 +5,0 @@ import validateHookName from './validateHookName.js'; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import createHooks from './createHooks'; | ||
@@ -2,0 +5,0 @@ |
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
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
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
146173
1994
Updated@babel/runtime@^7.3.1