@connectrpc/connect-playwright
Advanced tools
Comparing version 0.3.0 to 0.3.1
"use strict"; | ||
// Copyright 2023 The Connect Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -3,0 +16,0 @@ exports.createMockRouter = void 0; |
"use strict"; | ||
// Copyright 2023 The Connect Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } | ||
@@ -3,0 +16,0 @@ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { |
"use strict"; | ||
// Copyright 2023 The Connect Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -3,0 +16,0 @@ exports.createMockRouter = void 0; |
@@ -0,1 +1,14 @@ | ||
// Copyright 2023 The Connect Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
import { createConnectRouter } from "@connectrpc/connect"; | ||
@@ -2,0 +15,0 @@ import { MethodKind } from "@bufbuild/protobuf"; |
@@ -0,1 +1,14 @@ | ||
// Copyright 2023 The Connect Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } | ||
@@ -2,0 +15,0 @@ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { |
@@ -0,1 +1,14 @@ | ||
// Copyright 2023 The Connect Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
export { createMockRouter } from "./create-mock-router.js"; |
{ | ||
"name": "@connectrpc/connect-playwright", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"license": "Apache-2.0", | ||
"description": "e2e utilities for use with Playwright and Connect", | ||
"type": "module", | ||
"main": "./dist/cjs/index.js", | ||
"types": "./dist/types/index.d.ts", | ||
"exports": { | ||
"import": { | ||
"types": "./dist/types/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/types/index.d.ts", | ||
"default": "./dist/cjs/index.js" | ||
} | ||
}, | ||
"files": [ | ||
"dist/**" | ||
], | ||
"repository": { | ||
@@ -27,19 +11,36 @@ "type": "git", | ||
}, | ||
"sideEffects": false, | ||
"scripts": { | ||
"clean": "rm -rf ./dist/cjs/* ./dist/esm/* ./dist/types/*", | ||
"clean": "rm -rf ./dist/*", | ||
"test": "playwright install chromium && jasmine --config=jasmine.json", | ||
"build": "npm run build:cjs && npm run build:esm+types", | ||
"build:cjs": "tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'", | ||
"build:esm+types": "tsc --project tsconfig.json --module ES2015 --verbatimModuleSyntax --outDir ./dist/esm --declaration --declarationDir ./dist/types && echo >./dist/esm/package.json '{\"type\":\"module\", \"sideEffects\":false}'", | ||
"build": "npm run build:cjs && npm run build:esm && npm run build:proxy", | ||
"build:cjs": "tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs --declaration --declarationDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'", | ||
"build:esm": "tsc --project tsconfig.json --module ES2015 --verbatimModuleSyntax --outDir ./dist/esm --declaration --declarationDir ./dist/esm && echo >./dist/esm/package.json '{\"type\":\"module\", \"sideEffects\":false}'", | ||
"build:proxy": "node ../../scripts/gen-esm-proxy.mjs .", | ||
"format": "prettier --write --ignore-unknown '.' '!dist'", | ||
"lint": "eslint --max-warnings 0 ." | ||
"lint": "eslint --max-warnings 0 .", | ||
"attw": "attw --pack", | ||
"license-header": "license-header" | ||
}, | ||
"type": "module", | ||
"sideEffects": false, | ||
"main": "./dist/cjs/index.js", | ||
"exports": { | ||
".": { | ||
"module": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/proxy/index.js" | ||
} | ||
}, | ||
"peerDependencies": { | ||
"@connectrpc/connect": "^0.13.1", | ||
"@connectrpc/connect": "^1.1.2", | ||
"@playwright/test": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@playwright/test": "^1.37.0" | ||
} | ||
"@arethetypeswrong/cli": "^0.11.0", | ||
"@playwright/test": "^1.38.1", | ||
"@types/node": "^20.8.0" | ||
}, | ||
"files": [ | ||
"dist/**" | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32850
18
622
3