--policy-integrity=sri


稳定性: 1 - 实验性

指示 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.】