@types/webpack-sources
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -8,4 +8,6 @@ // Type definitions for webpack-sources v0.1.2 | ||
/// <reference types="source-list-map" /> | ||
/// <reference types="node" /> | ||
import { SourceNode } from 'source-map' | ||
import { Hash } from 'crypto' | ||
import { SourceNode, RawSourceMap, SourceMapGenerator } from 'source-map' | ||
import { SourceListMap } from 'source-list-map' | ||
@@ -20,6 +22,6 @@ | ||
source: string; | ||
map: string; | ||
map: RawSourceMap; | ||
}; | ||
updateHash(hash: any): void; | ||
updateHash(hash: Hash): void; | ||
@@ -36,7 +38,7 @@ source(options?: any): string; | ||
interface SourceAndMapMixin { | ||
map(options: { columns?: boolean }): string | ||
map(options: { columns?: boolean }): RawSourceMap; | ||
sourceAndMap(options: { columns?: boolean }): { | ||
source: string, | ||
map: string | ||
} | ||
source: string; | ||
map: RawSourceMap; | ||
}; | ||
} | ||
@@ -48,5 +50,7 @@ | ||
_cachedSize: number; | ||
_cachedMaps: any; | ||
node: (options: any) => any; | ||
listMap: (options: any) => any; | ||
_cachedMaps: { | ||
[prop: string]: RawSourceMap | ||
}; | ||
node: (options: any) => SourceNode; | ||
listMap: (options: any) => SourceListMap; | ||
@@ -61,8 +65,8 @@ constructor(source: Source); | ||
source: string; | ||
map: any; | ||
map: RawSourceMap; | ||
}; | ||
map(options: any): any; | ||
map(options: any): RawSourceMap; | ||
updateHash(hash: any): void; | ||
updateHash(hash: Hash): void; | ||
} | ||
@@ -85,3 +89,3 @@ | ||
updateHash(hash: any): void; | ||
updateHash(hash: Hash): void; | ||
} | ||
@@ -102,3 +106,3 @@ | ||
updateHash(hash: any): void; | ||
updateHash(hash: Hash): void; | ||
} | ||
@@ -122,3 +126,3 @@ | ||
updateHash(hash: any): void; | ||
updateHash(hash: Hash): void; | ||
} | ||
@@ -136,5 +140,5 @@ | ||
listMap(options: any): any; | ||
listMap(options: any): SourceListMap; | ||
updateHash(hash: any): void; | ||
updateHash(hash: Hash): void; | ||
} | ||
@@ -149,3 +153,3 @@ | ||
map(options: any): any; | ||
map(options: any): null; | ||
@@ -156,3 +160,3 @@ node(options: any): SourceNode; | ||
updateHash(hash: any): void; | ||
updateHash(hash: Hash): void; | ||
} | ||
@@ -179,3 +183,3 @@ | ||
listMap(options: any): any; | ||
listMap(options: any): SourceListMap; | ||
@@ -193,7 +197,10 @@ _replacementToSourceNode(oldNode: SourceNode, newString: string): string | SourceNode; | ||
_name: string; | ||
_sourceMap: any; | ||
_originalSource: Source; | ||
_innerSourceMap: any; | ||
_sourceMap: SourceMapGenerator | RawSourceMap; | ||
_originalSource: string; | ||
_innerSourceMap: RawSourceMap; | ||
constructor(value: string, name: string, sourceMap: any, originalSource: Source, innerSourceMap?: any); | ||
constructor( | ||
value: string, name: string, sourceMap: SourceMapGenerator | RawSourceMap, originalSource: string, | ||
innerSourceMap?: RawSourceMap | ||
); | ||
@@ -210,3 +217,3 @@ source(): string; | ||
updateHash(hash: any): void; | ||
updateHash(hash: Hash): void; | ||
} |
{ | ||
"name": "@types/webpack-sources", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "TypeScript definitions for webpack-sources v0.1.2", | ||
@@ -15,7 +15,8 @@ "license": "MIT", | ||
"@types/source-list-map": "*", | ||
"@types/source-map": "*" | ||
"@types/source-map": "*", | ||
"@types/node": "*" | ||
}, | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "e9ac9547e8f6b25280b15d390111ecfb18eba140875ee55aafa72fee168ab807" | ||
"typesPublisherContentHash": "8ae6bbf6a437e5285fe4285574994f8afba07a719466837625ab57ebfb00077f" | ||
} |
@@ -11,6 +11,6 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 07 Nov 2016 16:31:54 GMT | ||
* Last updated: Thu, 10 Nov 2016 12:27:28 GMT | ||
* File structure: ProperModule | ||
* Library Dependencies: source-list-map, source-map | ||
* Module Dependencies: source-list-map, source-map | ||
* Library Dependencies: node, source-list-map, source-map | ||
* Module Dependencies: crypto, source-list-map, source-map | ||
* Global values: none | ||
@@ -17,0 +17,0 @@ |
@@ -5,2 +5,3 @@ { | ||
"libraryDependencies": [ | ||
"node", | ||
"source-list-map", | ||
@@ -10,2 +11,3 @@ "source-map" | ||
"moduleDependencies": [ | ||
"crypto", | ||
"source-list-map", | ||
@@ -30,3 +32,3 @@ "source-map" | ||
"hasPackageJson": false, | ||
"contentHash": "e9ac9547e8f6b25280b15d390111ecfb18eba140875ee55aafa72fee168ab807" | ||
"contentHash": "8ae6bbf6a437e5285fe4285574994f8afba07a719466837625ab57ebfb00077f" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6966
166
3
+ Added@types/node@*
+ Added@types/node@22.9.0(transitive)
+ Addedundici-types@6.19.8(transitive)