-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2210 from igor-karpukhin/LOG-1315/kibana6-nodejs-…
…parser LOG-1315. Updated kibana dependencies
- Loading branch information
Showing
234 changed files
with
20,215 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,5 @@ _output/ | |
venv | ||
|
||
**/.vendor | ||
*.swo | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,227 @@ | ||
## [Unreleased] | ||
|
||
|
||
## [0.8.18] - 2021-10-23 | ||
|
||
### Fixed | ||
- Upgraded `ua-parser-js` dependency | ||
|
||
|
||
|
||
## [0.8.17] - 2018-06-11 | ||
|
||
### Fixed | ||
- Upgraded `ua-parser-js` dependency to address ReDoS vulnerability. | ||
|
||
|
||
## [0.8.16] - 2017-09-25 | ||
|
||
### Changed | ||
- Relicense to MIT as part of React relicense. | ||
|
||
|
||
## [0.8.15] - 2017-09-07 | ||
|
||
### Fixed | ||
- `getDocumentScrollElement` now correctly returns the `<html>` element in Chrome 61 instead of `<body>`. | ||
|
||
|
||
## [0.8.14] - 2017-07-25 | ||
|
||
### Removed | ||
- Flow annotations for `keyMirror` module. The annotation generates a syntax error after being re-printed by Babel. | ||
|
||
|
||
## [0.8.13] - 2017-07-25 | ||
|
||
### Added | ||
- Flow annotations for `keyMirror` module. | ||
|
||
### Fixed | ||
- Fixed strict argument arity issues with `Deferred` module. | ||
- Corrected License header in `EventListener`. | ||
|
||
|
||
## [0.8.12] - 2017-03-29 | ||
|
||
### Fixed | ||
- Fix use of `global` working inconsistently. | ||
|
||
|
||
## [0.8.11] - 2017-03-21 | ||
|
||
### Fixed | ||
- Fixed a regression resulting from making DOM utilities work in nested browsing contexts. | ||
|
||
|
||
## [0.8.10] - 2017-03-20 | ||
|
||
### Changed | ||
- Made DOM utilities work in nested browsing contexts. | ||
|
||
|
||
## [0.8.9] - 2017-01-31 | ||
|
||
### Fixed | ||
- Updated `partitionObjectByKey` Flow annotations for Flow 0.38. | ||
|
||
|
||
## [0.8.8] - 2016-12-20 | ||
|
||
### Changed | ||
- `invariant`: Moved `process.env.NODE_ENV` check to module scope, eliminating check on each call. | ||
|
||
|
||
## [0.8.7] - 2016-12-19 | ||
|
||
### Added | ||
- New module: `setImmediate`. | ||
|
||
|
||
## [0.8.6] - 2016-11-09 | ||
|
||
### Removed | ||
- Removed runtime dependency on immutable, reducing package size. | ||
|
||
|
||
## [0.8.5] - 2016-09-27 | ||
|
||
### Fixed | ||
- Fixed all remaining issues resulting in Flow errors when `fbjs` is a dependency of a dependency. | ||
|
||
### Removed | ||
- Removed now extraneous `flow/lib/Promise.js`. | ||
|
||
## [0.8.4] - 2016-08-19 | ||
|
||
### Changed | ||
- Moved `try/catch` in `warning` module to helper function to prevent deopts. | ||
|
||
|
||
## [0.8.3] - 2016-05-25 | ||
|
||
### Added | ||
- `Deferred`: added `Deferred.prototype.catch` to avoid having to call this directly on the Promise. | ||
- `UnicodeUtilsExtra`: added several methods for escaping strings. | ||
|
||
### Changed | ||
- More Flow annotations: `containsNode`, `emptyFunction`, `memoizeStringOnly` | ||
- Added explicit `<any>` type arguments to in anticipation of a future Flow change requiring them. | ||
- `Object.assign` calls now replaced with usage of `object-assign` module. | ||
|
||
### Fixed | ||
- Type imports in .js.flow files are now properly using relative paths. | ||
- `DataTransfer`: handle Firefox better | ||
|
||
|
||
## [0.8.2] - 2016-05-05 | ||
|
||
### Removed | ||
- Removed extraneous production dependency | ||
|
||
|
||
## [0.8.1] - 2016-04-18 | ||
|
||
### Added | ||
- We now include a `Promise` 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. | ||
|
||
|
||
## [0.8.0] - 2016-04-04 | ||
|
||
### Added | ||
- Several additional modules. Notably, a collection of Unicode utilities and many new `functional` helpers. | ||
- `CSSCore`: added `matchesSelector` method | ||
|
||
### Changed | ||
- Copyright headers updated to reflect current boilerplate | ||
- `@providesModule` headers removed from generated source code | ||
- Flow files now contain relative requires, improving compatibility with Haste and CommonJS module systems | ||
|
||
### Fixed | ||
- `isEmpty`: Protect from breaking in environments without `Symbol` defined | ||
|
||
|
||
## [0.7.2] - 2016-02-05 | ||
|
||
### Fixed | ||
- `URI`: correctly store reference to value in constructor and return it when stringifying | ||
|
||
### Removed | ||
- Backed out rejection tracking for React Native `Promise` implementation. That code now lives in React Native. | ||
|
||
|
||
## [0.7.1] - 2016-02-02 | ||
|
||
### Fixed | ||
|
||
- Corrected require path issue for native `Promise` module | ||
|
||
|
||
## [0.7.0] - 2016-01-27 | ||
|
||
### Added | ||
- `Promise` for React Native with rejection tracking in `__DEV__` and a `finally` method | ||
- `_shouldPolyfillES6Collection`: check if ES6 Collections need to be polyfilled. | ||
|
||
### Removed | ||
- `toArray`: removed in favor of using `Array.from` directly. | ||
|
||
### Changed | ||
- `ErrorUtils`: Re-uses any global instance that already exists | ||
- `fetch`: Switched to `isomorphic-fetch` when a global implementation is missing | ||
- `shallowEqual`: handles `NaN` values appropriately (as equal), now using `Object.is` semantics | ||
|
||
|
||
## [0.6.1] - 2016-01-06 | ||
|
||
### Changed | ||
- `getActiveElement`: no longer throws in non-browser environment (again) | ||
|
||
|
||
## [0.6.0] - 2015-12-29 | ||
|
||
### Changed | ||
- Flow: Original source files in `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. | ||
|
||
|
||
## [0.5.1] - 2015-12-13 | ||
|
||
### Added | ||
- `base62` module | ||
|
||
|
||
## [0.5.0] - 2015-12-04 | ||
|
||
### Changed | ||
|
||
- `getActiveElement`: No longer handles a non-existent `document` | ||
|
||
|
||
## [0.4.0] - 2015-10-16 | ||
|
||
### Changed | ||
|
||
- `invariant`: Message is no longer prefixed with "Invariant Violation: ". | ||
|
||
|
||
## [0.3.2] - 2015-10-12 | ||
|
||
### Added | ||
- Apply appropriate transform (`loose-envify`) when bundling with `browserify` | ||
|
||
|
||
## [0.3.1] - 2015-10-01 | ||
|
||
### Fixed | ||
- Ensure the build completes correctly before packaging | ||
|
||
|
||
## [0.3.0] - 2015-10-01 | ||
|
||
### Added | ||
- More modules: `memoizeStringOnly`, `joinClasses` | ||
- `UserAgent`: Query information about current user agent | ||
|
||
### Changed | ||
- `fetchWithRetries`: Reject failure with an Error, not the response | ||
- `getActiveElement`: no longer throws in non-browser environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
MIT License | ||
|
||
Copyright (c) 2013-present, Facebook, Inc. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# FBJS | ||
|
||
## Purpose | ||
|
||
To make it easier for Facebook to share and consume our own JavaScript. Primarily this will allow us to ship code without worrying too much about where it lives, keeping with the spirit of `@providesModule` but working in the broader JavaScript ecosystem. | ||
|
||
**Note:** If you are consuming the code here and you are not also a Facebook project, be prepared for a bad time. APIs may appear or disappear and we may not follow semver strictly, though we will do our best to. This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. In order for us to move fast and ship projects like React and Relay, we've made the decision to not support everybody. We probably won't take your feature requests unless they align with our needs. There will be overlap in functionality here and in other open source projects. | ||
|
||
## Usage | ||
|
||
Any `@providesModule` modules that are used by your project should be added to `src/`. They will be built and added to `module-map.json`. This file will contain a map from `@providesModule` name to what will be published as `fbjs`. The `module-map.json` file can then be consumed in your own project, along with the [rewrite-modules](https://github.com/facebook/fbjs/blob/master/babel-preset/plugins/rewrite-modules.js) Babel plugin (which we'll publish with this), to rewrite requires in your own project. Then, just make sure `fbjs` is a dependency in your `package.json` and your package will consume the shared code. | ||
|
||
```js | ||
// Before transform | ||
const emptyFunction = require('emptyFunction'); | ||
// After transform | ||
const emptyFunction = require('fbjs/lib/emptyFunction'); | ||
``` | ||
|
||
See React for an example of this. *Coming soon!* | ||
|
||
## Building | ||
|
||
It's as easy as just running gulp. This assumes you've also done `npm install -g gulp`. | ||
|
||
```sh | ||
gulp | ||
``` | ||
|
||
Alternatively `npm run build` will also work. | ||
|
||
### Layout | ||
|
||
Right now these packages represent a subset of packages that we use internally at Facebook. Mostly these are support libraries used when shipping larger libraries, like React and Relay, or products. Each of these packages is in its own directory under `src/`. | ||
|
||
### Process | ||
|
||
Since we use `@providesModule`, we need to rewrite requires to be relative. Thanks to `@providesModule` requiring global uniqueness, we can do this easily. Eventually we'll try to make this part of the process go away by making more projects use CommonJS. | ||
|
||
|
||
## TODO | ||
|
||
- Flow: Ideally we'd ship our original files with type annotations, however that's not doable right now. We have a couple options: | ||
- Make sure our transpilation step converts inline type annotations to the comment format. | ||
- Make our build process also build Flow interface files which we can ship to npm. | ||
- Split into multiple packages. This will be better for more concise versioning, otherwise we'll likely just be shipping lots of major versions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* 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. | ||
*/ | ||
|
||
declare var __DEV__: boolean; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* 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'; | ||
|
||
throw new Error('The fbjs package should not be required without a full path.'); |
Oops, something went wrong.