--policy-integrity=sri


稳定性: 1 - 实验性的

¥Stability: 1 - Experimental

如果策略不具有指定的完整性,则指示 Node.js 在运行任何代码之前出错。它需要一个 子资源完整性 字符串作为参数。

¥Instructs Node.js to error prior to running any code if the policy does not have the specified integrity. It expects a Subresource Integrity string as a parameter.