repository-provider
Advanced tools
Comparing version 8.2.0 to 8.3.0
@@ -722,17 +722,4 @@ 'use strict'; | ||
/** | ||
* @return {boolean} true if content represents a directory | ||
*/ | ||
get isDirectory() { | ||
return this.type === Entry.TYPE_TREE; | ||
} | ||
/** | ||
* @return {boolean} true if content represents a blob (plain old file) | ||
*/ | ||
get isFile() { | ||
return this.type === Entry.TYPE_BLOB; | ||
} | ||
/** | ||
* | ||
@@ -840,3 +827,26 @@ * @return {string[]} UTI types | ||
/** | ||
* @return {boolean} true if content represents a directory | ||
*/ | ||
get isDirectory() { | ||
console.log( | ||
`${this.constructor.name}: isDirectory is deprecated` | ||
); | ||
return this.type === Entry.TYPE_TREE; | ||
} | ||
/** | ||
* @return {boolean} true if content represents a blob (plain old file) | ||
*/ | ||
get isFile() { | ||
console.log( | ||
`${this.constructor.name}: isFile is deprecated` | ||
); | ||
return this.type === Entry.TYPE_BLOB; | ||
} | ||
/** | ||
* deprecated is name instead | ||
@@ -843,0 +853,0 @@ */ |
{ | ||
"name": "repository-provider", | ||
"version": "8.2.0", | ||
"version": "8.3.0", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76567
2570