Skip to content

Commit 0cf0c3c

Browse files
committed
[Release] 0.35.1
1 parent e6f8399 commit 0cf0c3c

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

dist/vuex-orm.common.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,6 +2154,10 @@ var Model = /** @class */ (function () {
21542154
* @deprecated Use `uid` attribute instead.
21552155
*/
21562156
Model.increment = function () {
2157+
/* istanbul ignore next */
2158+
if (process.env.NODE_ENV !== 'production') {
2159+
console.warn('[Vuex ORM] Attribute type `increment` has been deprecated and replaced with `uid`.');
2160+
}
21572161
return this.uid();
21582162
};
21592163
/**

dist/vuex-orm.esm.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,6 +2152,10 @@ var Model = /** @class */ (function () {
21522152
* @deprecated Use `uid` attribute instead.
21532153
*/
21542154
Model.increment = function () {
2155+
/* istanbul ignore next */
2156+
if (process.env.NODE_ENV !== 'production') {
2157+
console.warn('[Vuex ORM] Attribute type `increment` has been deprecated and replaced with `uid`.');
2158+
}
21552159
return this.uid();
21562160
};
21572161
/**

dist/vuex-orm.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,6 +2158,10 @@
21582158
* @deprecated Use `uid` attribute instead.
21592159
*/
21602160
Model.increment = function () {
2161+
/* istanbul ignore next */
2162+
if (process.env.NODE_ENV !== 'production') {
2163+
console.warn('[Vuex ORM] Attribute type `increment` has been deprecated and replaced with `uid`.');
2164+
}
21612165
return this.uid();
21622166
};
21632167
/**

dist/vuex-orm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuex-orm/core",
3-
"version": "0.35.0",
3+
"version": "0.35.1",
44
"description": "The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.",
55
"main": "dist/vuex-orm.common.js",
66
"module": "dist/vuex-orm.esm.js",

0 commit comments

Comments
 (0)