@opra/core 1.0.0-alpha.28 → 1.0.0-alpha.29

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.
@@ -192,5 +192,5 @@ class MultipartReader extends events_1.EventEmitter {
192
192
  exports.MultipartReader = MultipartReader;
193
193
  function generateFileName() {
194
194
  const buf = Buffer.alloc(10);
195
- return new Date().toISOString().substring(0, 10).replaceAll('-', '') + (0, node_crypto_1.randomFillSync)(buf).toString('hex');
195
+ return new Date().toISOString().substring(0, 10).replace(/-/g, '') + (0, node_crypto_1.randomFillSync)(buf).toString('hex');
196
196
  }
@@ -187,5 +187,5 @@ export class MultipartReader extends EventEmitter {
187
187
  }
188
188
  function generateFileName() {
189
189
  const buf = Buffer.alloc(10);
190
- return new Date().toISOString().substring(0, 10).replaceAll('-', '') + randomFillSync(buf).toString('hex');
190
+ return new Date().toISOString().substring(0, 10).replace(/-/g, '') + randomFillSync(buf).toString('hex');
191
191
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/core",
3
- "version": "1.0.0-alpha.28",
3
+ "version": "1.0.0-alpha.29",
4
4
  "description": "Opra schema package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -15,9 +15,9 @@
15
15
  "build": "npm run build:cjs && npm run build:esm",
16
16
  "build:cjs": "tsc -b tsconfig-build-cjs.json",
17
17
  "build:esm": "tsc -b tsconfig-build-esm.json",
18
- "postbuild": "npm run _copyi18n && npm run _copy_pkg_files",
19
- "_copy_pkg_files": "cp README.md package.json ../../LICENSE ../../build/core && cp ../../package.cjs.json ../../build/core/cjs/package.json",
20
- "_copyi18n": "cp -R i18n ../../build/core/i18n",
18
+ "postbuild": "npm run postbuild:copy_1 && npm run postbuild:copy_2",
19
+ "postbuild:copy_1": "cp README.md package.json ../../LICENSE ../../build/core && cp ../../package.cjs.json ../../build/core/cjs/package.json",
20
+ "postbuild:copy_2": "cp -R i18n ../../build/core/i18n",
21
21
  "lint": "eslint . --max-warnings=0",
22
22
  "lint:fix": "eslint . --max-warnings=0 --fix",
23
23
  "format": "prettier . --write --log-level=warn",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@browsery/http-parser": "^0.5.8",
35
35
  "@browsery/type-is": "^1.6.18-r2",
36
- "@opra/common": "^1.0.0-alpha.28",
36
+ "@opra/common": "^1.0.0-alpha.29",
37
37
  "accepts": "^1.3.8",
38
38
  "base64-stream": "^1.0.0",
39
39
  "busboy": "^1.6.0",
@@ -47,12 +47,12 @@
47
47
  "fresh": "^0.5.2",
48
48
  "iconv-lite": "^0.6.3",
49
49
  "mime-types": "^2.1.35",
50
- "power-tasks": "^1.7.4",
50
+ "power-tasks": "^1.7.7",
51
51
  "putil-isplainobject": "^1.1.5",
52
52
  "putil-merge": "^3.12.1",
53
53
  "putil-varhelpers": "^1.6.5",
54
54
  "range-parser": "^1.2.1",
55
- "raw-body": "^2.5.2",
55
+ "raw-body": "^3.0.0",
56
56
  "reflect-metadata": "^0.2.2",
57
57
  "strict-typed-events": "^2.4.0",
58
58
  "vary": "^1.1.2"