Socket
Socket
Sign inDemoInstall

react

Package Overview
Dependencies
9
Maintainers
2
Versions
1790
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.1 to 0.11.2

5

lib/HTMLDOMPropertyConfig.js

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

maxLength: MUST_USE_ATTRIBUTE,
media: MUST_USE_ATTRIBUTE,
mediaGroup: null,

@@ -120,2 +121,3 @@ method: null,

noValidate: HAS_BOOLEAN_VALUE,
open: null,
pattern: null,

@@ -141,2 +143,3 @@ placeholder: null,

size: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,
sizes: MUST_USE_ATTRIBUTE,
span: HAS_POSITIVE_NUMERIC_VALUE,

@@ -146,3 +149,3 @@ spellCheck: null,

srcDoc: MUST_USE_PROPERTY,
srcSet: null,
srcSet: MUST_USE_ATTRIBUTE,
start: HAS_NUMERIC_VALUE,

@@ -149,0 +152,0 @@ step: null,

28

lib/React.js

@@ -41,5 +41,17 @@ /**

var onlyChild = require("./onlyChild");
var warning = require("./warning");
ReactDefaultInjection.inject();
// Specifying arguments isn't necessary since we just use apply anyway, but it
// makes it clear for those actually consuming this API.
function createDescriptor(type, props, children) {
var args = Array.prototype.slice.call(arguments, 1);
return type.apply(null, args);
}
if ("production" !== process.env.NODE_ENV) {
var _warnedForDeprecation = false;
}
var React = {

@@ -58,6 +70,14 @@ Children: {

createClass: ReactCompositeComponent.createClass,
createDescriptor: function(type, props, children) {
var args = Array.prototype.slice.call(arguments, 1);
return type.apply(null, args);
createDescriptor: function() {
if ("production" !== process.env.NODE_ENV) {
("production" !== process.env.NODE_ENV ? warning(
_warnedForDeprecation,
'React.createDescriptor is deprecated and will be removed in the ' +
'next version of React. Use React.createElement instead.'
) : null);
_warnedForDeprecation = true;
}
return createDescriptor.apply(this, arguments);
},
createElement: createDescriptor,
constructAndRenderComponent: ReactMount.constructAndRenderComponent,

@@ -131,4 +151,4 @@ constructAndRenderComponentByID: ReactMount.constructAndRenderComponentByID,

// internal version.
React.version = '0.11.1';
React.version = '0.11.2';
module.exports = React;

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

dfn: false,
dialog: false,
div: false,

@@ -146,2 +147,3 @@ dl: false,

param: true,
picture: false,
pre: false,

@@ -148,0 +150,0 @@ progress: false,

{
"name": "react",
"description": "React is a JavaScript library for building user interfaces.",
"version": "0.11.1",
"version": "0.11.2",
"keywords": [

@@ -6,0 +6,0 @@ "react"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc