New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@inversifyjs/reflect-metadata-utils

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inversifyjs/reflect-metadata-utils - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

lib/cjs/reflectMetadata/utils/getOwnReflectMetadata.d.ts

7

CHANGELOG.md
# @inversifyjs/reflect-metadata-utils
## 1.1.0
### Minor Changes
- 68b15b1: Added `getOwnReflectMetadata`
- d75544b: Added `updateOwnReflectMetadata`
## 1.0.0

@@ -4,0 +11,0 @@

4

lib/cjs/index.d.ts

@@ -0,5 +1,7 @@

import { getOwnReflectMetadata } from './reflectMetadata/utils/getOwnReflectMetadata';
import { getReflectMetadata } from './reflectMetadata/utils/getReflectMetadata';
import { setReflectMetadata } from './reflectMetadata/utils/setReflectMetadata';
import { updateOwnReflectMetadata } from './reflectMetadata/utils/updateOwnReflectMetadata';
import { updateReflectMetadata } from './reflectMetadata/utils/updateReflectMetadata';
export { getReflectMetadata, setReflectMetadata, updateReflectMetadata };
export { getReflectMetadata, getOwnReflectMetadata, setReflectMetadata, updateOwnReflectMetadata, updateReflectMetadata, };
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateReflectMetadata = exports.setReflectMetadata = exports.getReflectMetadata = void 0;
exports.updateReflectMetadata = exports.updateOwnReflectMetadata = exports.setReflectMetadata = exports.getOwnReflectMetadata = exports.getReflectMetadata = void 0;
const getOwnReflectMetadata_1 = require("./reflectMetadata/utils/getOwnReflectMetadata");
Object.defineProperty(exports, "getOwnReflectMetadata", { enumerable: true, get: function () { return getOwnReflectMetadata_1.getOwnReflectMetadata; } });
const getReflectMetadata_1 = require("./reflectMetadata/utils/getReflectMetadata");

@@ -8,4 +10,6 @@ Object.defineProperty(exports, "getReflectMetadata", { enumerable: true, get: function () { return getReflectMetadata_1.getReflectMetadata; } });

Object.defineProperty(exports, "setReflectMetadata", { enumerable: true, get: function () { return setReflectMetadata_1.setReflectMetadata; } });
const updateOwnReflectMetadata_1 = require("./reflectMetadata/utils/updateOwnReflectMetadata");
Object.defineProperty(exports, "updateOwnReflectMetadata", { enumerable: true, get: function () { return updateOwnReflectMetadata_1.updateOwnReflectMetadata; } });
const updateReflectMetadata_1 = require("./reflectMetadata/utils/updateReflectMetadata");
Object.defineProperty(exports, "updateReflectMetadata", { enumerable: true, get: function () { return updateReflectMetadata_1.updateReflectMetadata; } });
//# sourceMappingURL=index.js.map

@@ -0,1 +1,3 @@

declare function getOwnReflectMetadata<TMetadata>(target: object, metadataKey: unknown): TMetadata | undefined;
declare function getReflectMetadata<TMetadata>(target: object, metadataKey: unknown): TMetadata | undefined;

@@ -5,4 +7,6 @@

declare function updateOwnReflectMetadata<TMetadata>(target: object, metadataKey: unknown, buildDefaultValue: () => TMetadata, callback: (metadata: TMetadata) => TMetadata): void;
declare function updateReflectMetadata<TMetadata>(target: object, metadataKey: unknown, buildDefaultValue: () => TMetadata, callback: (metadata: TMetadata) => TMetadata): void;
export { getReflectMetadata, setReflectMetadata, updateReflectMetadata };
export { getOwnReflectMetadata, getReflectMetadata, setReflectMetadata, updateOwnReflectMetadata, updateReflectMetadata };

@@ -1,2 +0,2 @@

function e(e,t){return Reflect.getMetadata(t,e)}function t(e,t,n){Reflect.defineMetadata(t,n,e)}function n(t,n,a,f){const c=f(e(t,n)??a());Reflect.defineMetadata(n,c,t)}export{e as getReflectMetadata,t as setReflectMetadata,n as updateReflectMetadata};
function t(t,e){return Reflect.getOwnMetadata(e,t)}function e(t,e){return Reflect.getMetadata(e,t)}function n(t,e,n){Reflect.defineMetadata(e,n,t)}function a(e,n,a,f){const c=f(t(e,n)??a());Reflect.defineMetadata(n,c,e)}function f(t,n,a,f){const c=f(e(t,n)??a());Reflect.defineMetadata(n,c,t)}export{t as getOwnReflectMetadata,e as getReflectMetadata,n as setReflectMetadata,a as updateOwnReflectMetadata,f as updateReflectMetadata};
//# sourceMappingURL=index.js.map
{
"name": "@inversifyjs/reflect-metadata-utils",
"version": "1.0.0",
"version": "1.1.0",
"description": "Reflect metadata utils",

@@ -34,3 +34,3 @@ "main": "lib/cjs/index.js",

"devDependencies": {
"@eslint/js": "9.17.0",
"@eslint/js": "9.18.0",
"@jest/globals": "29.7.0",

@@ -43,3 +43,3 @@ "@stryker-mutator/core": "8.7.1",

"@typescript-eslint/parser": "8.19.1",
"eslint": "9.17.0",
"eslint": "9.18.0",
"jest": "29.7.0",

@@ -49,3 +49,3 @@ "prettier": "3.4.2",

"rollup": "4.30.1",
"ts-loader": "9.5.1",
"ts-loader": "9.5.2",
"ts-jest": "29.2.5",

@@ -52,0 +52,0 @@ "ts-node": "10.9.2",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc