Socket
Socket
Sign inDemoInstall

file-loader

Package Overview
Dependencies
Maintainers
7
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-loader - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [5.0.1](https://github.com/webpack-contrib/file-loader/compare/v5.0.0...v5.0.1) (2019-11-25)
### Bug Fixes
* name of `esModule` option in source code ([#346](https://github.com/webpack-contrib/file-loader/issues/346)) ([31d6589](https://github.com/webpack-contrib/file-loader/commit/31d6589b71b471f83908e80380dff9b9eada2d06))
## [5.0.0](https://github.com/webpack-contrib/file-loader/compare/v4.2.0...v5.0.0) (2019-11-22)

@@ -7,0 +14,0 @@

4

dist/index.js

@@ -63,4 +63,4 @@ "use strict";

const esModules = typeof options.esModules !== 'undefined' ? options.esModules : true;
return `${esModules ? 'export default' : 'module.exports ='} ${publicPath};`;
const esModule = typeof options.esModule !== 'undefined' ? options.esModule : true;
return `${esModule ? 'export default' : 'module.exports ='} ${publicPath};`;
}

@@ -67,0 +67,0 @@

{
"name": "file-loader",
"version": "5.0.0",
"version": "5.0.1",
"description": "A file loader module for webpack",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc