@navikt/aksel 6.10.0 → 6.11.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.
@@ -22,7 +22,9 @@ function transformer(file, api) {
22
22
  const name = (0, translate_token_1.translateToken)(token[0], "js");
23
23
  const out = (0, translate_token_1.translateToken)(token[1], "js");
24
24
  let foundName = "";
25
- (0, imports_1.getImportSpecifier)(j, root, name, "@navikt/ds-tokens/dist/tokens").forEach((x) => (foundName = x.node.imported.name));
25
+ (0, imports_1.getImportSpecifier)(j, root, name, "@navikt/ds-tokens/dist/tokens").forEach((x) => {
26
+ foundName = x.node.imported.name;
27
+ });
26
28
  if (name === foundName) {
27
29
  const localName = (0, imports_1.getImportSpecifierName)(j, root, name, "@navikt/ds-tokens/dist/tokens") || name;
28
30
  (0, imports_1.renameImportSpecifier)(j, root, name, out, "@navikt/ds-tokens/dist/tokens");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/aksel",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "description": "Aksel command line interface. Handles css-imports, codemods and more",
5
5
  "author": "Aksel | NAV designsystem team",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "homepage": "https://aksel.nav.no/grunnleggende/kode/kommandolinje",
31
31
  "dependencies": {
32
- "@navikt/ds-css": "6.10.0",
32
+ "@navikt/ds-css": "6.11.0",
33
33
  "axios": "1.6.0",
34
34
  "chalk": "4.1.0",
35
35
  "clipboardy": "^2.3.0",