@wordpress/deprecated
Advanced tools
Comparing version 2.2.0 to 2.3.0
{ | ||
"name": "@wordpress/deprecated", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Deprecation utility for WordPress.", | ||
@@ -24,4 +24,4 @@ "author": "The WordPress Contributors", | ||
"dependencies": { | ||
"@babel/runtime": "^7.3.1", | ||
"@wordpress/hooks": "^2.2.0" | ||
"@babel/runtime": "^7.4.4", | ||
"@wordpress/hooks": "^2.3.0" | ||
}, | ||
@@ -31,3 +31,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "1e024a20a20369af7bc9720a676fdd3837a3a105" | ||
"gitHead": "87f92f8f58a14a58b44beff0919734c546b3b975" | ||
} |
@@ -35,9 +35,7 @@ # Deprecated | ||
### default | ||
<a name="default" href="#default">#</a> **default** | ||
[src/index.js#L39-L78](src/index.js#L39-L78) | ||
Logs a message to notify developers about a deprecated feature. | ||
**Usage** | ||
_Usage_ | ||
@@ -57,22 +55,20 @@ ```js | ||
**Parameters** | ||
_Parameters_ | ||
- **feature** `string`: Name of the deprecated feature. | ||
- **options** `?Object`: Personalisation options | ||
- **options.version** `?string`: Version in which the feature will be removed. | ||
- **options.alternative** `?string`: Feature to use instead | ||
- **options.plugin** `?string`: Plugin name if it's a plugin feature | ||
- **options.link** `?string`: Link to documentation | ||
- **options.hint** `?string`: Additional message to help transition away from the deprecated feature. | ||
- _feature_ `string`: Name of the deprecated feature. | ||
- _options_ `?Object`: Personalisation options | ||
- _options.version_ `?string`: Version in which the feature will be removed. | ||
- _options.alternative_ `?string`: Feature to use instead | ||
- _options.plugin_ `?string`: Plugin name if it's a plugin feature | ||
- _options.link_ `?string`: Link to documentation | ||
- _options.hint_ `?string`: Additional message to help transition away from the deprecated feature. | ||
### logged | ||
<a name="logged" href="#logged">#</a> **logged** | ||
[src/index.js#L12-L12](src/index.js#L12-L12) | ||
Object map tracking messages which have been logged, for use in ensuring a | ||
message is only logged once. | ||
**Type** | ||
_Type_ | ||
`Object` | ||
- `Object` | ||
@@ -79,0 +75,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
43523
77
Updated@babel/runtime@^7.4.4
Updated@wordpress/hooks@^2.3.0