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

@wordpress/element

Package Overview
Dependencies
Maintainers
12
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/element - npm Package Compare versions

Comparing version 2.9.0 to 2.10.0

build-module/create-interpolate-element.js

1

build-module/index.js

@@ -0,1 +1,2 @@

export { default as __experimentalCreateInterpolateElement } from './create-interpolate-element';
export * from './react';

@@ -2,0 +3,0 @@ export * from './react-platform';

@@ -9,2 +9,3 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread";

var Platform = _objectSpread({}, OriginalPlatform, {
OS: 'native',
select: function select(spec) {

@@ -11,0 +12,0 @@ if ('android' in spec) {

@@ -9,2 +9,3 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread";

var Platform = _objectSpread({}, OriginalPlatform, {
OS: 'native',
select: function select(spec) {

@@ -11,0 +12,0 @@ if ('ios' in spec) {

6

build-module/react.js

@@ -12,3 +12,3 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread";

*
* @typedef {react.ReactElement} WPElement
* @typedef {import('react').ReactElement} WPElement
*/

@@ -19,3 +19,3 @@

*
* @typedef {react.Component} WPComponent
* @typedef {import('react').Component} WPComponent
*/

@@ -26,3 +26,3 @@

*
* @typedef {react.SyntheticEvent} WPSyntheticEvent
* @typedef {import('react').SyntheticEvent} WPSyntheticEvent
*/

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

@@ -9,2 +9,3 @@ "use strict";

var _exportNames = {
__experimentalCreateInterpolateElement: true,
Platform: true,

@@ -14,2 +15,8 @@ renderToString: true,

};
Object.defineProperty(exports, "__experimentalCreateInterpolateElement", {
enumerable: true,
get: function get() {
return _createInterpolateElement.default;
}
});
Object.defineProperty(exports, "Platform", {

@@ -34,2 +41,4 @@ enumerable: true,

var _createInterpolateElement = _interopRequireDefault(require("./create-interpolate-element"));
var _react = require("./react");

@@ -36,0 +45,0 @@

@@ -18,2 +18,3 @@ "use strict";

var Platform = (0, _objectSpread2.default)({}, _reactNative.Platform, {
OS: 'native',
select: function select(spec) {

@@ -20,0 +21,0 @@ if ('android' in spec) {

@@ -18,2 +18,3 @@ "use strict";

var Platform = (0, _objectSpread2.default)({}, _reactNative.Platform, {
OS: 'native',
select: function select(spec) {

@@ -20,0 +21,0 @@ if ('ios' in spec) {

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

*
* @typedef {react.ReactElement} WPElement
* @typedef {import('react').ReactElement} WPElement
*/

@@ -171,3 +171,3 @@

*
* @typedef {react.Component} WPComponent
* @typedef {import('react').Component} WPComponent
*/

@@ -178,3 +178,3 @@

*
* @typedef {react.SyntheticEvent} WPSyntheticEvent
* @typedef {import('react').SyntheticEvent} WPSyntheticEvent
*/

@@ -181,0 +181,0 @@

@@ -0,1 +1,7 @@

## 2.10.0 (2019-12-19)
### New Features
- Added `__experimentalCreateInterpolateElement` function (see [17376](https://github.com/WordPress/gutenberg/pull/17376))
## 2.8.0 (2019-09-16)

@@ -2,0 +8,0 @@

{
"name": "@wordpress/element",
"version": "2.9.0",
"version": "2.10.0",
"description": "Element React module for WordPress.",

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

},
"gitHead": "52bfe7deb90fe2b6df7f1a0a92f89cc69462a491"
"gitHead": "cc8b3fde75738a15c6152d18458eb5078a620cbe"
}

@@ -0,1 +1,2 @@

export { default as __experimentalCreateInterpolateElement } from './create-interpolate-element';
export * from './react';

@@ -2,0 +3,0 @@ export * from './react-platform';

@@ -8,2 +8,3 @@ /**

...OriginalPlatform,
OS: 'native',
select: ( spec ) => {

@@ -10,0 +11,0 @@ if ( 'android' in spec ) {

@@ -8,2 +8,3 @@ /**

...OriginalPlatform,
OS: 'native',
select: ( spec ) => {

@@ -10,0 +11,0 @@ if ( 'ios' in spec ) {

@@ -34,3 +34,3 @@ /**

*
* @typedef {react.ReactElement} WPElement
* @typedef {import('react').ReactElement} WPElement
*/

@@ -41,3 +41,3 @@

*
* @typedef {react.Component} WPComponent
* @typedef {import('react').Component} WPComponent
*/

@@ -48,3 +48,3 @@

*
* @typedef {react.SyntheticEvent} WPSyntheticEvent
* @typedef {import('react').SyntheticEvent} WPSyntheticEvent
*/

@@ -51,0 +51,0 @@

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

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

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