mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 21:54:47 +08:00
DISABLE_THIRD_PARTY_CHECK=new npm module causes package-lock change We can get rid of a custom script and use ESLint for these rules. Additionally this means editors will highlight the issue in the editor. Change-Id: I552b52e7f07b4e7430b3f685dbc3b5fad36ffff2 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2052167 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
21 lines
552 B
JavaScript
21 lines
552 B
JavaScript
import _curry2 from './_curry2.js';
|
|
import _xfBase from './_xfBase.js';
|
|
|
|
var XMap = /*#__PURE__*/function () {
|
|
function XMap(f, xf) {
|
|
this.xf = xf;
|
|
this.f = f;
|
|
}
|
|
XMap.prototype['@@transducer/init'] = _xfBase.init;
|
|
XMap.prototype['@@transducer/result'] = _xfBase.result;
|
|
XMap.prototype['@@transducer/step'] = function (result, input) {
|
|
return this.xf['@@transducer/step'](result, this.f(input));
|
|
};
|
|
|
|
return XMap;
|
|
}();
|
|
|
|
var _xmap = /*#__PURE__*/_curry2(function _xmap(f, xf) {
|
|
return new XMap(f, xf);
|
|
});
|
|
export default _xmap; |