New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jinker/autodll-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jinker/autodll-webpack-plugin - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

lib/paths.js

@@ -14,2 +14,4 @@ 'use strict';

var _url = require('url');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -25,4 +27,4 @@

return relative ? relativePath : (0, _path.join)(settings.publicPath, relativePath);
return relative ? relativePath : (0, _url.resolve)(settings.publicPath, relativePath);
};
};

@@ -172,8 +172,3 @@ 'use strict';

}).map(function (item) {
var filename = item.filename;
var publicPath = getPublicDllPath(filename);
if (!process.IS_DEBUG) {
return `/${publicPath}`;
}
return publicPath;
return getPublicDllPath(item.filename);
});

@@ -180,0 +175,0 @@

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.3.2",
"version": "0.3.3",
"description": "[![Build Status](https://travis-ci.org/asfktz/autodll-webpack-plugin.svg?branch=master)](https://travis-ci.org/asfktz/autodll-webpack-plugin)",

@@ -8,0 +8,0 @@ "main": "lib/index.js",

import findCacheDir from 'find-cache-dir';
import { join } from 'path';
import { resolve } from 'url';

@@ -10,4 +11,4 @@ export const cacheDir = findCacheDir({ name: 'autodll-webpack-plugin' });

return relative ? relativePath : join(settings.publicPath, relativePath);
return relative ? relativePath : resolve(settings.publicPath, relativePath);
};
};

@@ -122,8 +122,3 @@ import { DllReferencePlugin } from 'webpack';

.map((item) => {
const filename = item.filename;
const publicPath = getPublicDllPath(filename);
if (!process.IS_DEBUG) {
return `/${publicPath}`;
}
return publicPath;
return getPublicDllPath(item.filename);
});

@@ -130,0 +125,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