Socket
Socket
Sign inDemoInstall

stylelint-declaration-strict-value

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-declaration-strict-value - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

lib/get-node.js

5

lib/validation.js

@@ -177,5 +177,6 @@ 'use strict';

/**
* Get the auto-fix function either by a function directly or from source file.
*
* @param autoFixFunc
* @returns {*}
* @param {Function|string} autoFixFunc
* @returns {Function|null}
*/

@@ -182,0 +183,0 @@ function getAutoFixFunc(autoFixFunc) {

12

package.json
{
"name": "stylelint-declaration-strict-value",
"version": "1.1.2",
"version": "1.1.3",
"description": "Specify properties for which a variable, function, keyword or value must be used",

@@ -34,3 +34,3 @@ "main": "index.js",

"peerDependencies": {
"stylelint": "^7.0.0 || ^8.0.0 || ^9.0.0"
"stylelint": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0"
},

@@ -46,9 +46,9 @@ "devDependencies": {

"babel-preset-es2015": "^6.24.1",
"doctoc": "^1.3.1",
"eslint": "^5.8.0",
"doctoc": "^1.4.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.0.1",
"stylelint": "^9.7.1",
"eslint-plugin-import": "^2.17.2",
"stylelint": "^10.0.1",
"stylelint-test-rule-tape": "^0.2.0"
}
}

@@ -633,3 +633,3 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update -->

**Note:** it's best you use a JavaScript based config file, which is easy because Stylelint utilizes [cosmiconfig](https://github.com/davidtheclark/cosmiconfig).
Alternatively you can specify a common JS module, which will be resolves by [standard `require`](https://nodejs.org/api/modules.html#modules_file_modules) calls including support for `CDW`.
Alternatively you can specify a common JS module, which will be resolved by [standard `require`](https://nodejs.org/api/modules.html#modules_file_modules) calls including support for `CWD`.

@@ -726,3 +726,6 @@ You can also disable autofixing by setting [`disableFix`](https://github.com/stylelint/stylelint/blob/master/docs/developer-guide/plugins.md#the-anatomy-of-a-plugin) to `true`;

"color": "string" || ["string", /* ... */],
}
},
autoFixFunc: './auto-fix-func.js' || function() {},
disableFix: true || false,
message: "Custom expected ${types} for \"${value}\" of \"${property}\"",
}

@@ -729,0 +732,0 @@ ]

Sorry, the diff of this file is not supported yet

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