webpack 4.36.0 → 4.39.0

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.
@@ -166,7 +166,7 @@
166
166
  },
167
167
  {
168
168
  "instanceof": "Function",
169
- "tsType": "Function"
169
+ "tsType": "((value: string) => boolean)"
170
170
  }
171
171
  ]
172
172
  },
@@ -1822,6 +1822,35 @@
1822
1822
  "description": "add the hash of the compilation",
1823
1823
  "type": "boolean"
1824
1824
  },
1825
+ "logging": {
1826
+ "description": "add logging output",
1827
+ "anyOf": [
1828
+ {
1829
+ "description": "enable/disable logging output (true: shows normal logging output, loglevel: log)",
1830
+ "type": "boolean"
1831
+ },
1832
+ {
1833
+ "description": "specify log level of logging output",
1834
+ "enum": ["none", "error", "warn", "info", "log", "verbose"]
1835
+ }
1836
+ ]
1837
+ },
1838
+ "loggingDebug": {
1839
+ "description": "Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions",
1840
+ "anyOf": [
1841
+ {
1842
+ "$ref": "#/definitions/FilterTypes"
1843
+ },
1844
+ {
1845
+ "description": "Enable/Disable debug logging for all loggers",
1846
+ "type": "boolean"
1847
+ }
1848
+ ]
1849
+ },
1850
+ "loggingTrace": {
1851
+ "description": "add stack traces to logging output",
1852
+ "type": "boolean"
1853
+ },
1825
1854
  "maxModules": {
1826
1855
  "description": "Set the maximum number of modules to be shown",
1827
1856
  "type": "number"
@@ -1996,6 +2025,29 @@
1996
2025
  }
1997
2026
  ]
1998
2027
  },
2028
+ "infrastructureLogging": {
2029
+ "description": "Options for infrastructure level logging",
2030
+ "type": "object",
2031
+ "additionalProperties": false,
2032
+ "properties": {
2033
+ "debug": {
2034
+ "description": "Enable debug logging for specific loggers",
2035
+ "anyOf": [
2036
+ {
2037
+ "$ref": "#/definitions/FilterTypes"
2038
+ },
2039
+ {
2040
+ "description": "Enable/Disable debug logging for all loggers",
2041
+ "type": "boolean"
2042
+ }
2043
+ ]
2044
+ },
2045
+ "level": {
2046
+ "description": "Log level",
2047
+ "enum": ["none", "error", "warn", "info", "log", "verbose"]
2048
+ }
2049
+ }
2050
+ },
1999
2051
  "loader": {
2000
2052
  "description": "Custom values available in the loader context.",
2001
2053
  "type": "object"