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

tag2content

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tag2content - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "tag2content",
"version": "1.0.0",
"version": "1.0.1",
"description": "Replace a tag with content in a configurable way",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -60,3 +60,3 @@ # tag2content

```js
const text = 'I would like to go to [country name="England"] next year, with my friend [friend-name name="Lucy" to-uppercase="true"].';
const text = 'I go to [country name="England"] next year, with [friend name="Lucy" to-uppercase="true"].';
```

@@ -71,3 +71,3 @@

},
'friend-name': ({ name, toUppercase }) => {
friend: ({ name, toUppercase }) => {
return toUppercase ? name.toUpperCase() : name;

@@ -74,0 +74,0 @@ }

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