@atlaspack/rust 3.13.1-dev-swc44-2ebba71e5.0 → 3.14.1-dev-40d0e250f.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -0
- package/index.darwin-arm64.node +0 -0
- package/index.darwin-x64.node +0 -0
- package/index.js +2 -1
- package/index.linux-arm64-gnu.node +0 -0
- package/index.linux-x64-gnu.node +0 -0
- package/package.json +2 -2
- package/types.d.ts +6 -0
package/index.d.ts
CHANGED
|
@@ -183,6 +183,7 @@ export interface Replacement {
|
|
|
183
183
|
}
|
|
184
184
|
export declare function performStringReplacements(input: string, replacements: Array<Replacement>): string
|
|
185
185
|
export declare function transform(opts: object): unknown
|
|
186
|
+
export declare function determineJsxConfiguration(filePath: string, isSource: boolean, config: object, projectRoot: string): unknown
|
|
186
187
|
export declare function transformAsync(opts: object): object
|
|
187
188
|
export declare function getVcsStateSnapshot(path: string, excludePatterns: Array<string>): object
|
|
188
189
|
export declare function getEventsSince(repoPath: string, vcsStateSnapshot: unknown, newRev?: string | undefined | null): object
|
package/index.darwin-arm64.node
CHANGED
|
Binary file
|
package/index.darwin-x64.node
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -310,7 +310,7 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const { initTracingSubscriber, Lmdb, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, AtlaspackTracer, createAssetId, atlaspackNapiCreate, atlaspackNapiBuildAssetGraph, atlaspackNapiRespondToFsEvents, createDependencyId, createEnvironmentId, setAllEnvironments, getAllEnvironments, getEnvironment, addEnvironment, getAvailableThreads, initializeMonitoring, closeMonitoring, getNativeMemoryStats, resetMemoryTracking, sampleNativeMemory, newNodejsWorker, runInlineRequiresOptimizer, runInlineRequiresOptimizerAsync, applyCompiledCssInJsPlugin, Resolver, SourceMap, performStringReplacements, transform, transformAsync, getVcsStateSnapshot, getEventsSince, applyTokensPlugin } = nativeBinding
|
|
313
|
+
const { initTracingSubscriber, Lmdb, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, AtlaspackTracer, createAssetId, atlaspackNapiCreate, atlaspackNapiBuildAssetGraph, atlaspackNapiRespondToFsEvents, createDependencyId, createEnvironmentId, setAllEnvironments, getAllEnvironments, getEnvironment, addEnvironment, getAvailableThreads, initializeMonitoring, closeMonitoring, getNativeMemoryStats, resetMemoryTracking, sampleNativeMemory, newNodejsWorker, runInlineRequiresOptimizer, runInlineRequiresOptimizerAsync, applyCompiledCssInJsPlugin, Resolver, SourceMap, performStringReplacements, transform, determineJsxConfiguration, transformAsync, getVcsStateSnapshot, getEventsSince, applyTokensPlugin } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.initTracingSubscriber = initTracingSubscriber
|
|
316
316
|
module.exports.Lmdb = Lmdb
|
|
@@ -346,6 +346,7 @@ module.exports.Resolver = Resolver
|
|
|
346
346
|
module.exports.SourceMap = SourceMap
|
|
347
347
|
module.exports.performStringReplacements = performStringReplacements
|
|
348
348
|
module.exports.transform = transform
|
|
349
|
+
module.exports.determineJsxConfiguration = determineJsxConfiguration
|
|
349
350
|
module.exports.transformAsync = transformAsync
|
|
350
351
|
module.exports.getVcsStateSnapshot = getVcsStateSnapshot
|
|
351
352
|
module.exports.getEventsSince = getEventsSince
|
|
Binary file
|
package/index.linux-x64-gnu.node
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/rust",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.1-dev-40d0e250f.0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
|
|
37
37
|
},
|
|
38
38
|
"type": "commonjs",
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "40d0e250fe36a8bf5480a2d93fe9a2eb0c9286c8"
|
|
40
40
|
}
|
package/types.d.ts
CHANGED
|
@@ -164,6 +164,12 @@ export declare function performStringReplacements(
|
|
|
164
164
|
): string;
|
|
165
165
|
export declare function transform(opts: object): unknown;
|
|
166
166
|
export declare function transformAsync(opts: object): object;
|
|
167
|
+
export declare function determineJsxConfiguration(
|
|
168
|
+
file_path: string,
|
|
169
|
+
is_source: boolean,
|
|
170
|
+
config: JsObject | null | undefined,
|
|
171
|
+
project_root: string,
|
|
172
|
+
): object;
|
|
167
173
|
export declare function getVcsStateSnapshot(
|
|
168
174
|
path: string,
|
|
169
175
|
excludePatterns: Array<string>,
|