Comparing version 3.4.0 to 3.5.0
Change Log | ||
========== | ||
### 3.5.0 | ||
- add some deprecation warnings for pre-4.0.0 changes | ||
### 3.4.0 | ||
@@ -4,0 +7,0 @@ - clearCache now supports type inference |
@@ -470,2 +470,3 @@ 'use strict'; | ||
if (isObject(name)) { | ||
console.warn('jpex: $options style has been deprecated and will be removed in v4.0.0'); | ||
var _key = Object.keys(name)[0]; | ||
@@ -484,2 +485,3 @@ return resolveOne(jpex, _key, name[_key], namedParameters, stack); | ||
if (optionalCheck) { | ||
console.warn('jpex: __ optional syntax has been deprecated and will be removed in v4.0.0'); | ||
name = optionalCheck; | ||
@@ -500,2 +502,3 @@ optional = true; | ||
case "type:jpex/Options": | ||
console.warn('jpex: $options style has been deprecated and will be removed in v4.0.0'); | ||
return localOptions; | ||
@@ -575,2 +578,3 @@ | ||
if (isObject(dependency)) { | ||
console.warn('jpex: $options style has been deprecated and will be removed in v4.0.0'); | ||
var keys = Object.keys(dependency); | ||
@@ -577,0 +581,0 @@ |
@@ -466,2 +466,3 @@ function _defineProperty(obj, key, value) { | ||
if (isObject(name)) { | ||
console.warn('jpex: $options style has been deprecated and will be removed in v4.0.0'); | ||
var _key = Object.keys(name)[0]; | ||
@@ -480,2 +481,3 @@ return resolveOne(jpex, _key, name[_key], namedParameters, stack); | ||
if (optionalCheck) { | ||
console.warn('jpex: __ optional syntax has been deprecated and will be removed in v4.0.0'); | ||
name = optionalCheck; | ||
@@ -496,2 +498,3 @@ optional = true; | ||
case "type:jpex/Options": | ||
console.warn('jpex: $options style has been deprecated and will be removed in v4.0.0'); | ||
return localOptions; | ||
@@ -571,2 +574,3 @@ | ||
if (isObject(dependency)) { | ||
console.warn('jpex: $options style has been deprecated and will be removed in v4.0.0'); | ||
var keys = Object.keys(dependency); | ||
@@ -573,0 +577,0 @@ |
{ | ||
"name": "jpex", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "Javascript Prototype Extension", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/jpex.js", |
82183
1904