nhanh-pure-function 1.3.16 → 1.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -667,8 +667,8 @@ export class _FileTypeChecker {
667
667
 
668
668
  // 判断文件类型
669
669
  static check(url, type) {
670
- const extensions = FileTypeChecker.fileExtensions[type];
671
- return FileTypeChecker._checkExtension(url, extensions);
670
+ const extensions = _FileTypeChecker.fileExtensions[type];
671
+ return _FileTypeChecker._checkExtension(url, extensions);
672
672
  }
673
673
 
674
674
  // 通用的检查扩展名的函数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nhanh-pure-function",
3
- "version": "1.3.16",
3
+ "version": "1.3.17",
4
4
  "description": "纯函数工具",
5
5
  "main": "lib/Index.js",
6
6
  "scripts": {