mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-19 21:18:22 +02:00
feat: add @actions/cache
This commit is contained in:
parent
b15fb7d098
commit
16e8c96a41
1932 changed files with 261172 additions and 10 deletions
12
node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.d.ts
generated
vendored
Normal file
12
node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
import type { Baggage, BaggageEntry } from '../types';
|
||||
export declare class BaggageImpl implements Baggage {
|
||||
private _entries;
|
||||
constructor(entries?: Map<string, BaggageEntry>);
|
||||
getEntry(key: string): BaggageEntry | undefined;
|
||||
getAllEntries(): [string, BaggageEntry][];
|
||||
setEntry(key: string, entry: BaggageEntry): BaggageImpl;
|
||||
removeEntry(key: string): BaggageImpl;
|
||||
removeEntries(...keys: string[]): BaggageImpl;
|
||||
clear(): BaggageImpl;
|
||||
}
|
||||
//# sourceMappingURL=baggage-impl.d.ts.map
|
61
node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js
generated
vendored
Normal file
61
node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js
generated
vendored
Normal file
|
@ -0,0 +1,61 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
var BaggageImpl = /** @class */ (function () {
|
||||
function BaggageImpl(entries) {
|
||||
this._entries = entries ? new Map(entries) : new Map();
|
||||
}
|
||||
BaggageImpl.prototype.getEntry = function (key) {
|
||||
var entry = this._entries.get(key);
|
||||
if (!entry) {
|
||||
return undefined;
|
||||
}
|
||||
return Object.assign({}, entry);
|
||||
};
|
||||
BaggageImpl.prototype.getAllEntries = function () {
|
||||
return Array.from(this._entries.entries()).map(function (_a) {
|
||||
var k = _a[0], v = _a[1];
|
||||
return [k, v];
|
||||
});
|
||||
};
|
||||
BaggageImpl.prototype.setEntry = function (key, entry) {
|
||||
var newBaggage = new BaggageImpl(this._entries);
|
||||
newBaggage._entries.set(key, entry);
|
||||
return newBaggage;
|
||||
};
|
||||
BaggageImpl.prototype.removeEntry = function (key) {
|
||||
var newBaggage = new BaggageImpl(this._entries);
|
||||
newBaggage._entries.delete(key);
|
||||
return newBaggage;
|
||||
};
|
||||
BaggageImpl.prototype.removeEntries = function () {
|
||||
var keys = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
keys[_i] = arguments[_i];
|
||||
}
|
||||
var newBaggage = new BaggageImpl(this._entries);
|
||||
for (var _a = 0, keys_1 = keys; _a < keys_1.length; _a++) {
|
||||
var key = keys_1[_a];
|
||||
newBaggage._entries.delete(key);
|
||||
}
|
||||
return newBaggage;
|
||||
};
|
||||
BaggageImpl.prototype.clear = function () {
|
||||
return new BaggageImpl();
|
||||
};
|
||||
return BaggageImpl;
|
||||
}());
|
||||
export { BaggageImpl };
|
||||
//# sourceMappingURL=baggage-impl.js.map
|
1
node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js.map
generated
vendored
Normal file
1
node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"baggage-impl.js","sourceRoot":"","sources":["../../../../src/baggage/internal/baggage-impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH;IAGE,qBAAY,OAAmC;QAC7C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC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AAG,aAAA;YACZ,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;SACjC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,2BAAK,GAAL;QACE,OAAO,IAAI,WAAW,EAAE,CAAC;IAC3B,CAAC;IACH,kBAAC;AAAD,CAAC,AA3CD,IA2CC","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\nimport type { Baggage, BaggageEntry } from '../types';\n\nexport class BaggageImpl implements Baggage {\n private _entries: Map<string, BaggageEntry>;\n\n constructor(entries?: Map<string, BaggageEntry>) {\n this._entries = entries ? new Map(entries) : new Map();\n }\n\n getEntry(key: string): BaggageEntry | undefined {\n const entry = this._entries.get(key);\n if (!entry) {\n return undefined;\n }\n\n return Object.assign({}, entry);\n }\n\n getAllEntries(): [string, BaggageEntry][] {\n return Array.from(this._entries.entries()).map(([k, v]) => [k, v]);\n }\n\n setEntry(key: string, entry: BaggageEntry): BaggageImpl {\n const newBaggage = new BaggageImpl(this._entries);\n newBaggage._entries.set(key, entry);\n return newBaggage;\n }\n\n removeEntry(key: string): BaggageImpl {\n const newBaggage = new BaggageImpl(this._entries);\n newBaggage._entries.delete(key);\n return newBaggage;\n }\n\n removeEntries(...keys: string[]): BaggageImpl {\n const newBaggage = new BaggageImpl(this._entries);\n for (const key of keys) {\n newBaggage._entries.delete(key);\n }\n return newBaggage;\n }\n\n clear(): BaggageImpl {\n return new BaggageImpl();\n }\n}\n"]}
|
5
node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.d.ts
generated
vendored
Normal file
5
node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
/**
|
||||
* Symbol used to make BaggageEntryMetadata an opaque type
|
||||
*/
|
||||
export declare const baggageEntryMetadataSymbol: unique symbol;
|
||||
//# sourceMappingURL=symbol.d.ts.map
|
20
node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js
generated
vendored
Normal file
20
node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* Symbol used to make BaggageEntryMetadata an opaque type
|
||||
*/
|
||||
export var baggageEntryMetadataSymbol = Symbol('BaggageEntryMetadata');
|
||||
//# sourceMappingURL=symbol.js.map
|
1
node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js.map
generated
vendored
Normal file
1
node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"symbol.js","sourceRoot":"","sources":["../../../../src/baggage/internal/symbol.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AACH,MAAM,CAAC,IAAM,0BAA0B,GAAG,MAAM,CAAC,sBAAsB,CAAC,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/**\n * Symbol used to make BaggageEntryMetadata an opaque type\n */\nexport const baggageEntryMetadataSymbol = Symbol('BaggageEntryMetadata');\n"]}
|
Loading…
Add table
Add a link
Reference in a new issue