Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/graphql-tag-pluck

Package Overview
Dependencies
Maintainers
3
Versions
1124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/graphql-tag-pluck - npm Package Compare versions

Comparing version 8.0.0-rc-20230519104353-b09f3180 to 8.0.0-rc-20230519104627-f6fea064

6

cjs/utils.js

@@ -27,4 +27,3 @@ "use strict";

.reduce((minIndent, line) => {
var _a;
const currIndent = (_a = line.match(/^ */)) === null || _a === void 0 ? void 0 : _a[0].length;
const currIndent = line.match(/^ */)?.[0].length;
if (currIndent == null) {

@@ -54,5 +53,4 @@ return minIndent;

const toCamelCase = (str) => {
var _a, _b;
const words = (0, exports.splitWords)(str);
const first = (_b = (_a = words.shift()) === null || _a === void 0 ? void 0 : _a.toLowerCase()) !== null && _b !== void 0 ? _b : '';
const first = words.shift()?.toLowerCase() ?? '';
const rest = words.map(exports.toUpperFirst);

@@ -59,0 +57,0 @@ return [first, ...rest].join('');

@@ -24,4 +24,3 @@ // Will use the shortest indention as an axis

.reduce((minIndent, line) => {
var _a;
const currIndent = (_a = line.match(/^ */)) === null || _a === void 0 ? void 0 : _a[0].length;
const currIndent = line.match(/^ */)?.[0].length;
if (currIndent == null) {

@@ -48,7 +47,6 @@ return minIndent;

export const toCamelCase = (str) => {
var _a, _b;
const words = splitWords(str);
const first = (_b = (_a = words.shift()) === null || _a === void 0 ? void 0 : _a.toLowerCase()) !== null && _b !== void 0 ? _b : '';
const first = words.shift()?.toLowerCase() ?? '';
const rest = words.map(toUpperFirst);
return [first, ...rest].join('');
};
{
"name": "@graphql-tools/graphql-tag-pluck",
"version": "8.0.0-rc-20230519104353-b09f3180",
"version": "8.0.0-rc-20230519104627-f6fea064",
"description": "Pluck graphql-tag template literals",

@@ -14,3 +14,3 @@ "sideEffects": false,

"@babel/plugin-syntax-import-assertions": "^7.20.0",
"@graphql-tools/utils": "10.0.0-rc-20230519104353-b09f3180",
"@graphql-tools/utils": "10.0.0-rc-20230519104627-f6fea064",
"tslib": "^2.4.0"

@@ -17,0 +17,0 @@ },

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