Socket
Socket
Sign inDemoInstall

groq

Package Overview
Dependencies
Maintainers
1
Versions
881
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

groq - npm Package Compare versions

Comparing version 0.138.0-realtime-block-editor.25 to 0.138.0

6

lib/groq.js
"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];
};

4

package.json
{
"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"
}
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