UNPKG

node-red-contrib-open-food-facts

Version:

A Node-RED node that provides easy integration with the Open Food Facts API. Search for products, retrieve product information, add products, and manage product images.

29 lines (22 loc) 926 B
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.3.0] - 2025-06-01 ### Security - Implemented authentication for write operations (addProduct, uploadPhoto) - Added comprehensive input validation and sanitization - Upgraded XSS protection to use he.js library - Enforced HTTPS for authenticated requests - Added magic byte validation for uploaded images ### Added - Comprehensive Node-RED node test suite - Security policy (SECURITY.md) - Development guidelines (CLAUDE.md) - Automated PR review workflow - Dependabot configuration ### Fixed - Inconsistent error handling across nodes - Missing authentication despite credential collection (Issue #2) ### Dependencies - Added he.js for robust HTML entity encoding