react-view-files
Advanced tools
Comparing version 1.1.4 to 1.1.5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "MediaPreview", { | ||
enumerable: true, | ||
get: function get() { | ||
return _MediaPreview.MediaPreview; | ||
} | ||
}); | ||
Object.defineProperty(exports, "MediaView", { | ||
enumerable: true, | ||
get: function get() { | ||
return _MediaView.MediaView; | ||
} | ||
}); | ||
var _MediaView = require("./components/MediaView"); | ||
var _MediaPreview = require("./components/MediaPreview"); | ||
var _reactPdf = require("react-pdf"); | ||
var _react = _interopRequireDefault(require("react")); | ||
var _client = _interopRequireDefault(require("react-dom/client")); | ||
require("./styles/_styles.scss"); | ||
var _App = _interopRequireDefault(require("./App")); | ||
var _jsxRuntime = require("react/jsx-runtime"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
// import { MediaView } from "./components/MediaView"; | ||
// import { MediaPreview } from "./components/MediaPreview"; | ||
// import "./styles/_styles.scss"; | ||
_reactPdf.pdfjs.GlobalWorkerOptions.workerSrc = "//unpkg.com/pdfjs-dist@".concat(_reactPdf.pdfjs.version, "/build/pdf.worker.min.js"); | ||
// export { MediaView, MediaPreview }; | ||
var root = _client["default"].createRoot(document.getElementById("app")); | ||
root.render( /*#__PURE__*/(0, _jsxRuntime.jsx)(_react["default"].StrictMode, { | ||
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_App["default"], {}) | ||
})); | ||
_reactPdf.pdfjs.GlobalWorkerOptions.workerSrc = "//unpkg.com/pdfjs-dist@".concat(_reactPdf.pdfjs.version, "/build/pdf.worker.min.js"); |
{ | ||
"name": "react-view-files", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 7 instances in 1 package
5
183550
46
1737