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

ember-cli-sassjs

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

ember-cli-sassjs - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

19

addon/sass.js

@@ -22,7 +22,10 @@ import Ember from 'ember';

options: function(options) {
if (options.style) { options.style = window.Sass.style[options.style]; }
if (options.comments) { options.comments = window.Sass.comments[options.comments]; }
console.log(options);
return new Ember.RSVP.Promise(function(resolve) {
window.Sass.options(options, function(response) {
resolve(response);
})
})
});
});
},

@@ -34,4 +37,4 @@

resolve(success);
})
})
});
});
},

@@ -43,4 +46,4 @@

resolve(content);
})
})
});
});
},

@@ -52,6 +55,6 @@

resolve(list);
})
})
});
});
}
});
{
"name": "ember-cli-sassjs",
"version": "0.3.2",
"version": "0.3.3",
"description": "Ember addon for Sass.js",

@@ -5,0 +5,0 @@ "directories": {

@@ -33,1 +33,20 @@ # ember-cli-sassjs

```
### Options
To use options, set them on the Sass object, and call your compile function afterwards:
```javascript
Sass.options({
// format output: nested, expanded, compact, compressed
style: 'compressed',
// add line comments to output: none, default
comments: 'none'
});
Sass.compile(scss).then(function(css) {
console.log(css);
});
```
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