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

@teambit/harmony.modules.resolved-component

Package Overview
Dependencies
Maintainers
15
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teambit/harmony.modules.resolved-component - npm Package Compare versions

Comparing version 0.0.500 to 0.0.501

22

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ResolvedComponent = void 0;
var resolved_component_1 = require("./resolved-component");
Object.defineProperty(exports, "ResolvedComponent", { enumerable: true, get: function () { return resolved_component_1.ResolvedComponent; } });
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "ResolvedComponent", {
enumerable: true,
get: function () {
return _resolvedComponent().ResolvedComponent;
}
});
function _resolvedComponent() {
const data = require("./resolved-component");
_resolvedComponent = function () {
return data;
};
return data;
}
//# sourceMappingURL=index.js.map

24

dist/resolved-component.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ResolvedComponent = void 0;
// TODO: This 2 (component and capsule should be probably an interfaces in the shared types implemented by the actual classes
class ResolvedComponent {
constructor(component, capsule) {
this.component = component;
this.capsule = capsule;
}
require() {
// eslint-disable-next-line global-require, import/no-dynamic-require
return require(this.capsule.path);
}
constructor(component, capsule) {
this.component = component;
this.capsule = capsule;
}
require() {
// eslint-disable-next-line global-require, import/no-dynamic-require
return require(this.capsule.path);
}
}
exports.ResolvedComponent = ResolvedComponent;
//# sourceMappingURL=resolved-component.js.map
{
"name": "@teambit/harmony.modules.resolved-component",
"version": "0.0.500",
"version": "0.0.501",
"homepage": "https://bit.cloud/teambit/harmony/modules/resolved-component",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"name": "modules/resolved-component",
"version": "0.0.500"
"version": "0.0.501"
},

@@ -15,4 +15,4 @@ "dependencies": {},

"@types/mocha": "9.1.0",
"@types/jest": "26.0.20",
"@types/node": "22.10.5"
"chai": "4.3.0",
"@teambit/node.envs.node-babel-mocha": "0.1.4"
},

@@ -19,0 +19,0 @@ "peerDependencies": {},

@@ -8,8 +8,8 @@ declare module '*.png' {

export const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string }>;
export const ReactComponent: FunctionComponent<
SVGProps<SVGSVGElement> & { title?: string }
>;
const src: string;
export default src;
}
// @TODO Gilad
declare module '*.jpg' {

@@ -31,1 +31,13 @@ const value: any;

}
declare module '*.otf' {
const value: any;
export = value;
}
declare module '*.woff' {
const value: any;
export = value;
}
declare module '*.woff2' {
const value: any;
export = value;
}

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