Socket
Socket
Sign inDemoInstall

adlib

Package Overview
Dependencies
1
Maintainers
11
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.6 to 3.0.7

dist/adlib.esm.js

16

CHANGELOG.md

@@ -5,20 +5,6 @@ # Change Log

## 3.0.6
### Fixed
- ensure an `undefined` param does not prevent further interpolations in the same string
- fix typo in build:release script causing missing esm dist
```js
var settings = { person: { name: 'larry'}};
var tmpl = {
chk: '{{person.name}}<br />{{person.age}}<br />{{person.name}}
};
adlib(tmpl, settings);
// > 'larry<br />{{person.age}}<br />larry
```
## 3.0.5
-- sorry no notes
## 3.0.4

@@ -25,0 +11,0 @@ ### Changed

/**
* adlib - v3.0.6 - Wed Oct 28 2020 11:15:57 GMT-0600 (Mountain Daylight Time)
* adlib - v3.0.6 - Thu Dec 17 2020 17:08:10 GMT-0800 (Pacific Standard Time)
* Copyright (c) 2017-2020 Dave Bouwman / Esri

@@ -4,0 +4,0 @@ * Apache-2.0

/**
* adlib - v3.0.6 - Wed Oct 28 2020 11:15:55 GMT-0600 (Mountain Daylight Time)
* adlib - v3.0.6 - Thu Dec 17 2020 17:08:08 GMT-0800 (Pacific Standard Time)
* Copyright (c) 2017-2020 Dave Bouwman / Esri

@@ -4,0 +4,0 @@ * Apache-2.0

{
"name": "adlib",
"version": "3.0.6",
"version": "3.0.7",
"description": "Templating for deep JSON object graphs",

@@ -17,3 +17,3 @@ "main": "dist/adlib.js",

"build": "rollup -c profiles/dev.js",
"build:release": "rollup -c profiles/umd.js && rollup -c profiles/umd.js && rollup -c profiles/prod.js && rollup -c profiles/dev.js",
"build:release": "yarn run clean && rollup -c profiles/umd.js && rollup -c profiles/esm.js && rollup -c profiles/prod.js && rollup -c profiles/dev.js",
"test": "node test/duct.js",

@@ -20,0 +20,0 @@ "test:compiled": "mocha test/*.spec.js",

@@ -401,6 +401,15 @@ # adlib

Update the CHANGELOG w/ release content and then run these commands:
First, get the latest code and update dependencies.
```
git add CHANGELOG.md
git pull master --tags
yarn
```
Then, make sure the `version` in `package.json` is the same as what's released (you can check against `npm view` if unsure).
Next, update the CHANGELOG w/ release content and then run these commands:
```
git add .
yarn test && yarn run build:release

@@ -407,0 +416,0 @@ npm version -f [ major | minor | patch ]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc