@mtcute/bun 0.13.0 → 0.14.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": "@mtcute/bun",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Meta-package for Bun",
5
5
  "author": "alina sireneva <alina@tei.su>",
6
6
  "license": "MIT",
@@ -12,9 +12,9 @@
12
12
  "./utils.js": "./utils.js"
13
13
  },
14
14
  "dependencies": {
15
- "@mtcute/core": "^0.13.0",
16
- "@mtcute/wasm": "^0.13.0",
17
- "@mtcute/markdown-parser": "^0.13.0",
18
- "@mtcute/html-parser": "^0.13.0"
15
+ "@mtcute/core": "^0.14.0",
16
+ "@mtcute/wasm": "^0.14.0",
17
+ "@mtcute/markdown-parser": "^0.14.0",
18
+ "@mtcute/html-parser": "^0.14.0"
19
19
  }
20
20
  }
package/platform.js CHANGED
@@ -3,7 +3,7 @@ import { NodePlatform } from './common-internals-node/platform.js';
3
3
  import { normalizeFile } from './utils/normalize-file.js';
4
4
  export class BunPlatform extends NodePlatform {
5
5
  getDeviceModel() {
6
- return `Bun/${process.version} (${os.type()} ${os.arch()})`;
6
+ return `Bun/${Bun.version} (${os.type()} ${os.arch()})`;
7
7
  }
8
8
  }
9
9
  BunPlatform.prototype.normalizeFile = normalizeFile;
package/platform.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAA;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,OAAO,WAAY,SAAQ,YAAY;IAGzC,cAAc;QACV,OAAO,OAAO,OAAO,CAAC,OAAO,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,GAAG,CAAA;IAC/D,CAAC;CACJ;AAED,WAAW,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAA","sourcesContent":["import * as os from 'os'\n\nimport { NodePlatform } from './common-internals-node/platform.js'\nimport { normalizeFile } from './utils/normalize-file.js'\n\nexport class BunPlatform extends NodePlatform {\n declare normalizeFile: typeof normalizeFile\n\n getDeviceModel(): string {\n return `Bun/${process.version} (${os.type()} ${os.arch()})`\n }\n}\n\nBunPlatform.prototype.normalizeFile = normalizeFile\n"]}
1
+ {"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAA;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,OAAO,WAAY,SAAQ,YAAY;IAGzC,cAAc;QACV,OAAO,OAAO,GAAG,CAAC,OAAO,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,GAAG,CAAA;IAC3D,CAAC;CACJ;AAED,WAAW,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAA","sourcesContent":["import * as os from 'os'\n\nimport { NodePlatform } from './common-internals-node/platform.js'\nimport { normalizeFile } from './utils/normalize-file.js'\n\nexport class BunPlatform extends NodePlatform {\n declare normalizeFile: typeof normalizeFile\n\n getDeviceModel(): string {\n return `Bun/${Bun.version} (${os.type()} ${os.arch()})`\n }\n}\n\nBunPlatform.prototype.normalizeFile = normalizeFile\n"]}