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

sass-deprecate

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

sass-deprecate - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

14

package.json
{
"name": "sass-deprecate",
"version": "1.0.3",
"description": "Sass Deprecate",
"version": "1.1.0",
"description": "Sass Deprecate: deprecate with confidence",
"keywords": [
"sass",
"eyeglass-module"
],
"license": "SEE LICENSE IN README.md",

@@ -20,2 +24,3 @@ "repository": {

],
"main": "index.scss",
"ignore": [

@@ -27,2 +32,7 @@ "test",

],
"eyeglass": {
"needs": "^0.8.2",
"sassDir": "./index.scss",
"exports": false
},
"devDependencies": {

@@ -29,0 +39,0 @@ "node-sass": "^3.4.2",

@@ -1,2 +0,2 @@

# Deprecate with confidence [![Build Status](https://travis-ci.com/salesforce-ux/sass-deprecate.svg?token=1gDsJEsp8ELpc6yY2BCC&branch=master)](https://travis-ci.com/salesforce-ux/sass-deprecate)
# Deprecate with confidence [![Build Status](https://travis-ci.org/salesforce-ux/sass-deprecate.svg?branch=master)](https://travis-ci.org/salesforce-ux/sass-deprecate)

@@ -70,2 +70,22 @@ `deprecate()` is a Sass mixin that helps managing code deprecation.

## Advanced Semantic Versioning Support
Need to compare version numbers such as `3.2.1-beta.5` and `1.2.3-alpha.2`?
By default, sass-deprecate only compares `$version` with `$app-version` in the form of `Major.Minor.Patch` (e.g. `1.2.3` with `2.0.0`).
For advanced SemVer support in the form of `Major.Minor.Patch-beta/alpha/rc.1`, define a `deprecate-version-greater-than($v1, $v2)` function, or rely on Hugo's [sass-semver](https://raw.githubusercontent.com/HugoGiraudel/sass-semver):
```scss
// Override the default SemVer resolution engine
// with sass-semver: https://github.com/HugoGiraudel/sass-semver
@import 'node_modules/sass-semver/index';
@function deprecate-version-greater-than($version, $app-version) {
@return gt($v1: $version, $v2: $app-version);
}
@import 'path-to/sass-deprecate/index';
```
## Running tests

@@ -72,0 +92,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