New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

buoy-config

Package Overview
Dependencies
Maintainers
9
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buoy-config - npm Package Compare versions

Comparing version 4.0.18 to 4.0.19-alpha.0

dist/images/.DS_Store

5

dist/index.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.getAbsoluteUrl = exports.check_cta_url = exports.getConfig = exports.getBaseUrl = exports.images = exports.navConfig = exports.footerConfig = exports.gdprConfig = undefined;
exports.buildLegal = exports.getAbsoluteUrl = exports.check_cta_url = exports.getConfig = exports.getBaseUrl = exports.images = exports.navConfig = exports.footerConfig = exports.gdprConfig = undefined;

@@ -32,2 +32,3 @@ var _gdpr = require("./configurations/gdpr.json");

exports.check_cta_url = _utils.check_cta_url;
exports.getAbsoluteUrl = _utils.getAbsoluteUrl;
exports.getAbsoluteUrl = _utils.getAbsoluteUrl;
exports.buildLegal = _utils.buildLegal;

@@ -216,2 +216,13 @@ 'use strict';

return link;
};
var buildLegal = function buildLegal(legalItems) {
var legal = [];
for (var i = 0; i < legalItems.length; i++) {
var link = replaceLinkReference(legalItems[i]);
link.href = getAbsoluteUrl(link.href, config.baseUrl);
legal.push(link);
}
return legal;
};
{
"name": "buoy-config",
"version": "4.0.18",
"version": "4.0.19-alpha.0",
"description": "Common configuration files for Buoy clients",

@@ -12,3 +12,4 @@ "main": "dist/index.js",

"fs": "^0.0.1-security"
}
},
"gitHead": "ff6b25c561f851d2ba568ceb5f15f0cffdeee8f2"
}
import gdprConfig from "./configurations/gdpr.json"
import navConfig from "./configurations/nav.json"
import footerConfig from "./configurations/footer.json"
import { images, getBaseUrl, getConfig, check_cta_url, getAbsoluteUrl } from "./utils";
import { images, getBaseUrl, getConfig, check_cta_url, getAbsoluteUrl, buildLegal } from "./utils";

@@ -14,3 +14,4 @@ export {

check_cta_url,
getAbsoluteUrl
getAbsoluteUrl,
buildLegal
}

@@ -187,1 +187,12 @@ import navConfig from "./configurations/nav.json"

}
const buildLegal = (legalItems) => {
let legal = []
for (let i = 0; i < legalItems.length; i++) {
let link = replaceLinkReference(legalItems[i])
link.href = getAbsoluteUrl(link.href, config.baseUrl)
legal.push(link)
}
return legal
}
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