% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dt2_check_updates.R
\name{.dt2_version_constraints}
\alias{.dt2_version_constraints}
\title{Version constraints for safe updates}
\usage{
.dt2_version_constraints()
}
\value{
Named character vector. Name = library name, value = version prefix.
Only libraries with constraints are included (NA = no constraint).
}
\description{
Defines the allowed version prefix for each library. Updates are only
applied within this prefix. For example, jQuery is constrained to
\code{"3."} so it will never auto-upgrade to 4.x.
}
\details{
Rationale for each constraint:
\describe{
\item{jQuery \code{"3."}}{DataTables 2.x requires jQuery 3.}
\item{PDFMake \code{"0.2."}}{0.3.x has breaking changes and is not
available on cdnjs.}
\item{Bootstrap \code{"5."}}{DataTables BS5 styling requires Bootstrap 5.}
\item{Moment \code{"2."}}{Major version pin for stability.}
\item{JSZip \code{"3."}}{Major version pin for stability.}
}

DataTables extensions do NOT have explicit constraints because their
major version tracks DataTables core compatibility (managed by the
DataTables project itself).
}
\keyword{internal}
