-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Allow filters to read non-text include files #3213
Merged
Merged
Commits on May 2, 2020
-
feat: add options.skipEncoding() to pug-load.read()
This allows Pug to correctly read non-utf8 files, if the user wants to do such a thing. The optional function takes the same arguments as load.read(), and should return a truthy/falsey value. If truthy, load.read() will NOT specify an encoding when it reads the file from disk. Otherwise, it will continue to specify "utf-8" as the encoding.
Configuration menu - View commit details
-
Copy full SHA for 2062747 - Browse repository at this point
Copy the full SHA 2062747View commit details
Commits on May 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for df0a1e1 - Browse repository at this point
Copy the full SHA df0a1e1View commit details -
Keep a copy of each loaded file as the raw Buffer
This lives next to the existing `file.str` property.
Configuration menu - View commit details
-
Copy full SHA for f8bd002 - Browse repository at this point
Copy the full SHA f8bd002View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea501e - Browse repository at this point
Copy the full SHA 8ea501eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d99012 - Browse repository at this point
Copy the full SHA 6d99012View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1db19d2 - Browse repository at this point
Copy the full SHA 1db19d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c303124 - Browse repository at this point
Copy the full SHA c303124View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34e172e - Browse repository at this point
Copy the full SHA 34e172eView commit details -
Serialize "Buffer" types for better readability in jest snapshots
These render as objects with `type: "Buffer"`, along with the `size` and `hash` of the data in the buffer.
Configuration menu - View commit details
-
Copy full SHA for 425f44a - Browse repository at this point
Copy the full SHA 425f44aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 017711c - Browse repository at this point
Copy the full SHA 017711cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.