Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@forklaunch/common

Package Overview
Dependencies
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forklaunch/common - npm Package Compare versions

Comparing version
0.1.3
to
0.1.4
+1
-1
lib/jest.config.d.ts.map

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

{"version":3,"file":"jest.config.d.ts","sourceRoot":"","sources":["../jest.config.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,oBAkBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
{"version":3,"file":"jest.config.d.ts","sourceRoot":"","sources":["../jest.config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,oBAiBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}

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

// import type { Config } from 'jest';
const jestConfig = {
// [...]
preset: 'ts-jest/presets/default-esm', // or other ESM presets

@@ -5,0 +3,0 @@ moduleNameMapper: {

@@ -12,3 +12,3 @@ /**

[K in keyof T]: T[K];
} & unknown;
} & {};
//# sourceMappingURL=prettify.types.d.ts.map

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

{"version":3,"file":"prettify.types.d.ts","sourceRoot":"","sources":["../../../src/types/prettify.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACrB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACvB,GAAG,OAAO,CAAC"}
{"version":3,"file":"prettify.types.d.ts","sourceRoot":"","sources":["../../../src/types/prettify.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAC"}
{
"name": "@forklaunch/common",
"version": "0.1.3",
"version": "0.1.4",
"description": "Common package for base types, interfaces, implementations.",

@@ -9,2 +9,11 @@ "files": [

"types": "lib/index.d.ts",
"scripts": {
"test": "vitest --passWithNoTests",
"build": "tsc",
"clean": "rm -rf lib pnpm.lock.yaml node_modules",
"docs": "typedoc --out docs *",
"lint": "eslint . -c eslint.config.mjs",
"lint:fix": "eslint . -c eslint.config.mjs --fix",
"format": "prettier --ignore-path=.prettierignore --config .prettierrc '**/*.ts' --write"
},
"repository": {

@@ -44,12 +53,3 @@ "type": "git",

},
"type": "module",
"scripts": {
"test": "vitest --passWithNoTests",
"build": "tsc",
"clean": "rm -rf lib pnpm.lock.yaml node_modules",
"docs": "typedoc --out docs *",
"lint": "eslint . -c eslint.config.mjs",
"lint:fix": "eslint . -c eslint.config.mjs --fix",
"format": "prettier --ignore-path=.prettierignore --config .prettierrc '**/*.ts' --write"
}
}
"type": "module"
}
export * from "./isRecord";
//# sourceMappingURL=index.d.ts.map
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../dist/guards/index.js"],"names":[],"mappings":""}
export * from './isRecord';
/**
* Check if the given object is a record.
*
* @param {unknown} obj - The object to check.
* @returns {boolean} - True if the object is a record, false otherwise.
*/
export function isRecord(obj: unknown): boolean;
//# sourceMappingURL=isRecord.d.ts.map
{"version":3,"file":"isRecord.d.ts","sourceRoot":"","sources":["../../../dist/guards/isRecord.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,8BAHW,OAAO,GACL,OAAO,CAInB"}
/**
* Check if the given object is a record.
*
* @param {unknown} obj - The object to check.
* @returns {boolean} - True if the object is a record, false otherwise.
*/
export function isRecord(obj) {
return obj !== null && typeof obj === 'object' && !Array.isArray(obj);
}
export * from "./guards";
export * from "./types";
//# sourceMappingURL=index.d.ts.map
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../dist/index.js"],"names":[],"mappings":""}
export * from './guards';
export * from './types';
export default jestConfig;
declare namespace jestConfig {
let preset: string;
let moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': string;
};
let transform: {
'^.+\\.[tj]sx?$': (string | {
useESM: boolean;
})[];
'^.+\\.js$': string;
};
let testPathIgnorePatterns: string[];
}
//# sourceMappingURL=jest.config.d.ts.map
{"version":3,"file":"jest.config.d.ts","sourceRoot":"","sources":["../../dist/jest.config.js"],"names":[],"mappings":""}
// import type { Config } from 'jest';
const jestConfig = {
// [...]
preset: 'ts-jest/presets/default-esm', // or other ESM presets
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1'
},
transform: {
// '^.+\\.[tj]sx?$' to process ts,js,tsx,jsx with `ts-jest`
// '^.+\\.m?[tj]sx?$' to process ts,js,tsx,jsx,mts,mjs,mtsx,mjsx with `ts-jest`
'^.+\\.[tj]sx?$': [
'ts-jest',
{
useESM: true
}
],
'^.+\\.js$': 'babel-jest'
},
testPathIgnorePatterns: ['.*dist/', '.*node_modules/']
};
export default jestConfig;
export * from "./src";
//# sourceMappingURL=index.d.ts.map
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../dist/lib/index.js"],"names":[],"mappings":""}
export * from './src';
export default jestConfig;
declare namespace jestConfig {
let preset: string;
let moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': string;
};
let transform: {
'^.+\\.[tj]sx?$': (string | {
useESM: boolean;
})[];
'^.+\\.js$': string;
};
let testPathIgnorePatterns: string[];
}
//# sourceMappingURL=jest.config.d.ts.map
{"version":3,"file":"jest.config.d.ts","sourceRoot":"","sources":["../../../dist/lib/jest.config.js"],"names":[],"mappings":""}
// import type { Config } from 'jest';
const jestConfig = {
// [...]
preset: 'ts-jest/presets/default-esm', // or other ESM presets
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1'
},
transform: {
// '^.+\\.[tj]sx?$' to process ts,js,tsx,jsx with `ts-jest`
// '^.+\\.m?[tj]sx?$' to process ts,js,tsx,jsx,mts,mjs,mtsx,mjsx with `ts-jest`
'^.+\\.[tj]sx?$': [
'ts-jest',
{
useESM: true
}
],
'^.+\\.js$': 'babel-jest'
},
testPathIgnorePatterns: ['.*dist/', '.*node_modules/']
};
export default jestConfig;
/**
* Check if the given object is a record.
*
* @param {unknown} obj - The object to check.
* @returns {boolean} - True if the object is a record, false otherwise.
*/
export function isRecord(obj: unknown): boolean;
//# sourceMappingURL=isRecord.d.ts.map
{"version":3,"file":"isRecord.d.ts","sourceRoot":"","sources":["../../../../../dist/lib/src/guards/isRecord.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,8BAHW,OAAO,GACL,OAAO,CAInB"}
/**
* Check if the given object is a record.
*
* @param {unknown} obj - The object to check.
* @returns {boolean} - True if the object is a record, false otherwise.
*/
export function isRecord(obj) {
return obj !== null && typeof obj === 'object' && !Array.isArray(obj);
}
export * from "./guards/isRecord";
export * from "./types/flatten.types";
export * from "./types/prettify.types";
//# sourceMappingURL=index.d.ts.map
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../dist/lib/src/index.js"],"names":[],"mappings":""}
export * from './guards/isRecord';
export * from './types/flatten.types';
export * from './types/prettify.types';
export {};
//# sourceMappingURL=flatten.types.d.ts.map
{"version":3,"file":"flatten.types.d.ts","sourceRoot":"","sources":["../../../../../dist/lib/src/types/flatten.types.js"],"names":[],"mappings":""}
export {};
//# sourceMappingURL=prettify.types.d.ts.map
{"version":3,"file":"prettify.types.d.ts","sourceRoot":"","sources":["../../../../../dist/lib/src/types/prettify.types.js"],"names":[],"mappings":""}
declare const _default: import("vite").UserConfig;
export default _default;
//# sourceMappingURL=vitest.config.d.ts.map
{"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../../../dist/lib/vitest.config.js"],"names":[],"mappings":""}
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
exclude: ['**/lib/**', '**/node_modules/**']
}
});
export {};
//# sourceMappingURL=flatten.types.d.ts.map
{"version":3,"file":"flatten.types.d.ts","sourceRoot":"","sources":["../../../dist/types/flatten.types.js"],"names":[],"mappings":""}
export * from "./flatten.types";
export * from "./prettify.types";
//# sourceMappingURL=index.d.ts.map
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../dist/types/index.js"],"names":[],"mappings":""}
export * from './flatten.types';
export * from './prettify.types';
export {};
//# sourceMappingURL=prettify.types.d.ts.map
{"version":3,"file":"prettify.types.d.ts","sourceRoot":"","sources":["../../../dist/types/prettify.types.js"],"names":[],"mappings":""}
MIT License
Copyright (c) 2024 forklaunch
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Sorry, the diff of this file is not supported yet