@wordpress/deprecated
Advanced tools
Comparing version 2.12.2-next.a2b36aa19d.0 to 2.12.2
@@ -9,3 +9,3 @@ /** | ||
* | ||
* @type {Record<string,true|undefined>} | ||
* @type {Record<string, true | undefined>} | ||
*/ | ||
@@ -81,2 +81,3 @@ | ||
} | ||
/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */ | ||
//# sourceMappingURL=index.js.map |
@@ -40,5 +40,13 @@ /** | ||
* | ||
* @type {Record<string,true|undefined>} | ||
* @type {Record<string, true | undefined>} | ||
*/ | ||
export const logged: Record<string, true | undefined>; | ||
export type DeprecatedOptions = { | ||
since?: string | undefined; | ||
version?: string | undefined; | ||
alternative?: string | undefined; | ||
plugin?: string | undefined; | ||
link?: string | undefined; | ||
hint?: string | undefined; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -19,3 +19,3 @@ "use strict"; | ||
* | ||
* @type {Record<string,true|undefined>} | ||
* @type {Record<string, true | undefined>} | ||
*/ | ||
@@ -92,2 +92,3 @@ var logged = Object.create(null); | ||
} | ||
/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */ | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@wordpress/deprecated", | ||
"version": "2.12.2-next.a2b36aa19d.0", | ||
"version": "2.12.2", | ||
"description": "Deprecation utility for WordPress.", | ||
@@ -28,3 +28,3 @@ "author": "The WordPress Contributors", | ||
"@babel/runtime": "^7.13.10", | ||
"@wordpress/hooks": "^2.12.2-next.a2b36aa19d.0" | ||
"@wordpress/hooks": "^2.12.2" | ||
}, | ||
@@ -34,3 +34,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "28341d3a23765adfcd6518aac35cba1b1e812752" | ||
"gitHead": "a71b0769184b8b1cf0c86f3c99d452ef7491b096" | ||
} |
@@ -73,3 +73,3 @@ # Deprecated | ||
- `Record<string,true|undefined>` | ||
- `Record<string, true | undefined>` | ||
@@ -76,0 +76,0 @@ |
@@ -10,3 +10,3 @@ /** | ||
* | ||
* @type {Record<string,true|undefined>} | ||
* @type {Record<string, true | undefined>} | ||
*/ | ||
@@ -82,1 +82,3 @@ export const logged = Object.create( null ); | ||
} | ||
/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */ |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
74396
374
0
0
Updated@wordpress/hooks@^2.12.2