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

@vxrn/resolve

Package Overview
Dependencies
Maintainers
0
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vxrn/resolve - npm Package Compare versions

Comparing version 1.1.324 to 1.1.325

19

dist/cjs/index.js

@@ -0,5 +1,6 @@

var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {

@@ -14,3 +15,10 @@ for (var name in all)

};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
mod
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
var src_exports = {};

@@ -21,4 +29,7 @@ __export(src_exports, {

module.exports = __toCommonJS(src_exports);
var import_node_url = require("node:url");
const import_meta = {}, resolver = "resolve" in import_meta ? (path) => (0, import_node_url.fileURLToPath)(import_meta.resolve(path)) : "url" in import_meta ? (path) => new URL(path, import_meta.url).pathname : require.resolve, resolvePath = (path) => resolver(path);
var import_node_url = require("node:url"), import_node_module = __toESM(require("node:module"), 1);
const import_meta = {}, resolver = "resolve" in import_meta ? (path) => (0, import_node_url.fileURLToPath)(import_meta.resolve(path)) : "url" in import_meta ? (path) => new URL(path, import_meta.url).pathname : require.resolve, resolvePath = (path, from) => from ? resolveFrom(path, from) : resolver(path);
function resolveFrom(path, from) {
return import_node_module.default.createRequire(from).resolve(path, { paths: [from] });
}
//# sourceMappingURL=index.js.map
"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {

@@ -15,3 +16,10 @@ for (var name in all)

};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
mod
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
var src_exports = {};

@@ -22,3 +30,3 @@ __export(src_exports, {

module.exports = __toCommonJS(src_exports);
var import_node_url = require("node:url");
var import_node_url = require("node:url"), import_node_module = __toESM(require("node:module"), 1);
const import_meta = {};

@@ -29,5 +37,13 @@ var resolver = "resolve" in import_meta ? function(path) {

return new URL(path, import_meta.url).pathname;
} : require.resolve, resolvePath = function(path) {
return resolver(path);
} : require.resolve, resolvePath = function(path, from) {
return from ? resolveFrom(path, from) : resolver(path);
};
function resolveFrom(path, from) {
var _$require = import_node_module.default.createRequire(from);
return _$require.resolve(path, {
paths: [
from
]
});
}
// Annotate the CommonJS export names for ESM import in node:

@@ -34,0 +50,0 @@ 0 && (module.exports = {

import { fileURLToPath } from "node:url";
const resolver = "resolve" in import.meta ? (path) => fileURLToPath(import.meta.resolve(path)) : "url" in import.meta ? (path) => new URL(path, import.meta.url).pathname : require.resolve, resolvePath = (path) => resolver(path);
import module from "node:module";
const resolver = "resolve" in import.meta ? (path) => fileURLToPath(import.meta.resolve(path)) : "url" in import.meta ? (path) => new URL(path, import.meta.url).pathname : require.resolve, resolvePath = (path, from) => from ? resolveFrom(path, from) : resolver(path);
function resolveFrom(path, from) {
return module.createRequire(from).resolve(path, { paths: [from] });
}
export {

@@ -4,0 +8,0 @@ resolvePath

import { fileURLToPath } from "node:url";
import module from "node:module";
var resolver = "resolve" in import.meta ? function(path) {

@@ -6,5 +7,13 @@ return fileURLToPath(import.meta.resolve(path));

return new URL(path, import.meta.url).pathname;
} : require.resolve, resolvePath = function(path) {
return resolver(path);
} : require.resolve, resolvePath = function(path, from) {
return from ? resolveFrom(path, from) : resolver(path);
};
function resolveFrom(path, from) {
var _$require = module.createRequire(from);
return _$require.resolve(path, {
paths: [
from
]
});
}
export {

@@ -11,0 +20,0 @@ resolvePath

{
"name": "@vxrn/resolve",
"version": "1.1.324",
"version": "1.1.325",
"sideEffects": false,

@@ -32,3 +32,3 @@ "source": "src/index.ts",

"devDependencies": {
"@tamagui/build": "^1.116.4"
"@tamagui/build": "^1.116.7"
},

@@ -35,0 +35,0 @@ "publishConfig": {

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

export declare const resolvePath: (path: string) => string;
export declare const resolvePath: (path: string, from?: string) => string;
//# sourceMappingURL=index.d.ts.map

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

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

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