Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 0.11.1 to 0.11.2

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Change Log

<a name="0.11.2"></a>
## [0.11.2](https://github.com/webpack/file-loader/compare/v0.11.1...v0.11.2) (2017-06-05)
### Bug Fixes
* **index:** allow to override publicPath with an empty string ([#145](https://github.com/webpack/file-loader/issues/145)) ([26ab81a](https://github.com/webpack/file-loader/commit/26ab81a))
* init `publicPath` to undefined ([#159](https://github.com/webpack/file-loader/issues/159)) ([e4c0b2a](https://github.com/webpack/file-loader/commit/e4c0b2a))
<a name="0.11.1"></a>

@@ -7,0 +18,0 @@ ## [0.11.1](https://github.com/webpack/file-loader/compare/v0.11.0...v0.11.1) (2017-04-01)

4

index.js

@@ -16,3 +16,3 @@ /*

var config = {
publicPath: false,
publicPath: undefined,
useRelativePath: false,

@@ -65,3 +65,3 @@ name: "[hash].[ext]"

var publicPath = "__webpack_public_path__ + " + JSON.stringify(url);
if (config.publicPath) {
if (config.publicPath !== undefined) {
// support functions as publicPath to generate them dynamically

@@ -68,0 +68,0 @@ publicPath = JSON.stringify(

{
"name": "file-loader",
"version": "0.11.1",
"version": "0.11.2",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "file loader module for webpack",

@@ -14,2 +14,3 @@ [![npm][npm]][npm-url]

<h1>File Loader</h1>
<p>Instructs webpack to emit the required object as file and to return its public url.</p>
</div>

@@ -156,2 +157,2 @@

[chat]: https://badges.gitter.im/webpack/webpack.svg
[chat-url]: https://gitter.im/webpack/webpack
[chat-url]: https://gitter.im/webpack/webpack
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