Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
2.2 KB
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
---|
4 |
|
---|
5 | Object.defineProperty(exports, "__esModule", {
|
---|
6 | value: true
|
---|
7 | });
|
---|
8 | Object.defineProperty(exports, "patchFs", {
|
---|
9 | enumerable: true,
|
---|
10 | get: function get() {
|
---|
11 | return _patchFs["default"];
|
---|
12 | }
|
---|
13 | });
|
---|
14 | Object.defineProperty(exports, "patchRequire", {
|
---|
15 | enumerable: true,
|
---|
16 | get: function get() {
|
---|
17 | return _patchRequire["default"];
|
---|
18 | }
|
---|
19 | });
|
---|
20 | Object.defineProperty(exports, "unixify", {
|
---|
21 | enumerable: true,
|
---|
22 | get: function get() {
|
---|
23 | return _correctPath.unixify;
|
---|
24 | }
|
---|
25 | });
|
---|
26 | exports.util = void 0;
|
---|
27 |
|
---|
28 | var _patchFs = _interopRequireDefault(require("./patchFs"));
|
---|
29 |
|
---|
30 | var _patchRequire = _interopRequireDefault(require("./patchRequire"));
|
---|
31 |
|
---|
32 | var _correctPath = require("./correctPath");
|
---|
33 |
|
---|
34 | var util = _interopRequireWildcard(require("./util/lists"));
|
---|
35 |
|
---|
36 | exports.util = util;
|
---|
37 |
|
---|
38 | function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
---|
39 |
|
---|
40 | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
---|
41 |
|
---|
42 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } |
---|
Note:
See
TracBrowser
for help on using the repository browser.