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

css-hot-loader

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-hot-loader - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

4

History.md

@@ -0,1 +1,5 @@

### 1.3.1 / 2017-09-04
- Use var instead of const for IE10 [#17](https://github.com/shepherdwind/css-hot-loader/pull/17)
### 1.3.0 / 2017-07-03

@@ -2,0 +6,0 @@

2

loader.js

@@ -16,3 +16,3 @@ const loaderUtils = require('loader-utils');

// ${Date.now()}
const cssReload = require(${loaderUtils.stringifyRequest(this, require.resolve('./hotModuleReplacement'))})(module.id, ${JSON.stringify(options)});
var cssReload = require(${loaderUtils.stringifyRequest(this, require.resolve('./hotModuleReplacement'))})(module.id, ${JSON.stringify(options)});
module.hot.dispose(cssReload);

@@ -19,0 +19,0 @@ module.hot.accept(undefined, cssReload);

{
"name": "css-hot-loader",
"version": "1.3.0",
"version": "1.3.1",
"description": "css hot reload work with extract-text-webpack-plugin",

@@ -8,3 +8,5 @@ "main": "index.js",

"pub": "npm version patch && npm publish && git push origin && git push origin --tags",
"test": "echo \"Error: no test specified\" && exit 1"
"cov": "jest --collectCoverageFrom='[\"*.js\"]' --coverage",
"ci": "npm run cov && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test": "jest"
},

@@ -26,3 +28,8 @@ "files": [

"normalize-url": "^1.9.1"
},
"devDependencies": {
"coveralls": "^2.13.1",
"jest": "^20.0.4",
"strict-uri-encode": "^2.0.0"
}
}
### CSS Hot Loader
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![NPM version][npm-image]][npm-url]

@@ -10,2 +12,6 @@ [![npm download][download-image]][download-url]

[download-url]: https://npmjs.org/package/css-hot-loader
[travis-image]: https://img.shields.io/travis/shepherdwind/css-hot-loader.svg?style=flat-square
[travis-url]: https://travis-ci.org/shepherdwind/css-hot-loader
[coveralls-image]: https://img.shields.io/coveralls/shepherdwind/css-hot-loader.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/shepherdwind/css-hot-loader?branch=master

@@ -12,0 +18,0 @@

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