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

test-drive

Package Overview
Dependencies
Maintainers
0
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test-drive - npm Package Compare versions

Comparing version 1.6.0 to 2.0.0

dist/helpers.d.ts

55

package.json
{
"name": "test-drive",
"version": "1.6.0",
"version": "2.0.0",
"type": "module",
"description": "Opinionated library for writing web component tests",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./esm/index.d.ts",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"scripts": {
"clean": "rimraf ./cjs ./esm",
"clean": "rimraf ./dist",
"prebuild": "npm run clean",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -p tsconfig.build.json --outDir cjs --module commonjs",
"build:esm": "tsc -p tsconfig.build.json --outDir esm --module esnext",
"build": "tsc",
"pretest": "npm run typecheck && npm run lint",
"test": "mocha-web \"./test/**/*.spec.ts\"",
"test": "mocha-web \"./src/test/**/*.spec.ts\"",
"lint": "eslint",

@@ -20,4 +20,4 @@ "typecheck": "tsc --noEmit"

"dependencies": {
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"chai": "^5.1.2",
"chai-as-promised": "^8.0.1",
"chai-dom": "^1.12.0",

@@ -27,32 +27,31 @@ "chai-style": "^1.0.3",

"promise-assist": "^2.0.1",
"sinon": "^19.0.1",
"sinon-chai": "^3.7.0"
"sinon": "^19.0.2",
"sinon-chai": "^4.0.0"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@playwright/browser-chromium": "^1.47.0",
"@types/chai": "^4.3.19",
"@types/chai-as-promised": "^7.1.8",
"@playwright/browser-chromium": "^1.49.1",
"@types/chai": "^5.0.1",
"@types/chai-as-promised": "^8.0.1",
"@types/chai-dom": "^1.11.3",
"@types/chai-style": "^1.0.2",
"@types/dom-matches": "^2.0.2",
"@types/mocha": "^10.0.8",
"@types/mocha": "^10.0.10",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"esbuild": "^0.23.1",
"eslint": "^9.10.0",
"@types/sinon-chai": "^4.0.0",
"esbuild": "^0.24.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-no-only-tests": "^3.3.0",
"mocha": "^10.7.3",
"mocha": "^11.0.1",
"mocha-web": "^2.0.0",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"typescript": "~5.6.2",
"typescript-eslint": "^8.5.0"
"typescript": "~5.7.2",
"typescript-eslint": "^8.18.0"
},
"files": [
"cjs",
"esm",
"dist",
"src",
"matchers.d.ts"
"matchers.d.ts",
"!*/test"
],

@@ -59,0 +58,0 @@ "repository": {

@@ -5,9 +5,9 @@ // eslint-disable-next-line @typescript-eslint/triple-slash-reference

import sinon from 'sinon';
import chai from 'chai';
import * as chai from 'chai';
import chaiDom from 'chai-dom';
import isPresent from './is-present';
import isPresent from './is-present.js';
import chaiAsPromised from 'chai-as-promised';
import chaiStyle from 'chai-style';
import sinonChai from 'sinon-chai';
import layout from './layout';
import layout from './layout.js';

@@ -28,7 +28,7 @@ export * from 'promise-assist';

export * from './helpers';
export * from './layout';
export * from './layout-driver';
export * from './select-dom';
export * from './helpers.js';
export * from './layout.js';
export * from './layout-driver.js';
export * from './select-dom.js';
export { chai, sinon, expect, layout };

@@ -1,2 +0,2 @@

import { isElement } from './helpers';
import { isElement } from './helpers.js';

@@ -3,0 +3,0 @@ function isPresent(element: unknown): boolean {

@@ -1,2 +0,2 @@

import { isElement } from './helpers';
import { isElement } from './helpers.js';

@@ -3,0 +3,0 @@ interface Point {

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