@opentelemetry/instrumentation-tedious 0.21.1 → 0.23.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.
@@ -1,3 +1,3 @@
1
- export declare const PACKAGE_VERSION = "0.21.1";
1
+ export declare const PACKAGE_VERSION = "0.23.0";
2
2
  export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-tedious";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -17,6 +17,6 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.PACKAGE_NAME = exports.PACKAGE_VERSION = void 0;
19
19
  // this is autogenerated file, see scripts/version-update.js
20
- exports.PACKAGE_VERSION = '0.21.1';
20
+ exports.PACKAGE_VERSION = '0.23.0';
21
21
  exports.PACKAGE_NAME = '@opentelemetry/instrumentation-tedious';
22
22
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,YAAY,GAAG,wCAAwC,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const PACKAGE_VERSION = '0.21.1';\nexport const PACKAGE_NAME = '@opentelemetry/instrumentation-tedious';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,YAAY,GAAG,wCAAwC,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const PACKAGE_VERSION = '0.23.0';\nexport const PACKAGE_NAME = '@opentelemetry/instrumentation-tedious';\n"]}
package/package.json CHANGED
@@ -1,21 +1,30 @@
1
1
  {
2
2
  "name": "@opentelemetry/instrumentation-tedious",
3
- "version": "0.21.1",
3
+ "version": "0.23.0",
4
4
  "description": "OpenTelemetry instrumentation for `tedious` database client for Microsoft SQL Server",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/src/index.d.ts",
7
- "repository": "open-telemetry/opentelemetry-js-contrib",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/open-telemetry/opentelemetry-js-contrib.git",
10
+ "directory": "packages/instrumentation-tedious"
11
+ },
8
12
  "scripts": {
9
13
  "clean": "rimraf build/*",
10
- "setup:dev": "nx run-many -t compile -p @opentelemetry/instrumentation-tedious",
11
14
  "compile": "tsc -p .",
12
- "lint:fix": "eslint . --ext .ts --fix",
13
- "lint": "eslint . --ext .ts",
15
+ "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-tedious",
16
+ "lint:fix": "eslint . --ext=ts,js,mjs --fix",
17
+ "lint": "eslint . --ext=ts,js,mjs",
14
18
  "prepublishOnly": "npm run compile",
15
19
  "tdd": "npm run test -- --watch-extensions ts --watch",
16
- "test": "nyc mocha 'test/**/*.test.ts'",
20
+ "test": "nyc --no-clean mocha 'test/**/*.test.ts'",
21
+ "test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
17
22
  "test-all-versions": "tav",
18
- "version:update": "node ../../../scripts/version-update.js"
23
+ "test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
24
+ "test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
25
+ "test-services:start": "cd ../.. && npm run test-services:start mssql",
26
+ "test-services:stop": "cd ../.. && npm run test-services:stop mssql",
27
+ "version:update": "node ../../scripts/version-update.js"
19
28
  },
20
29
  "keywords": [
21
30
  "instrumentation",
@@ -48,10 +57,11 @@
48
57
  "devDependencies": {
49
58
  "@opentelemetry/api": "^1.3.0",
50
59
  "@opentelemetry/context-async-hooks": "^2.0.0",
51
- "@opentelemetry/contrib-test-utils": "^0.48.0",
60
+ "@opentelemetry/contrib-test-utils": "^0.50.0",
52
61
  "@opentelemetry/sdk-trace-base": "^2.0.0",
53
62
  "@types/mocha": "10.0.10",
54
63
  "@types/node": "18.18.14",
64
+ "cross-env": "7.0.3",
55
65
  "nyc": "17.1.0",
56
66
  "rimraf": "5.0.10",
57
67
  "semver": "7.7.2",
@@ -60,10 +70,10 @@
60
70
  "typescript": "5.0.4"
61
71
  },
62
72
  "dependencies": {
63
- "@opentelemetry/instrumentation": "^0.202.0",
73
+ "@opentelemetry/instrumentation": "^0.204.0",
64
74
  "@opentelemetry/semantic-conventions": "^1.27.0",
65
75
  "@types/tedious": "^4.0.14"
66
76
  },
67
- "homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-tedious#readme",
68
- "gitHead": "52dd28deae0ebfbec43bdaed82f4749fc9803797"
77
+ "homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/instrumentation-tedious#readme",
78
+ "gitHead": "0a45ac1b951d2acd2e40834e7ae012c04820faec"
69
79
  }