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

rev-replace-loader

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rev-replace-loader - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

5

index.js

@@ -1,6 +0,7 @@

var path = require('path')
var path = require('path')
var loaderUtils = require('loader-utils')
module.exports = function(source) {
var query = JSON.parse(this.query.substr(1))
var query = loaderUtils.parseQuery(this.query)
var manifest = query.manifest || (query.manifestPath ? requireManifest(query.manifestPath) : false)

@@ -7,0 +8,0 @@

7

package.json
{
"name": "rev-replace-loader",
"version": "0.1.3",
"version": "0.1.4",
"description": "Webpack loader to replace asset paths with hashed ones from a rev-manifest.json file",

@@ -19,3 +19,6 @@ "main": "index.js",

"author": "Dan Tello",
"license": "MIT"
"license": "MIT",
"dependencies": {
"loader-utils": "0.2.16"
}
}
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