ua-parser-js
dependencyua-parser-js
dependency to address ReDoS vulnerability.getDocumentScrollElement
now correctly returns the <html>
element in Chrome 61 instead of <body>
.keyMirror
module. The annotation generates a syntax error after being re-printed by Babel.keyMirror
module.Deferred
module.EventListener
.global
working inconsistently.partitionObjectByKey
Flow annotations for Flow 0.38.invariant
: Moved process.env.NODE_ENV
check to module scope, eliminating check on each call.setImmediate
.fbjs
is a dependency of a dependency.flow/lib/Promise.js
.try/catch
in warning
module to helper function to prevent deopts.Deferred
: added Deferred.prototype.catch
to avoid having to call this directly on the Promise.UnicodeUtilsExtra
: added several methods for escaping strings.containsNode
, emptyFunction
, memoizeStringOnly
<any>
type arguments to in anticipation of a future Flow change requiring them.Object.assign
calls now replaced with usage of object-assign
module.DataTransfer
: handle Firefox betterPromise
class definition in flow/lib
to account for the changes in Flow v0.23 which removed non-spec methods. This will allow our code to continue typechecking while using these methods.functional
helpers.CSSCore
: added matchesSelector
method@providesModule
headers removed from generated source codeisEmpty
: Protect from breaking in environments without Symbol
definedURI
: correctly store reference to value in constructor and return it when stringifyingPromise
implementation. That code now lives in React Native.Promise
modulePromise
for React Native with rejection tracking in __DEV__
and a finally
method_shouldPolyfillES6Collection
: check if ES6 Collections need to be polyfilled.toArray
: removed in favor of using Array.from
directly.ErrorUtils
: Re-uses any global instance that already existsfetch
: Switched to isomorphic-fetch
when a global implementation is missingshallowEqual
: handles NaN
values appropriately (as equal), now using Object.is
semanticsgetActiveElement
: no longer throws in non-browser environment (again)fbjs/flow/include
have been removed in favor of placing original files alongside compiled files in lib with a .flow
suffix. This requires Flow version 0.19 or greater and a change to .flowconfig
files to remove the include path.base62
modulegetActiveElement
: No longer handles a non-existent document
invariant
: Message is no longer prefixed with "Invariant Violation: ".loose-envify
) when bundling with browserify
memoizeStringOnly
, joinClasses
UserAgent
: Query information about current user agentfetchWithRetries
: Reject failure with an Error, not the responsegetActiveElement
: no longer throws in non-browser environment