@digigov/postcss-banner 1.1.0-2a507fd6 → 2.0.3

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.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +6 -6
package/index.js CHANGED
@@ -18,14 +18,13 @@ ${banner.replace(/^|\n/g, '$& * ')}
18
18
 
19
19
  // New line after banner
20
20
  if (css.nodes[1]) {
21
- // eslint-disable-next-line no-param-reassign
22
21
  css.nodes[1].raws.before = '\n';
23
22
  }
24
23
  }
25
24
 
26
25
  if ('footer' in opts) {
27
26
  css.append(makeComment(opts.footer));
28
- // eslint-disable-next-line no-param-reassign
27
+
29
28
  css.nodes[css.nodes.length - 1].raws.before = '\n';
30
29
  }
31
30
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/postcss-banner",
3
- "version": "1.1.0-2a507fd6",
3
+ "version": "2.0.3",
4
4
  "description": "PostCSS plugin to add text banner to resulting file",
5
5
  "keywords": [
6
6
  "postcss",
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "chai": "4",
21
- "eslint": "7.24.0",
21
+ "eslint": "9.16.0",
22
22
  "eslint-config-airbnb-base": "14.1.0",
23
- "eslint-plugin-import": "2.20.1",
23
+ "eslint-plugin-import": "2.29.1",
24
24
  "mocha": "5",
25
- "prettier": "2.2.1",
26
- "@digigov/cli-lint": "1.1.0-2a507fd6",
27
- "@digigov/cli": "1.1.0-2a507fd6",
25
+ "prettier": "3.4.2",
26
+ "@digigov/cli-lint": "2.0.3",
27
+ "@digigov/cli": "2.0.3",
28
28
  "publint": "0.1.8"
29
29
  },
30
30
  "dependencies": {