New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pug-contracts-trusted-types

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pug-contracts-trusted-types - npm Package Compare versions

Comparing version 1.0.5-alpha to 1.0.6-alpha

9

index.js

@@ -114,3 +114,2 @@ // **** GENERATED CODE, DO NOT MODIFY ****

var valueCache = null; // Cache calls to getValue
var requiredValueNotFound = false;
for (var i = 0, n = attrInfoArray.length; i < n; ++i) {

@@ -130,12 +129,4 @@ var attrInfo = attrInfoArray[i];

return attrInfo.contract;
} else if (actualValue == null /* intentionally match undefined */) {
requiredValueNotFound = true;
}
}
// Do not fall back to global attributes if there are contingent
// attributes defined for which we could not find a value that
// definitely ruled out a match.
if (requiredValueNotFound) {
return null;
}
}

@@ -142,0 +133,0 @@ }

2

package.json
{
"name": "pug-contracts-trusted-types",
"version": "1.0.5-alpha",
"version": "1.0.6-alpha",
"description": "Security-relevant metadata about HTML elements and attributes",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc