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

os-paths

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

os-paths - npm Package Compare versions

Comparing version 6.5.0 to 6.6.0

2

dist/cjs/lib/OSPaths.js

@@ -83,2 +83,2 @@ "use strict";

exports.Adapt = Adapt;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT1NQYXRocy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvT1NQYXRocy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBa0JBLFNBQVMsT0FBTyxDQUFDLENBQTRCO0lBQzVDLE9BQU8sQ0FBQyxDQUFDLENBQUM7QUFDWCxDQUFDO0FBRUQsU0FBUyxLQUFLLENBQUMsUUFBMEI7SUFDaEMsSUFBQSxHQUFHLEdBQWUsUUFBUSxJQUF2QixFQUFFLEVBQUUsR0FBVyxRQUFRLEdBQW5CLEVBQUUsSUFBSSxHQUFLLFFBQVEsS0FBYixDQUFjO0lBRW5DLElBQU0sT0FBTyxHQUFHLE9BQU8sQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUMsQ0FBQztJQUV4RCxTQUFTLGFBQWEsQ0FBQyxLQUF5QjtRQUMvQyxPQUFPLEtBQUssQ0FBQyxDQUFDLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxFQUFFLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQ2pGLENBQUM7SUFFRCxTQUFTLElBQUk7UUFDWixJQUFNLEtBQUssR0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BRSxDQUFDLE1BQU0sQ0FBQyxDQUFDLEVBQTNDLENBQTJDO2dCQUNqRCxjQUFNLE9BQUEsY0FBYyxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsYUFBYSxDQUFDLEVBQUUsQ0FBQyxJQUFJLEVBQUUsTUFBTSxDQUFDLENBQUMsRUFBdEQsQ0FBc0Q7YUFDNUQsQ0FBQztZQUNGLElBQU0sQ0FBQyxHQUFHLGdCQUFnQixDQUFDLElBQUksQ0FBQyxVQUFDLENBQUMsSUFBSyxPQUFBLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDLEVBQUUsQ0FBQyxFQUFsQixDQUFrQixDQUFDLENBQUM7WUFDM0QsT0FBTyxDQUFDLENBQUMsSUFBSSxhQUFhLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxJQUFJLFFBQVEsQ0FBQztRQUM5QyxDQUFDO1FBRUQsT0FBTyxPQUFPLENBQUMsQ0FBQyxDQUFDLE9BQU8sRUFBRSxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUN0QyxDQUFDO0lBR0Q7UUFDQztZQUNDLFNBQVMsT0FBTztnQkFDZixPQUFPLElBQUksUUFBUSxFQUFhLENBQUM7WUFDbEMsQ0FBQztZQUVELE9BQU8sQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO1lBQ3BCLE9BQU8sQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO1lBRXBCLE9BQU8sT0FBTyxDQUFDO1FBQ2hCLENBQUM7UUFDRixlQUFDO0lBQUQsQ0FBQyxBQVhELElBV0M7SUFFRCxPQUFPLEVBQUUsT0FBTyxFQUFFLElBQUksUUFBUSxFQUFhLEVBQUUsQ0FBQztBQUMvQyxDQUFDO0FBR1Esc0JBQUsifQ==

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

/** Determine common OS/platform paths (home, temp, ...) */
declare type OSPaths = {
/** @constructor Create an `OSPaths` object. */
/** `OSPaths` (API) Determine common OS/platform paths (home, temp, ...) */
interface OSPaths {
/** Create an `OSPaths` object (`new` is optional). */
new (): OSPaths;
/** Create an `OSPaths` object (`new` is optional). */
(): OSPaths;
/** @constructor Create an `OSPaths` object. */
new (): OSPaths;
/** Returns the path string of the user's home directory (or `undefined` if the user's home directory is not resolvable). */

@@ -11,6 +11,6 @@ home(): string | undefined;

temp(): string;
};
}
declare const _: OSPaths;
declare const _default: OSPaths;
export = _;
export = _default;
"use strict";
var OSPaths_js_1 = require("./lib/OSPaths.js");
var node_js_1 = require("./platform-adapters/node.js");
var _ = OSPaths_js_1.Adapt(node_js_1.adapter).OSPaths;
module.exports = _;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kLmNqcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9tb2QuY2pzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwrQ0FBeUM7QUFDekMsdURBQXNEO0FBRXRELElBQU0sQ0FBQyxHQUFHLGtCQUFLLENBQUMsaUJBQU8sQ0FBQyxDQUFDLE9BQU8sQ0FBQztBQUVqQyxpQkFBUyxDQUFDLENBQUMifQ==
module.exports = OSPaths_js_1.Adapt(node_js_1.adapter).OSPaths;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kLmNqcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9tb2QuY2pzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwrQ0FBa0Q7QUFDbEQsdURBQXNEO0FBRXRELGlCQUFTLGtCQUFLLENBQUMsaUJBQU8sQ0FBQyxDQUFDLE9BQWtCLENBQUMifQ==

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

/** Determine common OS/platform paths (home, temp, ...) */
declare type OSPaths = {
/** @constructor Create an `OSPaths` object. */
/** `OSPaths` (API) Determine common OS/platform paths (home, temp, ...) */
interface OSPaths {
/** Create an `OSPaths` object (`new` is optional). */
new (): OSPaths;
/** Create an `OSPaths` object (`new` is optional). */
(): OSPaths;
/** @constructor Create an `OSPaths` object. */
new (): OSPaths;
/** Returns the path string of the user's home directory (or `undefined` if the user's home directory is not resolvable). */

@@ -11,6 +11,6 @@ home(): string | undefined;

temp(): string;
};
}
declare const _: OSPaths;
declare const _default: OSPaths;
export = _;
export = _default;

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

/** Determine common OS/platform paths (home, temp, ...) */
declare type OSPaths = {
/** @constructor Create an `OSPaths` object. */
/** `OSPaths` (API) Determine common OS/platform paths (home, temp, ...) */
interface OSPaths {
/** Create an `OSPaths` object (`new` is optional). */
new (): OSPaths;
/** Create an `OSPaths` object (`new` is optional). */
(): OSPaths;
/** @constructor Create an `OSPaths` object. */
new (): OSPaths;
/** Returns the path string of the user's home directory (or `undefined` if the user's home directory is not resolvable). */

@@ -11,7 +11,7 @@ home(): string | undefined;

temp(): string;
};
}
declare const default_: OSPaths;
declare const _default: OSPaths;
export default default_;
export default _default;
export { OSPaths };
{
"name": "os-paths",
"version": "6.5.0",
"version": "6.6.0",
"description": "Determine common OS/platform paths (home, temp, ...)",

@@ -66,3 +66,3 @@ "license": "MIT",

"build:umd": "exec-if-updated --source package.json --source tsconfig.json --source \"tsconfig/**\" --source \"rollup.*.config.js\" --source \"src/**\" --target build/.targets/build-umd.succeeded \"run-s -n rebuild:umd\"",
"build:tests": "exec-if-updated --source package.json --source tsconfig.json --source \"tsconfig/**\" --source \"rollup.*.config.js\" --source \"src/**\" --target build/.targets/build-tests.succeeded \"run-s -n rebuild:tests\"",
"build:testbed": "exec-if-updated --source package.json --source tsconfig.json --source \"tsconfig/**\" --source \"rollup.*.config.js\" --source \"src/**\" --target build/.targets/build-testbed.succeeded \"run-s -n rebuild:testbed\"",
"build:types": "exec-if-updated --source package.json --source tsconfig.json --source \"tsconfig/**\" --source \"rollup.*.config.js\" --source \"src/**\" --target build/.targets/build-types.succeeded \"run-s -n rebuild:types\"",

@@ -108,3 +108,3 @@ "# clean # remove build artifacts": "",

"rebuild:umd": "shx rm -fr build/umd && tsc -p tsconfig/tsconfig.umd.json && shx mkdir -p build/.targets && shx touch build/.targets/build-umd.succeeded",
"rebuild:tests": "shx rm -fr build/tests_ && tsc -p tsconfig/tsconfig.tests.json && shx mkdir -p build/.targets && shx touch build/.targets/build-tests.succeeded",
"rebuild:testbed": "shx rm -fr build/testbed && tsc -p tsconfig/tsconfig.testbed.json && shx mkdir -p build/.targets && shx touch build/.targets/build-testbed.succeeded",
"rebuild:types": "shx rm -fr build/types && tsc -p tsconfig/tsconfig.types.json && shx mkdir -p build/.targets && shx touch build/.targets/build-types.succeeded",

@@ -223,3 +223,3 @@ "# retest # clean and (re-)test project": "",

"rewritePaths": {
"src/": "build/tests_/src/"
"src/": "build/testbed/src/"
}

@@ -226,0 +226,0 @@ }

@@ -74,5 +74,5 @@ <!DOCTYPE markdown><!-- markdownlint-disable no-inline-html -->

##### Required Deno permissions
###### `--allow-env` &middot; _allow access to the process environment variables_
- `--allow-env` (allow access to the process environment variables) <br/> This module/package requires access to various environment variable to determine platform configuration (eg, location of temp and user directories).
This module/package requires access to various environment variable to determine platform configuration (eg, location of temp and user directories).

@@ -79,0 +79,0 @@ ## API

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