File: use-node-css.patch

package info (click to toggle)
node-stylus 0.59.0%2B~0.48.38-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,960 kB
  • sloc: javascript: 9,198; makefile: 30
file content (23 lines) | stat: -rw-r--r-- 631 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Yadd <yadd@debian.org>
Date: Thu, 30 Oct 2025 16:44:00 +0100
Subject: use node-css instead of @adobe/css-tools

Forwarded: not-needed
Last-Update: 2022-09-05
---
 lib/convert/css.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/convert/css.js b/lib/convert/css.js
index ccd953e..dde741c 100644
--- a/lib/convert/css.js
+++ b/lib/convert/css.js
@@ -24,7 +24,7 @@ module.exports = function(css){
  */
 
 function Converter(css) {
-  var { parse } = require('@adobe/css-tools');
+  var { parse } = require('css');
   this.css = css;
   this.root = parse(css, { position: false });
   this.indents = 0;