fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
246 stars 247 forks source link

Angular 14 : DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. #453

Open anhtata opened 2 years ago

anhtata commented 2 years ago

Versions ngx-daterangepicker-material v 5.0.2

Describe the bug

Warning: Entry point 'ngx-daterangepicker-material' contains deep imports into 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localeData', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localizedFormat', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/isoWeek', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/weekOfYear', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/customParseFormat'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

Processing legacy "View Engine" libraries: (node:21196) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead

(Use node --trace-deprecation ... to show where the warning was created)

Encourage the library authors to publish an Ivy distribution.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade Angular 14
  2. Npm Build
  3. See warnings Warning: Entry point 'ngx-daterangepicker-material' contains deep imports into 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localeData', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localizedFormat', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/isoWeek', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/weekOfYear', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/customParseFormat'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Warning: Entry point 'ngx-daterangepicker-material' contains deep imports into 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localeData', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localizedFormat', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/isoWeek', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/weekOfYear', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/customParseFormat'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Processing legacy "View Engine" libraries: (node:21196) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead (Use node --trace-deprecation ... to show where the warning was created)
Rapiiidooo commented 1 year ago

Solved in >= 6.0.2