@contrast/rewriter 1.14.0 → 1.16.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/lib/index.js +2 -0
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -97,6 +97,7 @@ class Rewriter {
|
|
|
97
97
|
*/
|
|
98
98
|
rewriteConfig(opts) {
|
|
99
99
|
return {
|
|
100
|
+
swcrc: false,
|
|
100
101
|
filename: opts.filename,
|
|
101
102
|
isModule: opts.isModule,
|
|
102
103
|
env: {
|
|
@@ -160,6 +161,7 @@ class Rewriter {
|
|
|
160
161
|
*/
|
|
161
162
|
unwriteSync(content) {
|
|
162
163
|
return transformSync(content, {
|
|
164
|
+
swcrc: false,
|
|
163
165
|
env: {
|
|
164
166
|
targets: {
|
|
165
167
|
node: process.versions.node
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/rewriter",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "A transpilation tool mainly used for instrumentation",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@contrast/agent-swc-plugin": "^2.0.0",
|
|
18
18
|
"@contrast/common": "1.26.0",
|
|
19
|
-
"@contrast/config": "1.
|
|
20
|
-
"@contrast/core": "1.
|
|
21
|
-
"@contrast/logger": "1.
|
|
19
|
+
"@contrast/config": "1.35.0",
|
|
20
|
+
"@contrast/core": "1.40.0",
|
|
21
|
+
"@contrast/logger": "1.13.0",
|
|
22
22
|
"@swc/core": "1.5.29"
|
|
23
23
|
}
|
|
24
24
|
}
|