Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some bugs, close #41 #42

Closed
wants to merge 1 commit into from
Closed

fix some bugs, close #41 #42

wants to merge 1 commit into from

Conversation

idranme
Copy link

@idranme idranme commented Nov 22, 2022

Fixes #41

Other:
feat: add dts
chore: upgrade dep

@idranme
Copy link
Author

idranme commented Nov 22, 2022

@ljharb PTAL

@codecov
Copy link

codecov bot commented Nov 22, 2022

Codecov Report

Base: 95.02% // Head: 90.80% // Decreases project coverage by -4.22% ⚠️

Coverage data is based on head (ae094d9) compared to base (66a19b3).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
- Coverage   95.02%   90.80%   -4.23%     
==========================================
  Files           2        2              
  Lines         342      337       -5     
  Branches      147      145       -2     
==========================================
- Hits          325      306      -19     
- Misses         17       31      +14     
Impacted Files Coverage Δ
index.js 90.77% <100.00%> (-4.25%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@idranme idranme changed the title fix some bugs fix some bugs, close #41 Nov 22, 2022
@@ -0,0 +1,9 @@
interface opts {
quoteStyle?: 'single' | 'double'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Types don’t belong in the package; they should only be in DefinitelyTyped.

@@ -65,10 +65,6 @@ function addNumericSeparator(num, str) {
return $replace.call(str, sepRegex, '$&_');
}

var utilInspect = require('./util.inspect');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect; the util module is always present, and the browser field handles that for working bundlers.

@@ -3,14 +3,15 @@
"version": "1.12.2",
"description": "string representations of objects in node and the browser",
"main": "index.js",
"typings": "index.d.ts",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this.

@idranme
Copy link
Author

idranme commented Nov 23, 2022

Thanks for the review. I agree with your thoughts. This PR should be closed.

@idranme idranme closed this Nov 23, 2022
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.

bug: esbuild prompt "Could not resolve 'util'"
3 participants