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

alias-resolve-loader

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alias-resolve-loader - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

.travis.yml

14

index.js

@@ -8,11 +8,11 @@ 'use strict';

module.exports = function () {
var loader = this;
var resourcePath = loader.resourcePath;
var params = loaderUtils.parseQuery(loader.query);
var aliases = params.plugins || loader.options.aliasesResolve;
var callback = loader.async();
var loader = this;
var resourcePath = loader.resourcePath;
var params = loaderUtils.parseQuery(loader.query);
var aliases = params.plugins || loader.options.aliasesResolve;
var callback = loader.async();
callback(null, cssAliasses(fs.readFileSync(resourcePath, 'utf8'), resourcePath, aliases));
callback(null, cssAliasses(fs.readFileSync(resourcePath, 'utf8'), resourcePath, aliases));
return;
return;
};
{
"name": "alias-resolve-loader",
"version": "1.0.2",
"version": "1.0.3",
"description": "Webpack preLoader lets you create custom aliases for CSS,less and SASS properties with an @alias rule",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "node_modules/.bin/eslint .",
"patch": "npm version patch && git push origin master --follow-tags && npm publish",
"minor": "npm version minor && git push origin master --follow-tags && npm publish",
"major": "npm version major && git push origin master --follow-tags && npm publish"
},

@@ -14,3 +17,3 @@ "repository": {

"author": "Igor Ognichenko <ognichenko.igor@gmail.com>",
"license": "ISC",
"license": "MIT",
"bugs": {

@@ -33,6 +36,9 @@ "url": "https://github.com/RobinCK/alias-resolve-loader/issues"

"dependencies": {
"css-aliases": "^1.1.1",
"css-aliases": "^1.1.4",
"fs": "0.0.1-security",
"loader-utils": "^0.2.16"
},
"devDependencies": {
"eslint": "^3.19.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