-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Update dataviews package version to latest (#93503)"
This reverts commit cfb9373.
- Loading branch information
1 parent
cfb9373
commit 2cc3c2c
Showing
61 changed files
with
1,101 additions
and
714 deletions.
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
.yarn/patches/@wordpress-dataviews-npm-0.4.1-2c01fa0792.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
diff --git a/build/lock-unlock.js b/build/lock-unlock.js | ||
index b1e3c1e3b950c7d3095876fdf32dc9d0094a8f7a..3885591aaed7c99d345b7428a57b9b7dcbb982dd 100644 | ||
--- a/build/lock-unlock.js | ||
+++ b/build/lock-unlock.js | ||
@@ -1,7 +1,7 @@ | ||
"use strict"; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
- value: true | ||
+ value: true, | ||
}); | ||
exports.unlock = exports.lock = void 0; | ||
var _privateApis = require("@wordpress/private-apis"); | ||
@@ -9,10 +9,11 @@ var _privateApis = require("@wordpress/private-apis"); | ||
* WordPress dependencies | ||
*/ | ||
|
||
-const { | ||
- lock, | ||
- unlock | ||
-} = (0, _privateApis.__dangerousOptInToUnstableAPIsOnlyForCoreModules)('I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.', '@wordpress/dataviews'); | ||
+const { lock, unlock } = (0, | ||
+_privateApis.__dangerousOptInToUnstableAPIsOnlyForCoreModules)( | ||
+ "I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.", | ||
+ "@wordpress/dataviews" | ||
+); | ||
exports.unlock = unlock; | ||
exports.lock = lock; | ||
//# sourceMappingURL=lock-unlock.js.map | ||
diff --git a/build/lock-unlock.js.map b/build/lock-unlock.js.map | ||
index b20c8e5e5cc50b108035dbfb4c765b354835476a..3edcce8eed204c1da1a55175bb617fb66c89d8a9 100644 | ||
--- a/build/lock-unlock.js.map | ||
+++ b/build/lock-unlock.js.map | ||
@@ -1 +1 @@ | ||
-{"version":3,"names":["_privateApis","require","lock","unlock","__dangerousOptInToUnstableAPIsOnlyForCoreModules","exports"],"sources":["@wordpress/dataviews/src/lock-unlock.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';\n\nexport const { lock, unlock } =\n\t__dangerousOptInToUnstableAPIsOnlyForCoreModules(\n\t\t'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.',\n\t\t'@wordpress/dataviews'\n\t);\n"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAHA;AACA;AACA;;AAGO,MAAM;EAAEC,IAAI;EAAEC;AAAO,CAAC,GAC5B,IAAAC,6DAAgD,EAC/C,iHAAiH,EACjH,sBACD,CAAC;AAACC,OAAA,CAAAF,MAAA,GAAAA,MAAA;AAAAE,OAAA,CAAAH,IAAA,GAAAA,IAAA"} | ||
\ No newline at end of file | ||
+{"version":3,"names":["_privateApis","require","lock","unlock","__dangerousOptInToUnstableAPIsOnlyForCoreModules","exports"],"sources":["@wordpress/dataviews/src/lock-unlock.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';\n\nexport const { lock, unlock } =\n\t__dangerousOptInToUnstableAPIsOnlyForCoreModules(\n\t\t'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.',\n\t\t'@wordpress/dataviews'\n\t);\n"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAHA;AACA;AACA;;AAGO,MAAM;EAAEC,IAAI;EAAEC;AAAO,CAAC,GAC5B,IAAAC,6DAAgD,EAC/C,iHAAiH,EACjH,sBACD,CAAC;AAACC,OAAA,CAAAF,MAAA,GAAAA,MAAA;AAAAE,OAAA,CAAAH,IAAA,GAAAA,IAAA"} | ||
\ No newline at end of file | ||
diff --git a/build-module/lock-unlock.js b/build-module/lock-unlock.js | ||
index 79b912f8d2976acba70c34235d856368bf906425..0c778415d2bcf2ee21fab94d5518d123730c6623 100644 | ||
--- a/build-module/lock-unlock.js | ||
+++ b/build-module/lock-unlock.js | ||
@@ -1,9 +1,10 @@ | ||
/** | ||
* WordPress dependencies | ||
*/ | ||
-import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis'; | ||
-export const { | ||
- lock, | ||
- unlock | ||
-} = __dangerousOptInToUnstableAPIsOnlyForCoreModules('I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.', '@wordpress/dataviews'); | ||
+import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from "@wordpress/private-apis"; | ||
+export const { lock, unlock } = | ||
+ __dangerousOptInToUnstableAPIsOnlyForCoreModules( | ||
+ "I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.", | ||
+ "@wordpress/dataviews" | ||
+ ); | ||
//# sourceMappingURL=lock-unlock.js.map | ||
diff --git a/build-module/lock-unlock.js.map b/build-module/lock-unlock.js.map | ||
index 36173786489d0182174357e2b57e4e3351f50055..28dc0b6ae24f362442a98877134784a19bc2fc7f 100644 | ||
--- a/build-module/lock-unlock.js.map | ||
+++ b/build-module/lock-unlock.js.map | ||
@@ -1 +1 @@ | ||
-{"version":3,"names":["__dangerousOptInToUnstableAPIsOnlyForCoreModules","lock","unlock"],"sources":["@wordpress/dataviews/src/lock-unlock.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';\n\nexport const { lock, unlock } =\n\t__dangerousOptInToUnstableAPIsOnlyForCoreModules(\n\t\t'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.',\n\t\t'@wordpress/dataviews'\n\t);\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,gDAAgD,QAAQ,yBAAyB;AAE1F,OAAO,MAAM;EAAEC,IAAI;EAAEC;AAAO,CAAC,GAC5BF,gDAAgD,CAC/C,iHAAiH,EACjH,sBACD,CAAC"} | ||
\ No newline at end of file | ||
+{"version":3,"names":["__dangerousOptInToUnstableAPIsOnlyForCoreModules","lock","unlock"],"sources":["@wordpress/dataviews/src/lock-unlock.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';\n\nexport const { lock, unlock } =\n\t__dangerousOptInToUnstableAPIsOnlyForCoreModules(\n\t\t'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.',\n\t\t'@wordpress/dataviews'\n\t);\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,gDAAgD,QAAQ,yBAAyB;AAE1F,OAAO,MAAM;EAAEC,IAAI;EAAEC;AAAO,CAAC,GAC5BF,gDAAgD,CAC/C,iHAAiH,EACjH,sBACD,CAAC"} | ||
\ No newline at end of file | ||
diff --git a/src/lock-unlock.js b/src/lock-unlock.js | ||
index 18318773cefefee8becd93b68574d2b8659b5707..bf7fc262ddb2b241de42ab70ab207c34ccf487a6 100644 | ||
--- a/src/lock-unlock.js | ||
+++ b/src/lock-unlock.js | ||
@@ -1,10 +1,10 @@ | ||
/** | ||
* WordPress dependencies | ||
*/ | ||
-import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis'; | ||
+import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from "@wordpress/private-apis"; | ||
|
||
export const { lock, unlock } = | ||
- __dangerousOptInToUnstableAPIsOnlyForCoreModules( | ||
- 'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.', | ||
- '@wordpress/dataviews' | ||
- ); | ||
+ __dangerousOptInToUnstableAPIsOnlyForCoreModules( | ||
+ "I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.", | ||
+ "@wordpress/dataviews" | ||
+ ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.