New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@awsui/test-utils-converter

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@awsui/test-utils-converter - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

dist/index.js

@@ -6,3 +6,3 @@ "use strict";

const core_1 = require("@babel/core");
const runtimeSelectorsPath = `@amzn/awsui-test-utils-core/selectors`;
const runtimeSelectorsPath = `@awsui/test-utils-core/selectors`;
const ourWrappers = ['ElementWrapper', 'ComponentWrapper'];

@@ -14,4 +14,4 @@ function selectorUtilsGenerator({ types: t }) {

const source = path.get('source');
// Rewrite import path @amzn/awsui-.../dom -> @amzn/awsui-.../selectors
if (source.node.value.startsWith('@amzn/awsui-')) {
// Rewrite import path @awsui/.../dom -> @awsui/.../selectors
if (source.node.value.startsWith('@awsui/')) {
const newImportPath = source.node.value.replace(/\b\/dom\b/, '/selectors');

@@ -18,0 +18,0 @@ source.replaceWith(t.stringLiteral(newImportPath));

@@ -22,5 +22,5 @@ {

"name": "@awsui/test-utils-converter",
"version": "1.0.1",
"version": "1.0.2",
"license": "Apache-2.0",
"homepage": "https://github.com/aws/awsui-documentation"
}
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