node-superstruct 2.0.2-1
Package Information
| Description | Composable data validation and coercion for JavaScript values This library defines data structures that describe the expected shape and type of values, and checks input against those definitions. It can validate objects, arrays, tuples, scalars, unions, and nested data, and it can report where validation failed. It also supports coercion and masking, so input values can be converted or reduced to match the declared structure where appropriate. Assertions, boolean checks, and detailed failures are available for code that needs either simple pass or fail results or more specific error information. Superstruct is commonly used to examine data passed between parts of an application, including parsed JSON, configuration data, form input, request payloads, and values returned by APIs or other services. |
|---|---|
| Maintainer | Home Assistant Team <team+homeassistant@tracker.debian.org> |
| Changed By | Edward Betts <edward@4angle.com> |
| Sponsor | edward@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/homeassistant-team/js/node-superstruct.git (browse) |
| Closes | #1131443 |
| Tracker | https://tracker.debian.org/pkg/node-superstruct |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Date | Sat, 21 Mar 2026 13:25:38 +0000 |
| Source | node-superstruct |
| Version | 2.0.2-1 |
| Changed-By | Edward Betts |
| Architecture | all source |
Changelog
node-superstruct (2.0.2-1) unstable; urgency=medium . * Initial release. (Closes: #1131443)
.dsc
| Component | main |
|---|---|
| Package-List | node-superstruct deb javascript optional arch=all |
| Section | javascript |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: superstruct Upstream-Contact: Ian Storm Taylor <ian@ianstormtaylor.com> Source: https://github.com/ianstormtaylor/superstruct Files: * Copyright: 2017, Ian Storm Taylor (https://ianstormtaylor.com) License: Expat Files: debian/* Copyright: 2026 Edward Betts License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.