Upgrade color to latest version via CommonJS wrapper package

Allows continued support of non-ESM runtimes - see #4450
This commit is contained in:
Lovell Fuller 2025-09-10 08:55:14 +01:00
parent c270455007
commit 45f8717900
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
'use strict';
const color = require('color');
const color = require('@img/colour');
const is = require('./is');
/**

View File

@ -137,7 +137,7 @@
"vips"
],
"dependencies": {
"color": "^4.2.3",
"@img/colour": "^1.0.0",
"detect-libc": "^2.0.4",
"semver": "^7.7.2"
},