@nx/workspace 18.2.0-canary.20240322-61cb63d → 18.2.0-canary.20240326-fb90767

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2017-2023 Narwhal Technologies Inc.
3
+ Copyright (c) 2017-2024 Narwhal Technologies Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/workspace",
3
- "version": "18.2.0-canary.20240322-61cb63d",
3
+ "version": "18.2.0-canary.20240326-fb90767",
4
4
  "private": false,
5
5
  "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
6
6
  "repository": {
@@ -61,13 +61,13 @@
61
61
  }
62
62
  },
63
63
  "dependencies": {
64
- "@nx/devkit": "18.2.0-canary.20240322-61cb63d",
64
+ "@nx/devkit": "18.2.0-canary.20240326-fb90767",
65
65
  "chalk": "^4.1.0",
66
66
  "enquirer": "~2.3.6",
67
67
  "tslib": "^2.3.0",
68
68
  "yargs-parser": "21.1.1",
69
- "nx": "18.2.0-canary.20240322-61cb63d",
70
- "@nrwl/workspace": "18.2.0-canary.20240322-61cb63d"
69
+ "nx": "18.2.0-canary.20240326-fb90767",
70
+ "@nrwl/workspace": "18.2.0-canary.20240326-fb90767"
71
71
  },
72
72
  "publishConfig": {
73
73
  "access": "public"
@@ -124,7 +124,7 @@ function updateImportDeclarations(sourceFile, from, to) {
124
124
  ]);
125
125
  const changes = [];
126
126
  for (const { moduleSpecifier } of importDecls) {
127
- if (tsModule.isStringLiteral(moduleSpecifier)) {
127
+ if (moduleSpecifier && tsModule.isStringLiteral(moduleSpecifier)) {
128
128
  changes.push(...updateModuleSpecifier(moduleSpecifier, from, to));
129
129
  }
130
130
  }