@azure/data-tables 13.2.3-alpha.20231120.1 → 13.2.3-alpha.20231208.1

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,11 +1,11 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
- import { v4 as uuidv4 } from "uuid";
3
+ import { randomUUID } from "@azure/core-util";
4
4
  // This is used as a workaround to be able to stub generateUuid
5
5
  // during testing.
6
6
  export class Uuid {
7
7
  static generateUuid() {
8
- return uuidv4();
8
+ return randomUUID();
9
9
  }
10
10
  }
11
11
  //# sourceMappingURL=uuid.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"uuid.js","sourceRoot":"","sources":["../../../src/utils/uuid.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAEpC,+DAA+D;AAC/D,kBAAkB;AAClB,MAAM,OAAO,IAAI;IACR,MAAM,CAAC,YAAY;QACxB,OAAO,MAAM,EAAE,CAAC;IAClB,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { v4 as uuidv4 } from \"uuid\";\n\n// This is used as a workaround to be able to stub generateUuid\n// during testing.\nexport class Uuid {\n public static generateUuid(): string {\n return uuidv4();\n }\n}\n"]}
1
+ {"version":3,"file":"uuid.js","sourceRoot":"","sources":["../../../src/utils/uuid.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,+DAA+D;AAC/D,kBAAkB;AAClB,MAAM,OAAO,IAAI;IACR,MAAM,CAAC,YAAY;QACxB,OAAO,UAAU,EAAE,CAAC;IACtB,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { randomUUID } from \"@azure/core-util\";\n\n// This is used as a workaround to be able to stub generateUuid\n// during testing.\nexport class Uuid {\n public static generateUuid(): string {\n return randomUUID();\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/data-tables",
3
- "version": "13.2.3-alpha.20231120.1",
3
+ "version": "13.2.3-alpha.20231208.1",
4
4
  "description": "An isomorphic client library for the Azure Tables service.",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -30,8 +30,7 @@
30
30
  "build:node": "tsc -p . && dev-tool run bundle",
31
31
  "build:samples": "echo Obsolete.",
32
32
  "build:test": "tsc -p . && dev-tool run bundle",
33
- "build:types": "downlevel-dts types/latest types/3.1",
34
- "build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local && npm run build:types",
33
+ "build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",
35
34
  "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
36
35
  "clean": "rimraf dist dist-* types *.tgz *.log",
37
36
  "execute:samples": "dev-tool samples run samples-dev",
@@ -56,7 +55,6 @@
56
55
  "dist-esm/src/",
57
56
  "types/tables.d.ts",
58
57
  "types/latest/",
59
- "types/3.1/",
60
58
  "README.md",
61
59
  "LICENSE"
62
60
  ],
@@ -81,11 +79,11 @@
81
79
  "@azure/core-client": "^1.0.0",
82
80
  "@azure/core-rest-pipeline": "^1.1.0",
83
81
  "@azure/core-paging": "^1.1.1",
82
+ "@azure/core-util": "^1.6.1",
84
83
  "@azure/core-xml": "^1.0.0",
85
84
  "@azure/logger": "^1.0.0",
86
85
  "@azure/core-tracing": "^1.0.0",
87
- "tslib": "^2.2.0",
88
- "uuid": "^8.3.0"
86
+ "tslib": "^2.2.0"
89
87
  },
90
88
  "devDependencies": {
91
89
  "@azure/identity": "^3.3.0",
@@ -95,11 +93,9 @@
95
93
  "@types/mocha": "^10.0.0",
96
94
  "@types/node": "^18.0.0",
97
95
  "@types/sinon": "^17.0.0",
98
- "@types/uuid": "^8.0.0",
99
96
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
100
97
  "chai": "^4.2.0",
101
98
  "cross-env": "^7.0.2",
102
- "downlevel-dts": "^0.10.0",
103
99
  "eslint": "^8.0.0",
104
100
  "inherits": "^2.0.3",
105
101
  "karma": "^6.2.0",
@@ -112,7 +108,6 @@
112
108
  "karma-mocha-reporter": "^2.2.5",
113
109
  "karma-sourcemap-loader": "^0.3.8",
114
110
  "mocha": "^10.0.0",
115
- "mocha-junit-reporter": "^2.0.0",
116
111
  "prettier": "^2.5.1",
117
112
  "c8": "^8.0.0",
118
113
  "rimraf": "^3.0.0",