Socket
Socket
Sign inDemoInstall

react-dom

Package Overview
Dependencies
Maintainers
8
Versions
1912
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dom - npm Package Compare versions

Comparing version 16.1.0-beta.1 to 16.1.0-rc

19

cjs/react-dom-server.browser.production.min.js

@@ -1,10 +0,9 @@

/*
React v16.1.0-beta.1
react-dom-server.browser.production.min.js
Copyright (c) 2013-present, Facebook, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
/** @license React v16.1.0-rc
* react-dom-server.browser.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';var h=require("object-assign"),n=require("react"),aa=require("fbjs/lib/emptyFunction"),t=require("fbjs/lib/emptyObject"),ba=require("fbjs/lib/hyphenateStyleName"),ca=require("fbjs/lib/memoizeStringOnly");

@@ -42,2 +41,2 @@ function w(a){for(var b=arguments.length-1,g="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)g+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);b=Error(g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}

d){if(null!=d.__html){d=d.__html;break a}}else if(d=f.children,"string"===typeof d||"number"===typeof d){d=O(d);break a}d=null}null!=d?(f=[],oa[b]&&"\n"===d.charAt(0)&&(r+="\n"),r+=d):f=W(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?S(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,tag:b,children:f,childIndex:0,context:g,footer:e});this.previousWasTextNode=!1;return r};return a}(),xa=Object.freeze({renderToString:function(a){return(new wa(a,
!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new wa(a,!0)).read(Infinity)},renderToNodeStream:function(){w("207")},renderToStaticNodeStream:function(){w("208")},version:"16.1.0-beta.1"});module.exports=xa;
!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new wa(a,!0)).read(Infinity)},renderToNodeStream:function(){w("207")},renderToStaticNodeStream:function(){w("208")},version:"16.1.0-rc"});module.exports=xa;

@@ -1,10 +0,9 @@

/*
React v16.1.0-beta.1
react-dom-server.node.production.min.js
Copyright (c) 2013-present, Facebook, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
/** @license React v16.1.0-rc
* react-dom-server.node.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';var k=require("object-assign"),n=require("react"),aa=require("fbjs/lib/emptyFunction"),t=require("fbjs/lib/emptyObject"),ba=require("fbjs/lib/hyphenateStyleName"),ca=require("fbjs/lib/memoizeStringOnly"),da=require("stream");

@@ -44,2 +43,2 @@ function w(a){for(var b=arguments.length-1,g="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)g+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);b=Error(g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}

var za=function(a){function b(g,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var h=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");h=!h||"object"!==typeof h&&"function"!==typeof h?this:h;h.partialRenderer=new Z(g,c);return h}ya(b,a);b.prototype._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(c){this.emit("error",c)}};return b}(da.Readable),Aa=Object.freeze({renderToString:function(a){return(new Z(a,
!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new Z(a,!0)).read(Infinity)},renderToNodeStream:function(a){return new za(a,!1)},renderToStaticNodeStream:function(a){return new za(a,!0)},version:"16.1.0-beta.1"});module.exports=Aa;
!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new Z(a,!0)).read(Infinity)},renderToNodeStream:function(a){return new za(a,!1)},renderToStaticNodeStream:function(a){return new za(a,!0)},version:"16.1.0-rc"});module.exports=Aa;

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

/** @license React v16.1.0-beta.1
/** @license React v16.1.0-rc
* react-dom-test-utils.development.js

@@ -9,8 +9,7 @@ *

*/
'use strict';
if (process.env.NODE_ENV !== "production") {
(function() {
(function() {
'use strict';

@@ -27,11 +26,2 @@

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
/**
* WARNING: DO NOT manually require this module.

@@ -44,9 +34,2 @@ * This is a replacement for `invariant(...)` used by the error code system

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* `ReactInstanceMap` maintains a mapping from a public facing stateful

@@ -62,6 +45,6 @@ * instance (key) and the internal representation (value). This allows public

/**
* This API should be called `delete` but we'd have to make sure to always
* transform these to strings for IE support. When this transform is fully
* supported we can rename it.
*/
* This API should be called `delete` but we'd have to make sure to always
* transform these to strings for IE support. When this transform is fully
* supported we can rename it.
*/

@@ -73,19 +56,3 @@

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// Before we know whether it is functional or class
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
var FunctionalComponent = 1;

@@ -100,11 +67,2 @@ var ClassComponent = 2;

var NoEffect = 0; // 0b00000000
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
// 0b00000001

@@ -275,9 +233,2 @@

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* eslint valid-typeof: 0 */

@@ -468,5 +419,5 @@

/** Proxying after everything set on SyntheticEvent
* to resolve Proxy issue on some WebKit browsers
* in which some Event properties are set to undefined (GH#10010)
*/
* to resolve Proxy issue on some WebKit browsers
* in which some Event properties are set to undefined (GH#10010)
*/
{

@@ -499,8 +450,8 @@ if (isProxySupported) {

/**
* Helper to nullify syntheticEvent instance properties when destructing
*
* @param {String} propName
* @param {?object} getVal
* @return {object} defineProperty object
*/
* Helper to nullify syntheticEvent instance properties when destructing
*
* @param {String} propName
* @param {?object} getVal
* @return {object} defineProperty object
*/
function getPooledWarningPropertyDefinition(propName, getVal) {

@@ -561,9 +512,2 @@ var isFunction = typeof getVal === 'function';

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Generate a mapping of standard vendor prefixes using the defined style property and event name.

@@ -654,9 +598,2 @@ *

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Types of raw signals from the browser caught at the top level.

@@ -743,9 +680,2 @@ *

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var findDOMNode = ReactDOM.findDOMNode;

@@ -1134,15 +1064,2 @@ var _ReactDOM$__SECRET_IN = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
// TODO: decide on the top-level export form.

@@ -1153,4 +1070,3 @@ // This is hacky but makes it work with both Rollup and Jest.

module.exports = testUtils;
})();
})();
}

@@ -1,10 +0,9 @@

/*
React v16.1.0-beta.1
react-dom-test-utils.production.min.js
Copyright (c) 2013-present, Facebook, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
/** @license React v16.1.0-rc
* react-dom-test-utils.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';var f=require("object-assign"),h=require("react"),m=require("react-dom"),n=require("fbjs/lib/emptyFunction"),p=require("fbjs/lib/ExecutionEnvironment");

@@ -11,0 +10,0 @@ function q(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,d=0;d<b;d++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[d+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}

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

/** @license React v16.1.0-beta.1
/** @license React v16.1.0-rc
* react-dom-unstable-native-dependencies.development.js

@@ -9,8 +9,7 @@ *

*/
'use strict';
if (process.env.NODE_ENV !== "production") {
(function() {
(function() {
'use strict';

@@ -25,11 +24,2 @@

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
/**
* WARNING: DO NOT manually require this module.

@@ -41,11 +31,2 @@ * This is a replacement for `invariant(...)` used by the error code system

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
{

@@ -80,9 +61,2 @@ // In DEV mode, we swap out invokeGuardedCallback for a special version

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var getFiberCurrentPropsFromNode = null;

@@ -210,13 +184,4 @@ var getInstanceFromNode = null;

// Before we know whether it is functional or class
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
// Root of a host tree. Could be nested inside another node.

@@ -226,9 +191,2 @@ // A subtree. Could be an entry point to a different renderer.

/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
function getParent(inst) {

@@ -334,11 +292,2 @@ do {

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
/**
* Registers plugins so that they can extract and dispatch events.

@@ -401,11 +350,2 @@ *

/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
/**
* Accumulates items that must not be null or undefined into the first one. This

@@ -450,11 +390,2 @@ * is used to conserve memory by avoiding array allocations, and thus sacrifices

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
/**
* @param {array} arr an "accumulation" of items which is either an Array or

@@ -476,9 +407,2 @@ * a single item. Useful when paired with the `accumulate` module. This is a

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
function isInteractive(tag) {

@@ -587,9 +511,2 @@ return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Some event types have a notion of different registration names for different

@@ -695,9 +612,2 @@ * "phases" of propagation. This finds listeners by a given phase.

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* eslint valid-typeof: 0 */

@@ -888,5 +798,5 @@

/** Proxying after everything set on SyntheticEvent
* to resolve Proxy issue on some WebKit browsers
* in which some Event properties are set to undefined (GH#10010)
*/
* to resolve Proxy issue on some WebKit browsers
* in which some Event properties are set to undefined (GH#10010)
*/
{

@@ -919,8 +829,8 @@ if (isProxySupported) {

/**
* Helper to nullify syntheticEvent instance properties when destructing
*
* @param {String} propName
* @param {?object} getVal
* @return {object} defineProperty object
*/
* Helper to nullify syntheticEvent instance properties when destructing
*
* @param {String} propName
* @param {?object} getVal
* @return {object} defineProperty object
*/
function getPooledWarningPropertyDefinition(propName, getVal) {

@@ -981,9 +891,2 @@ var isFunction = typeof getVal === 'function';

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* `touchHistory` isn't actually on the native event, but putting it in the

@@ -1012,11 +915,2 @@ * interface will ensure that it is cleaned up when pooled/destroyed. The

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
/**
* Tracks the position and time of each active touch by `touch.identifier`. We

@@ -1183,11 +1077,2 @@ * should typically only see IDs in the range of 1-20 because IDs get recycled

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
/**
* Accumulates items that must not be null or undefined.

@@ -1220,9 +1105,2 @@ *

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Instance of element that should respond to touch/move types of interactions,

@@ -1705,9 +1583,2 @@ * as indicated explicitly by relevant callbacks.

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// This is used by react-native-web.

@@ -1726,18 +1597,6 @@ var injectComponentTree = injection.injectComponentTree;

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
var unstableNativeDependencies = ReactDOMUnstableNativeDependencies;
module.exports = unstableNativeDependencies;
})();
})();
}

@@ -1,10 +0,9 @@

/*
React v16.1.0-beta.1
react-dom-unstable-native-dependencies.production.min.js
Copyright (c) 2013-present, Facebook, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
/** @license React v16.1.0-rc
* react-dom-unstable-native-dependencies.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';var h=require("react-dom"),k=require("object-assign"),l=require("fbjs/lib/emptyFunction");

@@ -11,0 +10,0 @@ function n(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,f=0;f<b;f++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[f+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}var p=null,q=null,t=null;

{
"name": "react-dom",
"version": "16.1.0-beta.1",
"version": "16.1.0-rc",
"description": "React package for working with the DOM.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,10 +0,9 @@

/*
React v16.1.0-beta.1
react-dom-server.browser.production.min.js
Copyright (c) 2013-present, Facebook, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
/** @license React v16.1.0-rc
* react-dom-server.browser.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';(function(q,n){"object"===typeof exports&&"undefined"!==typeof module?module.exports=n(require("react")):"function"===typeof define&&define.amd?define(["react"],n):q.ReactDOMServer=n(q.React)})(this,function(q){function n(a){for(var b=arguments.length-1,f="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)f+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);b=Error(f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");

@@ -35,2 +34,2 @@ b.name="Invariant Violation";b.framesToPop=1;throw b;}function y(a,b){return(a&b)===b}function X(a,b){if(I.hasOwnProperty(a)||2<a.length&&("o"===a[0]||"O"===a[0])&&("n"===a[1]||"N"===a[1]))return!1;if(null===b)return!0;switch(typeof b){case "boolean":return J(a);case "undefined":case "number":case "string":case "object":return!0;default:return!1}}function K(a){return D.hasOwnProperty(a)?D[a]:null}function J(a){if(I.hasOwnProperty(a))return!0;var b=K(a);if(b)return b.hasBooleanValue||b.hasStringBooleanValue||

!1;break b;default:u=!0}u?pa.hasOwnProperty(r)||(m=r,m=Z(m)&&null!=p?m+"\x3d"+('"'+t(p)+'"'):""):m=ba(r,p);m&&(k+=" "+m)}}d||h&&(k+=' data-reactroot\x3d""');var r=k;e="";S.hasOwnProperty(b)?r+="/\x3e":(r+="\x3e",e="\x3c/"+a.type+"\x3e");a:{d=g.dangerouslySetInnerHTML;if(null!=d){if(null!=d.__html){d=d.__html;break a}}else if(d=g.children,"string"===typeof d||"number"===typeof d){d=t(d);break a}d=null}null!=d?(g=[],ma[b]&&"\n"===d.charAt(0)&&(r+="\n"),r+=d):g=C(g.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===
c?N(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,tag:b,children:g,childIndex:0,context:f,footer:e});this.previousWasTextNode=!1;return r};return a}();return Object.freeze({renderToString:function(a){return(new W(a,!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new W(a,!0)).read(Infinity)},renderToNodeStream:function(){n("207")},renderToStaticNodeStream:function(){n("208")},version:"16.1.0-beta.1"})});
c?N(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,tag:b,children:g,childIndex:0,context:f,footer:e});this.previousWasTextNode=!1;return r};return a}();return Object.freeze({renderToString:function(a){return(new W(a,!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new W(a,!0)).read(Infinity)},renderToNodeStream:function(){n("207")},renderToStaticNodeStream:function(){n("208")},version:"16.1.0-rc"})});

@@ -1,10 +0,9 @@

/*
React v16.1.0-beta.1
react-dom-unstable-native-dependencies.production.min.js
Copyright (c) 2013-present, Facebook, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
/** @license React v16.1.0-rc
* react-dom-unstable-native-dependencies.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';(function(C,l){"object"===typeof exports&&"undefined"!==typeof module?module.exports=l(require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["react-dom","react"],l):C.ReactDOMUnstableNativeDependencies=l(C.ReactDOM,C.React)})(this,function(C,l){function z(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,f=0;f<b;f++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[f+

@@ -11,0 +10,0 @@ 1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}function F(a){return function(){return a}}function G(a){return"topMouseUp"===a||"topTouchEnd"===a||"topTouchCancel"===a}function H(a){return"topMouseMove"===a||"topTouchMove"===a}function D(a){return"topMouseDown"===a||"topTouchStart"===a}function N(a){var b=a._dispatchListeners,c=a._dispatchInstances;Array.isArray(b)?

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc