Socket
Socket
Sign inDemoInstall

@forestryio/gql

Package Overview
Dependencies
377
Maintainers
15
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

7

dist/index.js

@@ -71,5 +71,6 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

this.getDocumentsForCollection = async (sectionSlug) => {
const templates = await this.getTemplatesForCollection(sectionSlug);
const pages = templates.map((template) => template.pages || []);
return _lodash2.default.flatten(pages);
const section = await this.getCollection(sectionSlug);
const fullPath = _path2.default.join(this.rootPath, section.path);
const documents = await this.readDir(fullPath, this.dirLoader);
return documents.map((relativePath) => _path2.default.join(section.path, relativePath));
};

@@ -76,0 +77,0 @@ this.getAllTemplates = async () => {

{
"name": "@forestryio/gql",
"version": "0.1.3",
"version": "0.1.4",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc