summaryrefslogtreecommitdiff
path: root/tests/registry
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2024-10-01 22:55:02 +0100
committerGitHub <noreply@github.com>2024-10-01 22:55:02 +0100
commit3881b7173445ab7f68ec94d5dedbb1cb1c1978ec (patch)
tree2683c9955f19c9e1d19af6a41ce75cab5b3570fa /tests/registry
parentf9300004152ba4b3d091beb04d74f37b3b8ec281 (diff)
feat(lsp): quick fix for @deno-types="npm:@types/*" (#25954)
Diffstat (limited to 'tests/registry')
-rw-r--r--tests/registry/npm/@types/prop-types/prop-types-15.7.13.tgzbin0 -> 2900 bytes
-rw-r--r--tests/registry/npm/@types/prop-types/registry.json48
-rw-r--r--tests/registry/npm/@types/react/react-18.3.10.tgzbin0 -> 80094 bytes
-rw-r--r--tests/registry/npm/@types/react/registry.json71
-rw-r--r--tests/registry/npm/csstype/csstype-3.1.3.tgzbin0 -> 184337 bytes
-rw-r--r--tests/registry/npm/csstype/registry.json78
6 files changed, 196 insertions, 1 deletions
diff --git a/tests/registry/npm/@types/prop-types/prop-types-15.7.13.tgz b/tests/registry/npm/@types/prop-types/prop-types-15.7.13.tgz
new file mode 100644
index 000000000..813b6795b
--- /dev/null
+++ b/tests/registry/npm/@types/prop-types/prop-types-15.7.13.tgz
Binary files differ
diff --git a/tests/registry/npm/@types/prop-types/registry.json b/tests/registry/npm/@types/prop-types/registry.json
new file mode 100644
index 000000000..3c80e1646
--- /dev/null
+++ b/tests/registry/npm/@types/prop-types/registry.json
@@ -0,0 +1,48 @@
+{
+ "name": "@types/prop-types",
+ "dist-tags": { "latest": "15.7.13" },
+ "versions": {
+ "15.7.13": {
+ "name": "@types/prop-types",
+ "version": "15.7.13",
+ "license": "MIT",
+ "_id": "@types/prop-types@15.7.13",
+ "dist": {
+ "shasum": "2af91918ee12d9d32914feb13f5326658461b451",
+ "tarball": "http://localhost:4260/@types/prop-types/prop-types-15.7.13.tgz",
+ "fileCount": 5,
+ "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==",
+ "signatures": [
+ {
+ "sig": "MEUCIQCz+S+fZxW5ahdAmLsMoCnFlj4QvsEH0h70sXmSVc1EDgIgBDq1TH20PzRBFVHHY3gRc7JeNsAOozAmrQqCy+v1syk=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 6965
+ },
+ "main": "",
+ "types": "index.d.ts",
+ "scripts": {},
+ "repository": {
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
+ "type": "git",
+ "directory": "types/prop-types"
+ },
+ "description": "TypeScript definitions for prop-types",
+ "directories": {},
+ "dependencies": {},
+ "_hasShrinkwrap": false,
+ "typeScriptVersion": "4.8",
+ "typesPublisherContentHash": "463997a2d1b4bb7e18554d9d12146cc74169e8bda6a4b9008306c38797ae14d3"
+ }
+ },
+ "license": "MIT",
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prop-types",
+ "repository": {
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
+ "type": "git",
+ "directory": "types/prop-types"
+ },
+ "description": "TypeScript definitions for prop-types",
+ "readmeFilename": ""
+}
diff --git a/tests/registry/npm/@types/react/react-18.3.10.tgz b/tests/registry/npm/@types/react/react-18.3.10.tgz
new file mode 100644
index 000000000..7ce743af9
--- /dev/null
+++ b/tests/registry/npm/@types/react/react-18.3.10.tgz
Binary files differ
diff --git a/tests/registry/npm/@types/react/registry.json b/tests/registry/npm/@types/react/registry.json
new file mode 100644
index 000000000..4046c1698
--- /dev/null
+++ b/tests/registry/npm/@types/react/registry.json
@@ -0,0 +1,71 @@
+{
+ "name": "@types/react",
+ "dist-tags": { "latest": "18.3.10" },
+ "versions": {
+ "18.3.10": {
+ "name": "@types/react",
+ "version": "18.3.10",
+ "license": "MIT",
+ "_id": "@types/react@18.3.10",
+ "dist": {
+ "shasum": "6edc26dc22ff8c9c226d3c7bf8357b013c842219",
+ "tarball": "http://localhost:4260/@types/react/react-18.3.10.tgz",
+ "fileCount": 17,
+ "integrity": "sha512-02sAAlBnP39JgXwkAq3PeU9DVaaGpZyF3MGcC0MKgQVkZor5IiiDAipVaxQHtDJAmO4GIy/rVBy/LzVj76Cyqg==",
+ "signatures": [
+ {
+ "sig": "MEUCIF6O9Y11lCvdqbD+e81mjGbAGN3pZa2cxxwi5Z+3bQr6AiEA0tDSc8Y9i7TjXbsZ2SnO/taFI6v99xnkZRDv5m6to7k=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 438614
+ },
+ "main": "",
+ "types": "index.d.ts",
+ "exports": {
+ ".": {
+ "types": { "default": "./index.d.ts" },
+ "types@<=5.0": { "default": "./ts5.0/index.d.ts" }
+ },
+ "./canary": {
+ "types": { "default": "./canary.d.ts" },
+ "types@<=5.0": { "default": "./ts5.0/canary.d.ts" }
+ },
+ "./jsx-runtime": {
+ "types": { "default": "./jsx-runtime.d.ts" },
+ "types@<=5.0": { "default": "./ts5.0/jsx-runtime.d.ts" }
+ },
+ "./experimental": {
+ "types": { "default": "./experimental.d.ts" },
+ "types@<=5.0": { "default": "./ts5.0/experimental.d.ts" }
+ },
+ "./package.json": "./package.json",
+ "./jsx-dev-runtime": {
+ "types": { "default": "./jsx-dev-runtime.d.ts" },
+ "types@<=5.0": { "default": "./ts5.0/jsx-dev-runtime.d.ts" }
+ }
+ },
+ "scripts": {},
+ "repository": {
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
+ "type": "git",
+ "directory": "types/react"
+ },
+ "description": "TypeScript definitions for react",
+ "directories": {},
+ "dependencies": { "csstype": "^3.0.2", "@types/prop-types": "*" },
+ "_hasShrinkwrap": false,
+ "typeScriptVersion": "4.8",
+ "typesPublisherContentHash": "3fbf914f5052668104237c78a8f67cca37176346a3caed94eea6d5c504795f08"
+ }
+ },
+ "license": "MIT",
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
+ "repository": {
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
+ "type": "git",
+ "directory": "types/react"
+ },
+ "description": "TypeScript definitions for react",
+ "readmeFilename": ""
+}
diff --git a/tests/registry/npm/csstype/csstype-3.1.3.tgz b/tests/registry/npm/csstype/csstype-3.1.3.tgz
new file mode 100644
index 000000000..fb04d0288
--- /dev/null
+++ b/tests/registry/npm/csstype/csstype-3.1.3.tgz
Binary files differ
diff --git a/tests/registry/npm/csstype/registry.json b/tests/registry/npm/csstype/registry.json
index cc3eb9f99..eb44582a6 100644
--- a/tests/registry/npm/csstype/registry.json
+++ b/tests/registry/npm/csstype/registry.json
@@ -2,7 +2,7 @@
"name": "csstype",
"description": "Strict TypeScript and Flow types for style based on MDN data",
"dist-tags": {
- "latest": "2.6.20",
+ "latest": "3.1.3",
"version-2": "2.6.20"
},
"versions": {
@@ -73,6 +73,82 @@
},
"directories": {},
"_hasShrinkwrap": false
+ },
+ "3.1.3": {
+ "name": "csstype",
+ "version": "3.1.3",
+ "main": "",
+ "types": "index.d.ts",
+ "description": "Strict TypeScript and Flow types for style based on MDN data",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/frenic/csstype.git"
+ },
+ "author": { "name": "Fredrik Nicol", "email": "fredrik.nicol@gmail.com" },
+ "license": "MIT",
+ "devDependencies": {
+ "@types/chokidar": "^2.1.3",
+ "@types/css-tree": "^2.3.1",
+ "@types/jest": "^29.5.0",
+ "@types/jsdom": "^21.1.1",
+ "@types/node": "^16.18.23",
+ "@types/prettier": "^2.7.2",
+ "@types/request": "^2.48.8",
+ "@types/turndown": "^5.0.1",
+ "@typescript-eslint/eslint-plugin": "^5.57.0",
+ "@typescript-eslint/parser": "^5.57.0",
+ "chalk": "^4.1.2",
+ "chokidar": "^3.5.3",
+ "eslint": "^8.37.0",
+ "css-tree": "^2.3.1",
+ "eslint-config-prettier": "^8.8.0",
+ "eslint-plugin-prettier": "^4.2.1",
+ "fast-glob": "^3.2.12",
+ "flow-bin": "^0.203.1",
+ "jest": "^29.5.0",
+ "jsdom": "^21.1.1",
+ "mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#1bf44517bd08de735e9ec20dbfe8e86c96341054",
+ "mdn-data": "git+https://github.com/mdn/data.git#7f0c865a3c4b5d891285c93308ee5c25cb5cfee8",
+ "prettier": "^2.8.7",
+ "request": "^2.88.2",
+ "ts-jest": "^29.0.5",
+ "ts-node": "^10.9.1",
+ "turndown": "^7.1.2",
+ "typescript": "~5.0.3"
+ },
+ "scripts": {
+ "prepublish": "npm install --prefix __tests__ && npm install --prefix __tests__/__fixtures__",
+ "prepublishOnly": "tsc && npm run test:src && npm run build && ts-node --files prepublish.ts",
+ "update": "ts-node --files update.ts",
+ "build": "ts-node --files build.ts --start",
+ "watch": "ts-node --files build.ts --watch",
+ "lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
+ "pretty": "prettier --write build.ts **/*.{ts,js,json,md}",
+ "lazy": "tsc && npm run lint",
+ "test": "jest --runInBand",
+ "test:src": "jest src.*.ts",
+ "test:dist": "jest dist.*.ts --runInBand"
+ },
+ "gitHead": "fb448e21733ac5cb52523d3b678fdbbe1f9b42f2",
+ "bugs": { "url": "https://github.com/frenic/csstype/issues" },
+ "_id": "csstype@3.1.3",
+ "_nodeVersion": "18.16.0",
+ "_npmVersion": "9.5.1",
+ "dist": {
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
+ "shasum": "d80ff294d114fb0e6ac500fbf85b60137d7eff81",
+ "tarball": "http://localhost:4260/csstype/csstype-3.1.3.tgz",
+ "fileCount": 5,
+ "unpackedSize": 1246074,
+ "signatures": [
+ {
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
+ "sig": "MEQCIF2zTnkc6R7cr7euidncjKp9gnQSpUmoKPzB/pvL4rsQAiB4E1mDQEtpvu9cjct0kaUbtTAQc+rBLAO65gAk+ykfig=="
+ }
+ ]
+ },
+ "directories": {},
+ "_hasShrinkwrap": false
}
},
"author": {