source: trip-planner-front/node_modules/fs-monkey/lib/index.js@ 6a3a178

Last change on this file since 6a3a178 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
3function _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
5Object.defineProperty(exports, "__esModule", {
6 value: true
7});
8Object.defineProperty(exports, "patchFs", {
9 enumerable: true,
10 get: function get() {
11 return _patchFs["default"];
12 }
13});
14Object.defineProperty(exports, "patchRequire", {
15 enumerable: true,
16 get: function get() {
17 return _patchRequire["default"];
18 }
19});
20Object.defineProperty(exports, "unixify", {
21 enumerable: true,
22 get: function get() {
23 return _correctPath.unixify;
24 }
25});
26exports.util = void 0;
27
28var _patchFs = _interopRequireDefault(require("./patchFs"));
29
30var _patchRequire = _interopRequireDefault(require("./patchRequire"));
31
32var _correctPath = require("./correctPath");
33
34var util = _interopRequireWildcard(require("./util/lists"));
35
36exports.util = util;
37
38function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
39
40function _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
42function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
Note: See TracBrowser for help on using the repository browser.