Skip to content

Refactor and add template-oss#40

Merged
lukekarrys merged 3 commits intomainfrom
deps/template-oss
Dec 13, 2022
Merged

Refactor and add template-oss#40
lukekarrys merged 3 commits intomainfrom
deps/template-oss

Conversation

@lukekarrys
Copy link
Copy Markdown
Contributor

@lukekarrys lukekarrys commented Oct 15, 2022

Closes #31

@lukekarrys lukekarrys added the Dependencies Pull requests that update a dependency file label Oct 15, 2022
BREAKING CHANGE: this package is now compatible with the following
semver range for node: `^14.17.0 || ^16.13.0 || >=18.0.0`
Comment on lines +3 to +5
const esc = (str) => str
.replace(/\(/g, '\\(')
.replace(/\)/g, '\\)')

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding

This does not escape backslash characters in the input.
Comment on lines +3 to +4
const esc = (str) => str
.replace(/\(/g, '\\(')

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding

This does not escape backslash characters in the input.
@lukekarrys lukekarrys marked this pull request as ready for review December 12, 2022 01:21
@lukekarrys lukekarrys changed the title chore: bump @npmcli/template-oss to 4.6.0 Add template-oss Dec 12, 2022
@lukekarrys lukekarrys requested a review from a team December 12, 2022 01:21
@lukekarrys lukekarrys removed the Dependencies Pull requests that update a dependency file label Dec 12, 2022
@lukekarrys lukekarrys changed the title Add template-oss Refactor and add template-oss Dec 12, 2022
@lukekarrys lukekarrys requested a review from wraithgar December 12, 2022 17:07
BREAKING CHANGE: this module has been refactored to use promises
- the API is now promise only and no longer accepts a callback
- the Promise is resolved to a string and no longer returns `isDefault`
@lukekarrys lukekarrys merged commit bf9e805 into main Dec 13, 2022
@lukekarrys lukekarrys deleted the deps/template-oss branch December 13, 2022 23:03
marmitar added a commit to marmitar/thelounge that referenced this pull request Nov 4, 2025
Important changes (npm/read#77):
- exported as ESM
- includes type definitions
- no callback API (npm/read#40)

It was possible to recreate the callback API using `Promise.then`,
but it's not really worth it in this case.
marmitar added a commit to marmitar/thelounge that referenced this pull request Nov 17, 2025
Important changes (npm/read#77):
- exported as ESM
- includes type definitions
- no callback API (npm/read#40)

It was possible to recreate the callback API using `Promise.then`,
but it's not really worth it in this case.
marmitar added a commit to marmitar/thelounge that referenced this pull request Jan 31, 2026
Important changes (npm/read#77):
- exported as ESM
- includes type definitions
- no callback API (npm/read#40)

It was possible to recreate the callback API using `Promise.then`,
but it's not really worth it in this case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

please avoid writing to stderr during tests

3 participants