@react-native-windows/telemetry
Advanced tools
Comparing version 0.65.0 to 0.66.0-preview.1
@@ -5,11 +5,79 @@ { | ||
{ | ||
"date": "Mon, 23 Aug 2021 15:08:33 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.65.0", | ||
"version": "0.65.0", | ||
"date": "Fri, 03 Sep 2021 18:47:33 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.66.0-preview.1", | ||
"version": "0.66.0-preview.1", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Promote 0.66 to preview", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "cf1dcfbe108028869e326bb2bdab370949f7dac8", | ||
"package": "@react-native-windows/telemetry" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Sat, 24 Jul 2021 05:05:52 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.0.0-canary.22", | ||
"version": "0.0.0-canary.22", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"comment": "Bump @rnw-scripts/just-task to v2.2.0", | ||
"author": "4123478+tido64@users.noreply.github.com", | ||
"commit": "a311022ebc0c1d8070d7e54312197f486c470d33", | ||
"package": "@react-native-windows/telemetry" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 29 Jun 2021 05:06:48 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.0.0-canary.22", | ||
"version": "0.0.0-canary.22", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"comment": "Deduplicate lockfile", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "2646cb69f4e031799d04ecd5453aa9d44b48b261", | ||
"package": "@react-native-windows/telemetry" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Sat, 26 Jun 2021 05:06:48 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.0.0-canary.22", | ||
"version": "0.0.0-canary.22", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Upgrade to boost 1.76.0.0", | ||
"author": "julio.rocha@microsoft.com", | ||
"commit": "50e13c8cc7938d38bb19ca96225b5a85955c5ae5", | ||
"package": "@react-native-windows/telemetry" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Fri, 11 Jun 2021 05:08:55 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.0.0-canary.21", | ||
"version": "0.0.0-canary.21", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Mark windowsOnly", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "3d7c8d8fcf14a3cbda83a93c85b0bcf1e4e4f829", | ||
"package": "@react-native-windows/telemetry" | ||
} | ||
], | ||
"patch": [ | ||
{ | ||
"comment": "Promote 0.65 to latest", | ||
"comment": "Bump @rnw-scripts/just-task to v2.2.0", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "6b2df206699d51f2be4595391735344a2f53af01", | ||
"commit": "3d7c8d8fcf14a3cbda83a93c85b0bcf1e4e4f829", | ||
"package": "@react-native-windows/telemetry" | ||
@@ -21,13 +89,60 @@ } | ||
{ | ||
"date": "Mon, 31 May 2021 15:23:18 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.65.0-preview.1", | ||
"version": "0.65.0-preview.1", | ||
"date": "Wed, 09 Jun 2021 05:10:07 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.0.0-canary.20", | ||
"version": "0.0.0-canary.20", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Bump @rnw-scripts/just-task to v2.1.3", | ||
"author": "igklemen@microsoft.com", | ||
"commit": "2ba41a4f087cc3bf16cbe799575923fc7a626009", | ||
"package": "@react-native-windows/telemetry" | ||
}, | ||
{ | ||
"comment": "Bump @rnw-scripts/jest-unittest-config to v1.2.3", | ||
"author": "igklemen@microsoft.com", | ||
"commit": "2ba41a4f087cc3bf16cbe799575923fc7a626009", | ||
"package": "@react-native-windows/telemetry" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 03 Jun 2021 05:09:47 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.0.0-canary.19", | ||
"version": "0.0.0-canary.19", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Promote 0.65 to preview", | ||
"comment": "Enable esModuleInterop Repo Wide", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "3d6d7f00b51a68c7ab7c3b3e50cdb2be8b17929f", | ||
"commit": "6c871e6ba27888804c776e5deeefbc7064e181d0", | ||
"package": "@react-native-windows/telemetry" | ||
} | ||
], | ||
"patch": [ | ||
{ | ||
"comment": "Bump @rnw-scripts/just-task to v2.1.2", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "b481f0a4ea68a8100860eb061902b715fca6652e", | ||
"package": "@react-native-windows/telemetry" | ||
}, | ||
{ | ||
"comment": "Bump @rnw-scripts/ts-config to v2.0.0", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "6c871e6ba27888804c776e5deeefbc7064e181d0", | ||
"package": "@react-native-windows/telemetry" | ||
}, | ||
{ | ||
"comment": "Bump @rnw-scripts/eslint-config to v1.1.7", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "b481f0a4ea68a8100860eb061902b715fca6652e", | ||
"package": "@react-native-windows/telemetry" | ||
}, | ||
{ | ||
"comment": "Bump @rnw-scripts/jest-unittest-config to v1.2.2", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "b481f0a4ea68a8100860eb061902b715fca6652e", | ||
"package": "@react-native-windows/telemetry" | ||
} | ||
] | ||
@@ -34,0 +149,0 @@ } |
# Change Log - @react-native-windows/telemetry | ||
This log was last generated on Mon, 23 Aug 2021 15:08:33 GMT and should not be manually modified. | ||
This log was last generated on Fri, 03 Sep 2021 18:47:33 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.65.0 | ||
## 0.66.0-preview.1 | ||
Mon, 23 Aug 2021 15:08:33 GMT | ||
Fri, 03 Sep 2021 18:47:33 GMT | ||
### Changes | ||
- Promote 0.66 to preview (ngerlem@microsoft.com) | ||
## 0.0.0-canary.22 | ||
Sat, 26 Jun 2021 05:06:48 GMT | ||
### Changes | ||
- Upgrade to boost 1.76.0.0 (julio.rocha@microsoft.com) | ||
## 0.0.0-canary.21 | ||
Fri, 11 Jun 2021 05:08:55 GMT | ||
### Patches | ||
- Promote 0.65 to latest (ngerlem@microsoft.com) | ||
- Bump @rnw-scripts/just-task to v2.2.0 (ngerlem@microsoft.com) | ||
## 0.65.0-preview.1 | ||
### Changes | ||
Mon, 31 May 2021 15:23:18 GMT | ||
- Mark windowsOnly (ngerlem@microsoft.com) | ||
## 0.0.0-canary.20 | ||
Wed, 09 Jun 2021 05:10:07 GMT | ||
### Patches | ||
- Bump @rnw-scripts/just-task to v2.1.3 (igklemen@microsoft.com) | ||
- Bump @rnw-scripts/jest-unittest-config to v1.2.3 (igklemen@microsoft.com) | ||
## 0.0.0-canary.19 | ||
Thu, 03 Jun 2021 05:09:47 GMT | ||
### Patches | ||
- Bump @rnw-scripts/just-task to v2.1.2 (ngerlem@microsoft.com) | ||
- Bump @rnw-scripts/ts-config to v2.0.0 (ngerlem@microsoft.com) | ||
- Bump @rnw-scripts/eslint-config to v1.1.7 (ngerlem@microsoft.com) | ||
- Bump @rnw-scripts/jest-unittest-config to v1.2.2 (ngerlem@microsoft.com) | ||
### Changes | ||
- Promote 0.65 to preview (ngerlem@microsoft.com) | ||
- Enable esModuleInterop Repo Wide (ngerlem@microsoft.com) | ||
@@ -23,0 +59,0 @@ ## 0.0.0-canary.18 |
@@ -7,7 +7,29 @@ "use strict"; | ||
*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getDiskFreeSpace = exports.isMSFTInternal = exports.sanitizeEnvelope = exports.tryGetErrorCode = exports.sanitizeFrame = exports.sanitizeMessage = exports.Telemetry = void 0; | ||
const path = require("path"); | ||
const path_1 = __importDefault(require("path")); | ||
const crypto_1 = require("crypto"); | ||
const appInsights = require("applicationinsights"); | ||
const appInsights = __importStar(require("applicationinsights")); | ||
const child_process_1 = require("child_process"); | ||
@@ -82,3 +104,3 @@ const CodedError_1 = require("./CodedError"); | ||
if (filepath.toLowerCase().startsWith(projectRoot)) { | ||
const ext = path.extname(filepath); | ||
const ext = path_1.default.extname(filepath); | ||
const rest = filepath.slice(projectRoot.length); | ||
@@ -148,3 +170,3 @@ const nodeModules = '\\node_modules\\'; | ||
// preserve only the last_directory/filename | ||
frame.fileName = path.join(path.basename(path.dirname(frame.fileName)), path.basename(frame.fileName)); | ||
frame.fileName = path_1.default.join(path_1.default.basename(path_1.default.dirname(frame.fileName)), path_1.default.basename(frame.fileName)); | ||
frame.assembly = ''; | ||
@@ -151,0 +173,0 @@ } |
@@ -51,4 +51,4 @@ "use strict"; | ||
test('Sanitize message, forward slashes', () => { | ||
expect(telemetry_1.sanitizeMessage(`EPERM: operation not permitted, scandir ${process.env.UserProfile.replace(/\\/g, '/')}/source/repos/rn2/wintest/windows/packages/boost.1.72.0.0/lib/native/include`)).toEqual(`EPERM: operation not permitted, scandir [UserProfile]\\???(${(process.env.UserProfile + | ||
'/source/repos/rn2/wintest/windows/packages/boost.1.72.0.0/lib/native/include').length})`); | ||
expect(telemetry_1.sanitizeMessage(`EPERM: operation not permitted, scandir ${process.env.UserProfile.replace(/\\/g, '/')}/source/repos/rn2/wintest/windows/packages/boost.1.76.0.0/lib/native/include`)).toEqual(`EPERM: operation not permitted, scandir [UserProfile]\\???(${(process.env.UserProfile + | ||
'/source/repos/rn2/wintest/windows/packages/boost.1.76.0.0/lib/native/include').length})`); | ||
}); | ||
@@ -123,3 +123,4 @@ test('Sanitize message, file share path', () => { | ||
} | ||
test('thrown exception a->b, hello world', done => { | ||
// #7903: This test assumes exact structure of stack trace, which can be flaky or implementation dependent | ||
test.skip('thrown exception a->b, hello world', () => { | ||
let pass = false; | ||
@@ -156,3 +157,2 @@ telemetry_1.Telemetry.client.addTelemetryProcessor((envelope, _) => { | ||
telemetry_1.Telemetry.client.addTelemetryProcessor(telemetry_1.sanitizeEnvelope); | ||
done(); | ||
}); | ||
@@ -176,3 +176,4 @@ test('throw exception with error code', done => { | ||
}); | ||
test('thrown exception a->b, hello path', done => { | ||
// #7903: This test assumes exact structure of stack trace, which can be flaky or implementation dependent | ||
test.skip('thrown exception a->b, hello path', done => { | ||
let pass = false; | ||
@@ -179,0 +180,0 @@ telemetry_1.Telemetry.client.addTelemetryProcessor((envelope, _) => { |
{ | ||
"name": "@react-native-windows/telemetry", | ||
"version": "0.65.0", | ||
"version": "0.66.0-preview.1", | ||
"license": "MIT", | ||
@@ -24,6 +24,6 @@ "main": "lib-commonjs/index.js", | ||
"devDependencies": { | ||
"@rnw-scripts/eslint-config": "1.1.6", | ||
"@rnw-scripts/jest-unittest-config": "1.2.1", | ||
"@rnw-scripts/just-task": "2.1.1", | ||
"@rnw-scripts/ts-config": "1.1.0", | ||
"@rnw-scripts/eslint-config": "1.1.7", | ||
"@rnw-scripts/jest-unittest-config": "1.2.3", | ||
"@rnw-scripts/just-task": "2.2.0", | ||
"@rnw-scripts/ts-config": "2.0.0", | ||
"@types/jest": "^26.0.20", | ||
@@ -43,10 +43,11 @@ "@types/node": "^14.14.22", | ||
"beachball": { | ||
"defaultNpmTag": "latest", | ||
"defaultNpmTag": "preview", | ||
"disallowedChangeTypes": [ | ||
"major", | ||
"minor", | ||
"prerelease" | ||
"patch" | ||
] | ||
}, | ||
"promoteRelease": true | ||
"promoteRelease": true, | ||
"windowsOnly": true | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91493
1178