Skip to content

Commit

Permalink
fix slash import default
Browse files Browse the repository at this point in the history
  • Loading branch information
shallwefootball committed Mar 14, 2023
1 parent 4f1488a commit 8dd444e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28722,9 +28722,8 @@ module.exports = require("util");
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __nccwpck_require__) => {

"use strict";
__nccwpck_require__.r(__webpack_exports__);
/* harmony export */ __nccwpck_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (/* binding */ slash)
/* harmony export */ "Z": () => (/* binding */ slash)
/* harmony export */ });
function slash(path) {
const isExtendedLengthPath = /^\\\\\?\\/.test(path);
Expand Down Expand Up @@ -28869,17 +28868,6 @@ module.exports = JSON.parse('{"application/1d-interleaved-parityfec":{"source":"
/******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __nccwpck_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
Expand All @@ -28893,7 +28881,7 @@ const S3 = __nccwpck_require__(3256);
const fs = __nccwpck_require__(7147);
const path = __nccwpck_require__(1017);
const shortid = __nccwpck_require__(794);
const slash = __nccwpck_require__(3433);
const slash = (__nccwpck_require__(3433)/* ["default"] */ .Z);
const klawSync = __nccwpck_require__(9036);
const { lookup } = __nccwpck_require__(3583);

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const S3 = require('aws-sdk/clients/s3');
const fs = require('fs');
const path = require('path');
const shortid = require('shortid');
const slash = require('slash');
const slash = require('slash').default;
const klawSync = require('klaw-sync');
const { lookup } = require('mime-types');

Expand Down

0 comments on commit 8dd444e

Please sign in to comment.