mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 12:01:40 +08:00
- Update istanbul-lib-instrument (breaking change is not affecting us) - Explicitly update @istanbuljs/schema to 0.1.3. This directly instructs Babel to accept top-level await. As such, we can remove our special configuration for our `ui/components/docs` folder, which we can now safely preprocess. DISABLE_THIRD_PARTY_CHECK=Karma fix R=jacktfranklin@chromium.org Bug: none Change-Id: I0e96dce0117550f1a2db6a93654d8862d9cae95a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3158226 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
41 lines
1.1 KiB
JavaScript
41 lines
1.1 KiB
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.addDefault = addDefault;
|
|
exports.addNamed = addNamed;
|
|
exports.addNamespace = addNamespace;
|
|
exports.addSideEffect = addSideEffect;
|
|
Object.defineProperty(exports, "ImportInjector", {
|
|
enumerable: true,
|
|
get: function () {
|
|
return _importInjector.default;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "isModule", {
|
|
enumerable: true,
|
|
get: function () {
|
|
return _isModule.default;
|
|
}
|
|
});
|
|
|
|
var _importInjector = require("./import-injector");
|
|
|
|
var _isModule = require("./is-module");
|
|
|
|
function addDefault(path, importedSource, opts) {
|
|
return new _importInjector.default(path).addDefault(importedSource, opts);
|
|
}
|
|
|
|
function addNamed(path, name, importedSource, opts) {
|
|
return new _importInjector.default(path).addNamed(name, importedSource, opts);
|
|
}
|
|
|
|
function addNamespace(path, importedSource, opts) {
|
|
return new _importInjector.default(path).addNamespace(importedSource, opts);
|
|
}
|
|
|
|
function addSideEffect(path, importedSource, opts) {
|
|
return new _importInjector.default(path).addSideEffect(importedSource, opts);
|
|
} |