craft-native 0.0.353 → 0.0.354

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/dist/cli.js CHANGED
@@ -3047,7 +3047,7 @@ function pinCraftNativeDependency(packagePath, craftVersion) {
3047
3047
  `);
3048
3048
  }
3049
3049
  // package.json
3050
- var version = "0.0.353";
3050
+ var version = "0.0.354";
3051
3051
 
3052
3052
  // bin/cli.ts
3053
3053
  var spawnedFrom = process6.env[CRAFT_CLI_SPAWN_MARKER];
package/dist/index.cjs CHANGED
@@ -375,7 +375,7 @@ function craftBinaryNotFoundMessage(triedPath) {
375
375
  `);
376
376
  }
377
377
  // package.json
378
- var version = "0.0.353";
378
+ var version = "0.0.354";
379
379
 
380
380
  // src/sdk-version.ts
381
381
  var SDK_VERSION = version;
package/dist/index.js CHANGED
@@ -117,7 +117,7 @@ function craftBinaryNotFoundMessage(triedPath) {
117
117
  `);
118
118
  }
119
119
  // package.json
120
- var version = "0.0.353";
120
+ var version = "0.0.354";
121
121
 
122
122
  // src/sdk-version.ts
123
123
  var SDK_VERSION = version;
@@ -1698,11 +1698,11 @@ enum CraftSnapshots {
1698
1698
  .appendingPathComponent("craft-snapshots", isDirectory: true)
1699
1699
  }
1700
1700
 
1701
- /// Letters, digits, `-`, `_` and `.`, not starting with a dot: a file
1701
+ /// Letters, digits, `-`, `_`, `.` and account namespace `:`, not starting with a dot: a file
1702
1702
  /// name, never a path.
1703
1703
  static func isValidName(_ name: String) -> Bool {
1704
1704
  !name.isEmpty && name.count <= 128 && !name.hasPrefix(".")
1705
- && name.unicodeScalars.allSatisfy { $0.isASCII && (CharacterSet.alphanumerics.contains($0) || "-_.".unicodeScalars.contains($0)) }
1705
+ && name.unicodeScalars.allSatisfy { $0.isASCII && (CharacterSet.alphanumerics.contains($0) || "-_.:".unicodeScalars.contains($0)) }
1706
1706
  }
1707
1707
 
1708
1708
  static func url(for name: String) -> URL? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "craft-native",
3
- "version": "0.0.353",
3
+ "version": "0.0.354",
4
4
  "type": "module",
5
5
  "description": "Build desktop apps with web languages - TypeScript SDK for Craft",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",