rolldown-license-plugin 2.2.0 → 2.2.2

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.
package/README.md CHANGED
@@ -12,8 +12,8 @@ import {licensePlugin} from "rolldown-license-plugin";
12
12
  export default {
13
13
  plugins: [
14
14
  licensePlugin({
15
- done(licenses) {
16
- console.info(licenses);
15
+ done(deps) {
16
+ console.info(deps);
17
17
  // => [{name, version, license, licenseText}]
18
18
  },
19
19
  }),
@@ -77,9 +77,9 @@ type LicenseInfo = {
77
77
  };
78
78
  ```
79
79
 
80
- ### `wrap(length)`
80
+ ### `wrap(text, width)`
81
81
 
82
- Function to word-wrap text to a certain column width.
82
+ Function to word-wrap `text` to a certain column `width`. Returns the wrapped string.
83
83
 
84
84
  ## License
85
85