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

sass-true

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-true - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

bower.json
{
"name": "true",
"version": "2.0.2",
"version": "2.0.3",
"main": "sass/_true.scss",

@@ -5,0 +5,0 @@ "description": "Unit testing for Sass.",

{
"name": "sass-true",
"version": "2.0.2",
"version": "2.0.3",
"description": "Unit testing for Sass.",

@@ -22,3 +22,3 @@ "homepage": "http://ericsuzanne.com/true",

"css-selector-parser": "~1.0.0",
"node-sass": "^3.0.0",
"node-sass": "^3.4.0",
"underscore": "~1.7.0"

@@ -33,2 +33,3 @@ },

"eyeglass": {
"name": "true",
"exports": "eyeglass-exports.js"

@@ -35,0 +36,0 @@ },

@@ -32,2 +32,3 @@ True

Usage

@@ -75,2 +76,16 @@ -----

**Note:**
Function unit-tests work across the board,
but testing mixins can be a bit more complex.
At this point,
only Mocha is able to compare/report the results of mixin tests,
as long as the mixins don't manipulate the selector chain
(it can't test media-query mixins for example).
Without using Mocha,
you can test any mixin,
but you will have to compare the expected and actual results manually
in the output code.
Version control can make that much easier than it sounds.
### With node-sass and Mocha (or other JS test runners)

@@ -86,6 +101,6 @@

var path = require('path');
var true = require('sass-true');
var sassTrue = require('sass-true');
var sassFile = path.join(__dirname, 'test.scss');
true.runSass({file: sassFile}, describe, it);
sassTrue.runSass({file: sassFile}, describe, it);
```

@@ -107,2 +122,3 @@

### With ruby-sass on the command line

@@ -109,0 +125,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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