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

remixml

Package Overview
Dependencies
Maintainers
1
Versions
346
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remixml - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

2

package.json
{
"name": "remixml",
"version": "1.0.12",
"version": "1.0.13",
"description": "XML/HTML-like macro language/template engine",

@@ -5,0 +5,0 @@ "browser": "remixml.js",

@@ -56,16 +56,26 @@ <h1>Remixml</h1>

- scope: References the primary level in the variables object (the second
- scope:<br />
References the primary level in the variables object (the second
argument to parse()).
- variablename: References second and deeper levels in the variables
- variablename:<br />
References second and deeper levels in the variables
object (can contain multiple dots to designate deeper levels, is used
to access both objects and arrays).
- encoding (optional):
- encoding (optional):<br />
Specifies the encoding to be used when substituting the variable.
The encodings available are:
- html (default, encodes using HTML entities).
- uric (URI component, encodes URI arguments in an URL).
- none (no encoding, as is, can be abbreviated as :;).
- formatting (optional):
sprintf()-like formatting specification.
Supported formats: %c, %d, %e, %f, %g, %s, %x.
- html<br/ >
Default, encodes using
[HTML entities](https://dev.w3.org/html5/html-author/charref).
- uric<br/ >
URI component, encodes URI arguments in an URL.
- json<br/ >
Encodes as a [JSON](https://www.json.org/) string.
- none<br/ >
No encoding, as is, can be abbreviated as ":;".
- formatting (optional):<br />
[printf()-like formatting
specification](https://en.wikipedia.org/wiki/Printf_format_string)
.<br />
Supported formats: %c, %d, %e, %f, %g, %s, %x.<br />
If the formatting string equals a three-letter currency (all capitals),

@@ -123,3 +133,3 @@ the value will be formatted like a currency (including currency symbol)

- $.sys.lang
- $.sys.lang<br />
If set, it overrides the default locale of the browser environment

@@ -126,0 +136,0 @@ (currently only used during currency formatting).

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