🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

async-tag

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-tag - npm Package Compare versions

Comparing version

to
0.2.0

2

package.json
{
"name": "async-tag",
"version": "0.1.3",
"version": "0.2.0",
"description": "Resolves template literals tag values before applying a generic tag",

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

# async-tag
[![Build Status](https://travis-ci.com/WebReflection/async-tag.svg?branch=main)](https://travis-ci.com/WebReflection/async-tag) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/async-tag/badge.svg?branch=main)](https://coveralls.io/github/WebReflection/async-tag?branch=main)
<sup>**Social Media Photo by [Tobias Rademacher](https://unsplash.com/@tobbes_rd) on [Unsplash](https://unsplash.com/)**</sup>
Resolves template literals tag values before applying a generic tag.

@@ -29,1 +33,13 @@

```
### Compatibility
This [module source code](./esm/index.js) is written in a way that guarantees there won't be any code bloat once transpiled, without necessarily providing worse performance than native ES6+.
Both [index.js](./index.js) and [min.js](./min.js) target any client/server JavaScript engine, assuming there is support, or there is a polyfill, for:
* `Array.isArray(any)` to work with nested interpolations
* `Promise.all(array)` to resolve all interpolations
* `Function.prototype.bind` to be sure both context and template are expected
Please note this module is pretty much done so, if there are not many updates in the long term, it's because it's 100% code covered and, for what it does, it won't likely need any change in the future.