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

@dotdev/headless-core-node

Package Overview
Dependencies
Maintainers
17
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotdev/headless-core-node - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

5

dist/gatsby/index.js

@@ -54,4 +54,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

finalRedirects.map(item => createRedirect({ fromPath: item.source, toPath: item.destination, statusCode: item.type }));
const newConfig = Object.assign(Object.assign({}, firebase.hosting.filter(site => site.public.includes("app/public"))[0]), { redirects: finalRedirects });
yield jsonfile.writeFileSync(file, Object.assign(Object.assign({}, firebase), { hosting: [...firebase.hosting.filter(site => !site.public.includes("app/public")), newConfig] }), { spaces: 2 });
const newConfig = Array.isArray(firebase.hosting)
? Object.assign(Object.assign({}, firebase.hosting.filter(site => site.public.includes("app/public"))[0]), { redirects: finalRedirects }) : Object.assign(Object.assign({}, firebase.hosting), { redirects: finalRedirects });
yield jsonfile.writeFileSync(file, Object.assign(Object.assign({}, firebase), { hosting: Array.isArray(firebase.hosting) ? [...firebase.hosting.filter(site => !site.public.includes("app/public")), newConfig] : newConfig }), { spaces: 2 });
if (gatsbyFile)

@@ -58,0 +59,0 @@ yield jsonfile.writeFileSync(gatsbyFile, {

2

package.json
{
"name": "@dotdev/headless-core-node",
"description": "Node package for Headless Core",
"version": "1.1.2",
"version": "1.1.3",
"author": "DotDev <info@dotdev.com.au>",

@@ -6,0 +6,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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