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

@ts-common/source-map

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-common/source-map - npm Package Compare versions

Comparing version 0.4.3 to 0.5.0

4

dist/index.d.ts

@@ -57,6 +57,6 @@ import { StringMap } from "@ts-common/string-map";

*/
export declare const stringMapMerge: <T extends json.Json>(...array: (StringMap<T> | undefined)[]) => StringMap<T>;
export declare const stringMapMerge: <T extends json.Json>(...array: readonly (StringMap<T> | undefined)[]) => StringMap<T>;
export declare const propertySetMap: <T extends sm.PartialStringMap<keyof T & string, json.Json>>(source: T, f: propertySet.PartialFactory<T>) => T;
export declare const getRootObjectInfo: (info: ObjectInfo) => RootObjectInfo;
export declare const getPath: (info: ObjectInfo) => ReadonlyArray<string | number>;
export declare const getPath: (info: ObjectInfo) => readonly (string | number)[];
/**

@@ -63,0 +63,0 @@ * Returns a deep clone of `source` and set a source-map for each member.

{
"name": "@ts-common/source-map",
"version": "0.4.3",
"version": "0.5.0",
"description": "Source Map",

@@ -54,13 +54,13 @@ "main": "dist/index.js",

"mocha": "^6.0.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-junit-reporter": "^1.21.0",
"nyc": "^13.3.0",
"tslib": "^1.9.3",
"typescript": "^3.3.4000"
"typescript": "^3.4.1"
},
"dependencies": {
"@ts-common/iterator": "^0.2.0",
"@ts-common/json": "^0.2.1",
"@ts-common/property-set": "^0.0.10",
"@ts-common/string-map": "^0.2.6"
"@ts-common/iterator": "^0.3.0",
"@ts-common/json": "^0.3.0",
"@ts-common/property-set": "^0.1.0",
"@ts-common/string-map": "^0.3.0"
}
}

@@ -168,3 +168,3 @@ import { StringMap } from "@ts-common/string-map"

export const stringMapMerge = <T extends Data>(
...array: Array<StringMap<T>|undefined>
...array: readonly (StringMap<T>|undefined)[]
): StringMap<T> => {

@@ -216,3 +216,3 @@ if (array.length === 0) {

export const getPath = (info: ObjectInfo): ReadonlyArray<string|number> =>
export const getPath = (info: ObjectInfo): readonly (string|number)[] =>
_.reverse(_.filterMap(getReversedInfoIterator(info), i => i.isChild ? i.property : undefined))

@@ -219,0 +219,0 @@

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