File tree Expand file tree Collapse file tree 7 files changed +7
-5
lines changed
browser/webext/tests/unit Expand file tree Collapse file tree 7 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 22
33[ Full changelog] ( https://github.com/mozilla/glean.js/compare/v1.0.0...main )
44
5+ * [ #1318 ] ( https://github.com/mozilla/glean.js/pull/1318 ) : Expose ` ErrorType ` through its own entry point.
56* [ #1271 ] ( https://github.com/mozilla/glean.js/pull/1271 ) : BUGFIX: Fix pings validation function when scanning pings database on initialize.
67 * This bug was preventing pings that contained custom headers from being successfully validated and enqueued on initialize.
78* [ #1335 ] ( https://github.com/mozilla/glean.js/pull/1335 ) : BUGFIX: Fix uploading gzip-compressed pings in Node.
Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "sideEffects" : false ,
77 "exports" : {
8+ "./error" : " ./dist/core/error/error_type.js" ,
89 "./package.json" : " ./package.json" ,
910 "./private/metrics/*" : " ./dist/core/metrics/types/*.js" ,
1011 "./private/ping" : " ./dist/core/pings/ping_type.js" ,
4041 ],
4142 "testing" : [
4243 " ./dist/types/core/testing/index.d.ts"
44+ ],
45+ "error" : [
46+ " ./dist/types/core/error/error_type.d.ts"
4347 ]
4448 }
4549 },
Original file line number Diff line number Diff line change 55import platform from "../platform/node/index.js" ;
66import base from "./base.js" ;
77
8- export { ErrorType } from "../core/error/error_type.js" ;
98export { default as Uploader , UploadResult , UploadResultStatus } from "../core/upload/uploader.js" ;
109export default base ( platform ) ;
Original file line number Diff line number Diff line change 55import platform from "../platform/browser/web/index.js" ;
66import base from "./base.js" ;
77
8- export { ErrorType } from "../core/error/error_type.js" ;
98export { default as Uploader , UploadResult , UploadResultStatus } from "../core/upload/uploader.js" ;
109export default base ( platform ) ;
Original file line number Diff line number Diff line change 55import platform from "../platform/browser/webext/index.js" ;
66import base from "./base.js" ;
77
8- export { ErrorType } from "../core/error/error_type.js" ;
98export { default as Uploader , UploadResult , UploadResultStatus } from "../core/upload/uploader.js" ;
109export default base ( platform ) ;
Original file line number Diff line number Diff line change 33 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44
55import { strict as assert } from "assert" ;
6- import { ErrorType } from "@mozilla/glean/webext " ;
6+ import { ErrorType } from "@mozilla/glean/error " ;
77import { testResetGlean } from "@mozilla/glean/testing" ;
88
99import * as sample from "../../src/generated/sample.js" ;
Original file line number Diff line number Diff line change 33 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44
55import { strict as assert } from "assert" ;
6- import { ErrorType } from "@mozilla/glean/node " ;
6+ import { ErrorType } from "@mozilla/glean/error " ;
77import { testResetGlean } from "@mozilla/glean/testing" ;
88
99import main from "./main.js" ;
You can’t perform that action at this time.
0 commit comments