Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wordpress/private-apis

Package Overview
Dependencies
Maintainers
25
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/private-apis - npm Package Compare versions

Comparing version 0.24.5 to 0.24.6

2

build-module/implementation.js

@@ -36,3 +36,3 @@ /**

*/
const requiredConsent = 'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.';
const requiredConsent = 'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.';

@@ -39,0 +39,0 @@ /** @type {boolean} */

@@ -45,3 +45,3 @@ "use strict";

*/
const requiredConsent = 'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.';
const requiredConsent = 'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.';

@@ -48,0 +48,0 @@ /** @type {boolean} */

{
"name": "@wordpress/private-apis",
"version": "0.24.5",
"version": "0.24.6",
"description": "Internal experimental APIs for WordPress core.",

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

},
"gitHead": "edc87d3e33740b82b30f5e21c5953ecded84f08f"
"gitHead": "640c80ab0fb4e0e2bce87e33895939f257e674df"
}

@@ -15,3 +15,3 @@ # Private APIs

__dangerousOptInToUnstableAPIsOnlyForCoreModules(
'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.',
'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.',
'@wordpress/block-editor' // Name of the package calling __dangerousOptInToUnstableAPIsOnlyForCoreModules,

@@ -26,3 +26,3 @@ // (not the name of the package whose APIs you want to access)

1. The first argument must exactly match the required consent string: `'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.'`.
1. The first argument must exactly match the required consent string: `'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.'`.
2. The second argument must be a known `@wordpress` package that hasn't yet opted into `@wordpress/private-apis`

@@ -29,0 +29,0 @@

@@ -54,3 +54,3 @@ /**

const requiredConsent =
'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.';
'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.';

@@ -57,0 +57,0 @@ /** @type {boolean} */

@@ -19,3 +19,3 @@ /**

const requiredConsent =
'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.';
'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.';

@@ -22,0 +22,0 @@ describe( '__dangerousOptInToUnstableAPIsOnlyForCoreModules', () => {

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