-
-
Notifications
You must be signed in to change notification settings - Fork 289
Expand file tree
/
Copy path.ncurc.js
More file actions
17 lines (16 loc) · 759 Bytes
/
Copy path.ncurc.js
File metadata and controls
17 lines (16 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'use strict';
module.exports = {
upgrade: true,
// mailparser ships inside @yao-pkg/pkg binaries (via EmailEngine and other
// downstream projects), so every dependency must stay CommonJS-compatible.
// Reject any package whose newer releases moved to pure ESM - pkg cannot
// bundle ESM-only modules. Add the offending package name here when an
// upgrade flips it to ESM.
reject: [
// linkify-it 6.0.0 changed the CommonJS export shape (named bindings instead of
// the constructor) and stopped linkifying bare domains such as example.com or
// www.example.org by default, which silently breaks autolinking when converting
// plain text bodies to HTML. Stay on 5.x.
'linkify-it'
]
};