Socket
Socket
Sign inDemoInstall

nuclide-commons-ui

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuclide-commons-ui - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

ClickOutsideBoundary.js

2

AtomTextEditor.js

@@ -48,2 +48,3 @@ 'use strict';

const textBuffer = props.textBuffer || new _atom.TextBuffer();
// flowlint-next-line sketchy-null-string:off
if (props.path) {

@@ -71,2 +72,3 @@ textBuffer.setPath(props.path);

// flowlint-next-line sketchy-null-string:off
if (props.placeholderText) {

@@ -73,0 +75,0 @@ textEditor.setPlaceholderText(props.placeholderText);

7

package.json
{
"name": "nuclide-commons-ui",
"version": "0.1.10",
"version": "0.1.11",
"description": "Common Nuclide UI components.",

@@ -16,4 +16,5 @@ "license": "BSD-3-Clause",

"classnames": "2.2.5",
"nuclide-commons": "0.1.10",
"nuclide-commons-atom": "0.1.10",
"escape-string-regexp": "1.0.5",
"nuclide-commons": "0.1.11",
"nuclide-commons-atom": "0.1.11",
"react": "15.3.1",

@@ -20,0 +21,0 @@ "react-dom": "15.3.1",

@@ -16,16 +16,2 @@ 'use strict';

*/
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*
* @format
*/
/* global HTMLElement */
class ReactMountRootElement extends HTMLElement {

@@ -50,6 +36,32 @@

}
} /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*
* @format
*/
/* global HTMLElement */
let reactMountRootElement;
try {
reactMountRootElement = document.registerElement('nuclide-react-mount-root', {
prototype: ReactMountRootElement.prototype
});
} catch (e) {
// Element was already registered. Retrieve its constructor:
const oldElem = document.createElement('nuclide-react-mount-root');
if (!(oldElem.constructor.name === 'nuclide-react-mount-root')) {
throw new Error('Invariant violation: "oldElem.constructor.name === \'nuclide-react-mount-root\'"');
}
reactMountRootElement = oldElem.constructor;
}
exports.default = document.registerElement('nuclide-react-mount-root', {
prototype: ReactMountRootElement.prototype
});
exports.default = reactMountRootElement;

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