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

read-context-settings

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-context-settings - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

readme.md

4

index.js

@@ -25,5 +25,7 @@ //Get content of meta tag via name

//Try both API (PL) and meta tags (Phase 1) to get context setting
export const getContextSetting = (name) => {
const getContextSetting = (name) => {
let plContext = readAPIContextSettings();
return plContext ? plContext["meta.data.name"][name] : getMetaContent(name);
};
export default getContextSetting;
{
"name": "read-context-settings",
"version": "1.0.0",
"version": "1.0.1",
"description": "A tool for reading context settings from the various Core article types",

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