@lingui/core 3.16.0 → 3.17.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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.17.0](https://github.com/lingui/js-lingui/compare/v3.16.1...v3.17.0) (2023-02-01)
7
+
8
+ **Note:** Version bump only for package @lingui/core
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.16.1](https://github.com/lingui/js-lingui/compare/v3.16.0...v3.16.1) (2023-01-24)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **core:** sub entry export for react-native ([#1350](https://github.com/lingui/js-lingui/issues/1350)) ([c178ce3](https://github.com/lingui/js-lingui/commit/c178ce3cc91e64d190965dc684df74162cc17d02))
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.16.0](https://github.com/lingui/js-lingui/compare/v3.15.0...v3.16.0) (2023-01-18)
7
26
 
8
27
  **Note:** Version bump only for package @lingui/core
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 Tomáš Ehrlich
3
+ Copyright (c) 2017-2022 Tomáš Ehrlich, (c) 2022-2023 Crowdin.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -17,7 +17,7 @@ npm install --save @lingui/core
17
17
 
18
18
  ## Usage
19
19
 
20
- See the [tutorial][tutorial] or [reference][reference] documenation.
20
+ See the [tutorial][tutorial] or [reference][reference] documentation.
21
21
 
22
22
  ## License
23
23
 
@@ -25,9 +25,9 @@ This package is licensed under [MIT][license] license.
25
25
 
26
26
  [license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
27
27
  [linguijs]: https://github.com/lingui/js-lingui
28
- [documentation]: https://lingui.js.org/
29
- [tutorial]: https://lingui.js.org/tutorials/js.html
30
- [reference]: https://lingui.js.org/ref/core.html
28
+ [documentation]: https://lingui.dev
29
+ [tutorial]: https://lingui.dev/tutorials/javascript
30
+ [reference]: https://lingui.dev/ref/core
31
31
  [package]: https://www.npmjs.com/package/@lingui/core
32
32
  [badge-downloads]: https://img.shields.io/npm/dw/@lingui/core.svg
33
33
  [badge-version]: https://img.shields.io/npm/v/@lingui/core.svg
package/build/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 Tomáš Ehrlich
3
+ Copyright (c) 2017-2022 Tomáš Ehrlich, (c) 2022-2023 Crowdin.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/compile.js ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This entry is for old runtimes which do not support `exports` field in package.json
3
+ * https://github.com/facebook/metro/issues/670
4
+ */
5
+ module.exports = require("./build/cjs/compile.js")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingui/core",
3
- "version": "3.16.0",
3
+ "version": "3.17.0",
4
4
  "sideEffects": false,
5
5
  "description": "I18n tools for javascript",
6
6
  "main": "./build/cjs/index.js",
@@ -31,24 +31,37 @@
31
31
  },
32
32
  "exports": {
33
33
  ".": {
34
- "require": "./build/cjs/index.js",
35
- "import": "./build/esm/index.js"
34
+ "require": {
35
+ "types": "./build/index.d.ts",
36
+ "default": "./build/cjs/index.js"
37
+ },
38
+ "import": {
39
+ "types": "./build/index.d.ts",
40
+ "default": "./build/esm/index.js"
41
+ }
36
42
  },
37
43
  "./compile": {
38
- "require": "./build/cjs/compile.js",
39
- "import": "./build/esm/compile.js"
44
+ "require": {
45
+ "types": "./build/compile.d.ts",
46
+ "default": "./build/cjs/compile.js"
47
+ },
48
+ "import": {
49
+ "types": "./build/compile.d.ts",
50
+ "default": "./build/esm/compile.js"
51
+ }
40
52
  },
41
53
  "./package.json": "./package.json"
42
54
  },
43
55
  "files": [
44
56
  "LICENSE",
45
57
  "README.md",
46
- "build/"
58
+ "build/",
59
+ "compile.js"
47
60
  ],
48
61
  "dependencies": {
49
62
  "@babel/runtime": "^7.11.2",
50
63
  "@messageformat/parser": "^5.0.0",
51
64
  "make-plural": "^6.2.2"
52
65
  },
53
- "gitHead": "e8c1f518b988f45f3f6da84333550b215dcde94b"
66
+ "gitHead": "1c8bc46213b35b25da8fe7a80ddcf6f6a5d9d539"
54
67
  }
package/build/compile.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require("./cjs/compile.js")
package/build/index.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require("./cjs/index.js")