Comparing version 0.138.0-realtime-block-editor.25 to 0.138.0
"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]; | ||
} | ||
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.138.0-realtime-block-editor.25+5e3be4498", | ||
"version": "0.138.0", | ||
"description": "Tagged template literal for Sanity.io GROQ-queries", | ||
@@ -38,3 +38,3 @@ "main": "lib/groq.js", | ||
"homepage": "https://www.sanity.io/", | ||
"gitHead": "5e3be4498c4e5023fe5a5c6e7b844e9b90e2424e" | ||
"gitHead": "6db7437f631c8052871b97317ae885e9b981dc47" | ||
} |
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
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
3990
24