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

@instructure/brandable_css

Package Overview
Dependencies
Maintainers
20
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/brandable_css - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

7

package.json
{
"name": "@instructure/brandable_css",
"version": "2.0.0",
"version": "3.0.0",
"description": "This is what we use to compile sass in canvas-lms with all our variants and custom theme editor css",

@@ -31,11 +31,12 @@ "main": "./src/main.js",

"lodash": "^4",
"node-sass": "~4.14.1",
"postcss": "^6",
"postcss-url": "^7",
"rev-hash": "^2"
"rev-hash": "^2",
"sass": "^1.35.1"
},
"devDependencies": {
"chai": "^4",
"css": "^3.0.0",
"mocha": "^9"
}
}

@@ -141,2 +141,8 @@ # brandable_css

### 3.0.0
- Switched engine from node-sass to dart-sass as the former has reached end of
life status. Note that dart-sass is currently a lot slower than its previous
counterpart.
### 2.0.0

@@ -143,0 +149,0 @@

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

const {promisify} = require('util')
const sassRender = promisify(require('node-sass').render)
const sass = require('sass')
const path = require('path')

@@ -59,6 +58,6 @@ const chalk = require('chalk')

const startTime = new Date()
const nodeSassResult = await sassRender({
const nodeSassResult = sass.renderSync({
file: sassFile,
includePaths: includePaths,
outputStyle: SASS_STYLE,
outputStyle: SASS_STYLE === 'nested' ? 'expanded' : SASS_STYLE,
sourceComments: SASS_STYLE !== 'compressed',

@@ -65,0 +64,0 @@ sourceMap: false

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