Socket
Socket
Sign inDemoInstall

remark-custom-blocks

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-custom-blocks - npm Package Compare versions

Comparing version 2.3.3 to 2.4.0

2

dist/index.js

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

function escapeRegExp(str) {
return str.replace(/[-[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
return str.replace(new RegExp("[-[\\]{}()*+?.\\\\^$|/]", 'g'), '\\$&');
}

@@ -25,0 +25,0 @@

{
"name": "remark-custom-blocks",
"version": "2.3.3",
"version": "2.4.0",
"repository": {

@@ -37,3 +37,3 @@ "url": "https://github.com/zestedesavoir/zmarkdown/tree/master/packages/remark-custom-blocks",

},
"gitHead": "7b61723ac4ca1900270d56c7787c08b6887fcb4c"
"gitHead": "075b56a4c98b4500daa6a6ca0816af54b0e4a594"
}
const spaceSeparated = require('space-separated-tokens')
function escapeRegExp (str) {
return str.replace(/[-[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&')
return str.replace(new RegExp(`[-[\\]{}()*+?.\\\\^$|/]`, 'g'), '\\$&')
}

@@ -6,0 +6,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