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

@looker/components-test-utils

Package Overview
Dependencies
Maintainers
10
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@looker/components-test-utils - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0-alpha.1

19

CHANGELOG.md

@@ -6,2 +6,21 @@ # Change Log

# [1.2.0-alpha.1](https://github.com/looker-open-source/components/compare/v1.2.0-alpha.0...v1.2.0-alpha.1) (2021-04-26)
**Note:** Version bump only for package @looker/components-test-utils
# [1.2.0-alpha.0](https://github.com/looker-open-source/components/compare/v1.1.3...v1.2.0-alpha.0) (2021-04-26)
### Features
* CSS Reset now uses a "defensive" rather than "offensive" strategy (no more GlobalStyles) ([#2120](https://github.com/looker-open-source/components/issues/2120)) ([266e2f2](https://github.com/looker-open-source/components/commit/266e2f25c3396eee5a5b2d2be234c7ccad608811))
## [1.1.3](https://github.com/looker-open-source/components/compare/v1.1.2...v1.1.3) (2021-03-31)

@@ -8,0 +27,0 @@

2

lib/cjs/create_with_theme.js

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

const withThemeProvider = Component => _react2.default.createElement(_componentsProviders.ComponentsProvider, {
globalStyle: false
snapshotMode: true
}, Component);

@@ -22,0 +22,0 @@

@@ -5,2 +5,2 @@ import { RenderOptions } from '@testing-library/react';

export declare const withThemeProvider: (Component: ReactElement<any>) => JSX.Element;
export declare const renderWithTheme: (Component: ReactElement<any>, options?: Pick<RenderOptions<typeof import("@testing-library/dom/types/queries")>, "container" | "baseElement" | "hydrate" | "wrapper"> | undefined) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries")>;
export declare const renderWithTheme: (Component: ReactElement<any>, options?: Omit<RenderOptions<typeof import("@testing-library/dom/types/queries"), HTMLElement>, "queries"> | undefined) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement>;

@@ -7,3 +7,3 @@ import { ComponentsProvider } from '@looker/components-providers';

return React.createElement(ComponentsProvider, {
globalStyle: false
snapshotMode: true
}, Component);

@@ -10,0 +10,0 @@ };

{
"name": "@looker/components-test-utils",
"license": "MIT",
"version": "1.1.3",
"version": "1.2.0-alpha.1",
"main": "lib/cjs/index.js",

@@ -21,10 +21,10 @@ "module": "lib/index.js",

"devDependencies": {
"@looker/components-providers": "^1.1.3",
"@testing-library/react": "^11.2.2",
"@types/jest": "^26.0.19",
"@looker/components-providers": "^1.2.0-alpha.1",
"@testing-library/react": "^11.2.6",
"@types/jest": "^26.0.22",
"@types/react": "^16.9.56",
"jest-styled-components": "^7.0.3",
"jest-styled-components": "^7.0.4",
"react": "^16.14.0",
"react-is": "^16.13.1",
"styled-components": "^5.2.1"
"styled-components": "^5.2.3"
},

@@ -35,3 +35,3 @@ "peerDependencies": {

},
"gitHead": "e6b20ef97367236f7d4ee059d321e18241059c93"
"gitHead": "e166157149d6d72fe5b9e3b2cd3b8b63cefe9d6d"
}

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