Comments (5)
Do you mean tests that call fs.writeFile
and make sure there is no error? That sounds like a good idea.
from node-sanitize-filename.
Yup!
On Feb 26, 2015 1:30 PM, "Parsha Pourkhomami" [email protected]
wrote:
Do you mean tests that call fs.writeFile and make sure there is no error?
That sounds like a good idea.—
Reply to this email directly or view it on GitHub
#7 (comment)
.
from node-sanitize-filename.
Ok. I will try to get this in or will gladly accept a patch.
from node-sanitize-filename.
Added in 2bc7917 and published in 1.1.4. Thanks for the idea!
from node-sanitize-filename.
If you have any more test cases in mind other than the file names that are currently there, I'd be happy to add them.
from node-sanitize-filename.
Related Issues (20)
- Allow targetting specific file systems HOT 14
- Verify that the replacement itself is valid? HOT 4
- ./ at the beginning of a file name produces a hidden file HOT 2
- Replace characters with similar HOT 7
- Empty filename default HOT 2
- Add vendor to .npmignore HOT 3
- Browser Usage? HOT 5
- option to sanitize within BMP (Basic Multilingual Plane) HOT 1
- please put comma character also for sanitization. HOT 1
- Strict mode to throw on error? HOT 2
- typescript typings... HOT 2
- If last path name is number, sanitize make error. HOT 1
- Not deleting dots HOT 1
- Electron Buffer issue
- Configure additional invalid characters HOT 2
- Add an option to specify an extension HOT 1
- ES6 import/export syntax to use module HOT 2
- [unsure] Adjust how sanitize is made available for Typescript? HOT 2
- Should \u202f get sanitized? HOT 2
- Analysis: 100% of dependency updates in this repository can be merged.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-sanitize-filename.