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

riot-tmpl

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

riot-tmpl - npm Package Compare versions

Comparing version 2.3.14 to 2.3.15

CHANGELOG.md

6

dist/es6.tmpl.js
/**
* The riot template engine
* @version v2.3.14
* @version v2.3.15
*/

@@ -21,3 +21,3 @@

MLCOMMS = /\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g,
STRINGS = /"[^"\\]*(?:\\[^][^"\\]*)*"|'[^'\\]*(?:\\[^][^'\\]*)*'/g,
STRINGS = /"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'/g,

@@ -67,3 +67,3 @@ S_QBSRC = STRINGS.source + '|' +

_pairs[4] = _regex(_pairs[1].length > 1 ? /{[^]*?}/ : /{[^}]*}/)
_pairs[4] = _regex(_pairs[1].length > 1 ? /{[\S\s]*?}/ : /{[^}]*}/)
_pairs[5] = _regex(/\\({|})/g)

@@ -70,0 +70,0 @@ _pairs[6] = _regex(/(\\?)({)/g)

/**
* The riot template engine
* @version v2.3.14
* @version v2.3.15
*/

@@ -21,3 +21,3 @@

MLCOMMS = /\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g,
STRINGS = /"[^"\\]*(?:\\[^][^"\\]*)*"|'[^'\\]*(?:\\[^][^'\\]*)*'/g,
STRINGS = /"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'/g,

@@ -67,3 +67,3 @@ S_QBSRC = STRINGS.source + '|' +

_pairs[4] = _regex(_pairs[1].length > 1 ? /{[^]*?}/ : /{[^}]*}/)
_pairs[4] = _regex(_pairs[1].length > 1 ? /{[\S\s]*?}/ : /{[^}]*}/)
_pairs[5] = _regex(/\\({|})/g)

@@ -70,0 +70,0 @@ _pairs[6] = _regex(/(\\?)({)/g)

@@ -1,2 +0,2 @@

/* riot-tmpl v2.3.14, @license MIT, (c) 2015 Muut Inc. + contributors */
/* riot-tmpl v2.3.15, @license MIT, (c) 2015 Muut Inc. + contributors */
;(function (window) {

@@ -19,3 +19,3 @@ 'use strict' // eslint-disable-line

MLCOMMS = /\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g,
STRINGS = /"[^"\\]*(?:\\[^][^"\\]*)*"|'[^'\\]*(?:\\[^][^'\\]*)*'/g,
STRINGS = /"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'/g,

@@ -65,3 +65,3 @@ S_QBSRC = STRINGS.source + '|' +

_pairs[4] = _regex(_pairs[1].length > 1 ? /{[^]*?}/ : /{[^}]*}/)
_pairs[4] = _regex(_pairs[1].length > 1 ? /{[\S\s]*?}/ : /{[^}]*}/)
_pairs[5] = _regex(/\\({|})/g)

@@ -68,0 +68,0 @@ _pairs[6] = _regex(/(\\?)({)/g)

@@ -36,3 +36,3 @@ /**

MLCOMMS = /\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g,
STRINGS = /"[^"\\]*(?:\\[^][^"\\]*)*"|'[^'\\]*(?:\\[^][^'\\]*)*'/g,
STRINGS = /"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'/g,

@@ -113,3 +113,3 @@ // `S_QBSRC` - `STRINGS` combined with regex sources matching division operators

//_pairs[$_RIX_TEST] = _regex(_pairs[1].length > 1 ? /(?:^|[^\\]){[\S\s]*?}/ : /(?:^|[^\\]){[^}]*}/)
_pairs[$_RIX_TEST] = _regex(_pairs[1].length > 1 ? /{[^]*?}/ : /{[^}]*}/)
_pairs[$_RIX_TEST] = _regex(_pairs[1].length > 1 ? /{[\S\s]*?}/ : /{[^}]*}/)
_pairs[$_RIX_ESC] = _regex(/\\({|})/g)

@@ -116,0 +116,0 @@ _pairs[$_RIX_OPEN] = _regex(/(\\?)({)/g) // for _split()

{
"name": "riot-tmpl",
"version": "2.3.14",
"version": "2.3.15",
"description": "The riot template engine",

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