Comparing version 0.144.3-cheesy-bites.80 to 0.144.3-cheesy-bites.84
"use strict"; | ||
/* eslint-disable import/no-commonjs */ | ||
module.exports = function groq(strings) { | ||
for (var _len = arguments.length, keys = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | ||
keys[_key - 1] = arguments[_key]; | ||
} | ||
var lastIndex = strings.length - 1; | ||
module.exports = function groq(strings, ...keys) { | ||
const lastIndex = strings.length - 1; | ||
return strings.slice(0, lastIndex).reduce((acc, str, i) => acc + str + keys[i], '') + strings[lastIndex]; | ||
}; |
{ | ||
"name": "groq", | ||
"version": "0.144.3-cheesy-bites.80+95e61fc4e", | ||
"version": "0.144.3-cheesy-bites.84+931d12759", | ||
"description": "Tagged template literal for Sanity.io GROQ-queries", | ||
@@ -38,3 +38,3 @@ "main": "lib/groq.js", | ||
"homepage": "https://www.sanity.io/", | ||
"gitHead": "95e61fc4ef3f9e84629724819910ef27e69599bd" | ||
"gitHead": "931d1275935d00882a7cf928d5cc70b6a8baaeae" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
4016
24
2