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

@wordpress/private-apis

Package Overview
Dependencies
Maintainers
0
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 1.1.0 to 1.2.0

2

build-module/implementation.js

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

*/
const requiredConsent = 'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.';
const requiredConsent = 'I acknowledge private features are not for use in themes or plugins and doing so will 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 theme or plugin will inevitably break in the next version of WordPress.';
const requiredConsent = 'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.';

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

@@ -5,2 +5,4 @@ <!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. -->

## 1.2.0 (2024-06-26)
## 1.1.0 (2024-06-15)

@@ -7,0 +9,0 @@

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

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

},
"gitHead": "66d3bf12e67d16deddc4b4a9ec42e1d0bed3479a"
"gitHead": "aa5b14bb5bdbb8d8a02914e154c3bc1c2f18ace6"
}

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

__dangerousOptInToUnstableAPIsOnlyForCoreModules(
'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.',
'I acknowledge private features are not for use in themes or plugins and doing so will 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 theme or plugin will inevitably break in the next version of WordPress.'`.
1. The first argument must exactly match the required consent string: `'I acknowledge private features are not for use in themes or plugins and doing so will 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`

@@ -125,1 +125,2 @@

2. I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.
3. I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.

@@ -59,3 +59,3 @@ /**

const requiredConsent =
'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.';
'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.';

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

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

const requiredConsent =
'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.';
'I acknowledge private features are not for use in themes or plugins and doing so will 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