Comparing version 0.9.0 to 0.9.1
# Changelog | ||
## UNRELEASED | ||
- Uses ES6 import/export syntax | ||
## 0.9.1 | ||
- Updates dependencies | ||
## 0.9.0 | ||
- First release |
@@ -70,2 +70,3 @@ 'use strict'; | ||
create: function create(name, source) { | ||
// eslint-disable-next-line no-console | ||
console.warn('deprecated method Kandybars.create(), use Kandybars.registerTemplate() instead'); | ||
@@ -399,2 +400,3 @@ return this.registerTemplate(name, source); | ||
parseHelperArguments: function parseHelperArguments(text, data, options) { | ||
// eslint-disable-next-line no-console | ||
console.warn('deprecated method Kandybars.parseHelperArguments(), use Kandybars.parseBlockArguments() instead'); | ||
@@ -414,2 +416,3 @@ return this.parseBlockArguments(text, data, options); | ||
parseHelperParams: function parseHelperParams(text, data, options) { | ||
// eslint-disable-next-line no-console | ||
console.warn('deprecated method Kandybars.parseHelperParams(), use Kandybars.parseBlockParams() instead'); | ||
@@ -521,2 +524,3 @@ return this.parseBlockParams(text, data, options); | ||
if (this.isHelper(name)) { | ||
// eslint-disable-next-line no-console | ||
console.warn('Helper "' + name + '" has been defined already'); | ||
@@ -872,2 +876,3 @@ } | ||
replaceVars: function replaceVars(source, data, options) { | ||
// eslint-disable-next-line no-console | ||
console.warn('deprecated method Kandybars.replaceVars(), use Kandybars.replaceVariables() instead'); | ||
@@ -874,0 +879,0 @@ return this.replaceVariables(source, data, options); |
{ | ||
"name": "kandybars", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "A template engine for all purposes.", | ||
@@ -27,6 +27,6 @@ "license": "MIT", | ||
"build": "./node_modules/.bin/gulp build", | ||
"build:prod": "./node_modules/.bin/gulp prepublish", | ||
"dev": "./node_modules/.bin/webpack-dev-server --hot --watch", | ||
"package": "./node_modules/.bin/webpack -p", | ||
"prepare": "npm run build:prod && npm test", | ||
"bundle": "npm test && ./node_modules/.bin/webpack -p", | ||
"lint": "./node_modules/.bin/eslint .", | ||
"lint-fix": "./node_modules/.bin/eslint --fix .", | ||
"prepare": "./node_modules/.bin/gulp prepare", | ||
"prepublishOnly": "npm test", | ||
@@ -37,17 +37,17 @@ "test": "./node_modules/.bin/jest", | ||
"dependencies": { | ||
"@jalik/extend": "^1.0.1", | ||
"@jalik/observer": "^1.0.2" | ||
"@jalik/extend": "^1.0.2", | ||
"@jalik/observer": "^1.0.3" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.26.0", | ||
"babel-core": "^6.26.3", | ||
"babel-loader": "^7.1.4", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-env": "^1.7.0", | ||
"del": "^3.0.0", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb": "^16.1.0", | ||
"eslint-plugin-import": "^2.9.0", | ||
"eslint-plugin-jest": "^21.15.0", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-jest": "^21.17.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.3", | ||
"eslint-plugin-react": "^7.7.0", | ||
"eslint-plugin-react": "^7.9.1", | ||
"gulp": "^4.0.0", | ||
@@ -58,6 +58,6 @@ "gulp-babel": "^7.0.1", | ||
"gulp-watch": "^5.0.0", | ||
"jest": "^21.2.1", | ||
"webpack": "^3.11.0", | ||
"webpack-dev-server": "^2.11.2" | ||
"jest": "^23.1.0", | ||
"webpack": "^4.12.0", | ||
"webpack-cli": "^3.0.3" | ||
} | ||
} |
@@ -5,2 +5,4 @@ # Kandybars | ||
**Note: This package is currently under development and may change, please do not use in production.** | ||
## Create a template in HTML | ||
@@ -7,0 +9,0 @@ |
87986
213
10
1436
Updated@jalik/extend@^1.0.2
Updated@jalik/observer@^1.0.3