datagrok-tools 4.13.3 → 4.13.4

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/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Datagrok-tools changelog
2
2
 
3
- ## 4.13.1 (2024-06-21)
3
+
4
+ ## 4.13.4 (2024-06-25)
5
+
6
+ ### Bug Fixes
7
+
8
+ * Check source maps fixes
9
+
10
+ ## 4.13.3 (2024-06-21)
4
11
 
5
12
  ### Features
6
13
 
@@ -507,7 +507,7 @@ function checkSourceMap(packagePath) {
507
507
  encoding: 'utf-8'
508
508
  }); // cant convert to json because file contains comments
509
509
 
510
- if (!new RegExp("devtool\\s*:\\s*'source-map'").test(webpackConfigJson)) warnings.push('webpack config doesnt contain source map');
510
+ if (!new RegExp("devtool\\s*:\\s*(([^\\n]*\\?[^\\n]*source-map[^\\n]*:[^\\n]*source-map[^\\n]*)|('source-map'))\\n").test(webpackConfigJson)) warnings.push('webpack config doesnt contain source map');
511
511
  if (!_fs["default"].existsSync(packagePath + '/dist/package.js')) warnings.push('dist\\package.js file doesnt exists');
512
512
  if (!_fs["default"].existsSync(packagePath + '/dist/package-test.js')) warnings.push('dist\\package-test.js file doesnt exists');
513
513
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.13.3",
3
+ "version": "4.13.4",
4
4
  "description": "Utility to upload and publish packages to Datagrok",
5
5
  "homepage": "https://github.com/datagrok-ai/public/tree/master/tools#readme",
6
6
  "dependencies": {