Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@artus/core

Package Overview
Dependencies
Maintainers
7
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artus/core - npm Package Compare versions

Comparing version 1.0.0-beta.4 to 1.0.0-beta.5

8

lib/plugin/base.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BasePlugin = void 0;
const path_1 = __importDefault(require("path"));
class BasePlugin {

@@ -11,4 +15,4 @@ constructor(name, configItem) {

let importPath = (_a = configItem.path) !== null && _a !== void 0 ? _a : '';
if (configItem.package) {
importPath = require.resolve(configItem.package);
if (!importPath && configItem.package) {
importPath = path_1.default.resolve(require.resolve(`${configItem.package}/package.json`), '..');
}

@@ -15,0 +19,0 @@ if (!importPath) {

{
"name": "@artus/core",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "Core package of Artus",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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