@atlaspack/reporter-dev-server 2.14.17 → 2.14.18-unified-f92fba5b6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/reporter-dev-server",
3
- "version": "2.14.17",
3
+ "version": "2.14.18-unified-f92fba5b6.0",
4
4
  "description": "Blazing fast, zero configuration web application bundler",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "type": "commonjs",
@@ -25,12 +25,12 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@atlaspack/plugin": "2.14.17",
29
- "@atlaspack/utils": "2.16.1"
28
+ "@atlaspack/plugin": "2.14.18-unified-f92fba5b6.0",
29
+ "@atlaspack/utils": "2.16.2-unified-f92fba5b6.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@atlaspack/babel-preset": "2.14.1",
33
- "@atlaspack/types": "2.15.7",
32
+ "@atlaspack/babel-preset": "2.14.2-unified-f92fba5b6.0",
33
+ "@atlaspack/types": "2.15.8-unified-f92fba5b6.0",
34
34
  "connect": "^3.7.0",
35
35
  "ejs": "^3.1.6",
36
36
  "fresh": "^0.5.2",
@@ -40,5 +40,6 @@
40
40
  "nullthrows": "^1.1.1",
41
41
  "serve-handler": "^6.0.0",
42
42
  "ws": "^7.0.0"
43
- }
43
+ },
44
+ "gitHead": "f92fba5b6216e1d94cbd23f3a5d61f7188d49199"
44
45
  }
package/src/Server.js CHANGED
@@ -51,12 +51,12 @@ const SLASH_REGEX = /\//g;
51
51
  export const SOURCES_ENDPOINT = '/__parcel_source_root';
52
52
  const EDITOR_ENDPOINT = '/__parcel_launch_editor';
53
53
  const TEMPLATE_404 = fs.readFileSync(
54
- path.join(__dirname, 'templates/404.html'),
54
+ path.join(__dirname, '..', 'templates/404.html'),
55
55
  'utf8',
56
56
  );
57
57
 
58
58
  const TEMPLATE_500 = fs.readFileSync(
59
- path.join(__dirname, 'templates/500.html'),
59
+ path.join(__dirname, '..', 'templates/500.html'),
60
60
  'utf8',
61
61
  );
62
62
  type NextFunction = (req: Request, res: Response, next?: (any) => any) => any;
File without changes
File without changes