Middleware: The middleware function now has a name, making it easier to debug and identify in middleware stacks.
Improvements
Documentation: The README has been updated to provide clearer examples and explanations, helping users understand how to use the CORS middleware effectively.
Fixes
Fix the handling of the Access-Control-Max-Age header to ensure it is correctly referenced in the code, improving compliance with CORS specifications.
Fix strict mode compatibility for Node.js versions past 0.10, ensuring that the middleware functions correctly without errors when non-object values are passed.
Others
Link the build badge to the master branch and change it to SVG format for better visibility.