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

graphql-config

Package Overview
Dependencies
Maintainers
4
Versions
320
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-config - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

docs/README.md

16

lib/__tests__/endpoint-extension/string-refs.js

@@ -98,1 +98,17 @@ "use strict";

}); });
ava_1.default('getUsedEnvs', function (t) { return __awaiter(_this, void 0, void 0, function () {
var configData, envs;
return __generator(this, function (_a) {
configData = {
schemaPath: '../schema.json',
extensions: {
endpoints: {
dev: 'http://127.0.0.1:${env:EXTENSION_TEST_PORT}',
},
},
};
envs = _1.getUsedEnvs(configData);
t.is(Object.keys(envs)[0], 'EXTENSION_TEST_PORT');
return [2 /*return*/];
});
}); });

1

lib/extensions/endpoints/index.d.ts
export * from './EndpointsExtension';
export * from './resolveRefString';

@@ -7,1 +7,2 @@ "use strict";

__export(require("./EndpointsExtension"));
__export(require("./resolveRefString"));

6

lib/extensions/endpoints/resolveRefString.js

@@ -40,4 +40,4 @@ "use strict";

else if (typeof val === 'object') {
for (var key in config) {
traverse(config[key]);
for (var key in val) {
traverse(val[key]);
}

@@ -62,3 +62,3 @@ }

}
var refValue = values.env && values.env[ref] || process.env[ref];
var refValue = (values.env && values.env[ref]) || process.env[ref];
if (!refValue) {

@@ -65,0 +65,0 @@ if (throwIfUndef) {

{
"name": "graphql-config",
"version": "1.0.8",
"version": "1.0.9",
"description": "The easiest way to configure your development environment with your GraphQL schema (supported by most tools, editors & IDEs)",

@@ -5,0 +5,0 @@ "main": "lib/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