Skip to content

Commit

Permalink
Update Google Translate response parsing method
Browse files Browse the repository at this point in the history
  • Loading branch information
cjvnjde committed Mar 23, 2024
1 parent 03d3999 commit ed079a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 54 deletions.
5 changes: 5 additions & 0 deletions .changeset/v5_0_0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"google-translate-api-browser": major
---

Updated the Google Translate response parsing method
55 changes: 1 addition & 54 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,54 +1 @@
{
"name": "google-translate-api-browser",
"version": "5.0.1",
"description": "A free and unlimited API for Google Translate that works in browser",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/cjvnjde/google-translate-api-browser"
},
"scripts": {
"build": "webpack && pnpm run after-build",
"watch": "webpack --watch",
"format": "prettier --write .",
"after-build": "copyfiles -f ./src/*.d.ts ./dest",
"test": "vitest"
},
"types": "./dest/index.d.ts",
"exports": {
"node": {
"require": "./dest/node/cjs.cjs",
"import": "./dest/node/esm.mjs"
},
"browser": {
"require": "./dest/browser/cjs.js",
"import": "./dest/browser/esm.js",
"default": "./dest/browser/umd.js"
}
},
"keywords": [
"translate",
"translator",
"google",
"translate",
"api",
"free",
"language"
],
"author": {
"name": "Vitalij Nykyforenko",
"email": "[email protected]"
},
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@types/node": "^18.13.0",
"copyfiles": "^2.4.1",
"prettier": "^3.1.0",
"ts-loader": "^9.4.2",
"typescript": "4.9.5",
"vitest": "^0.34.6",
"webpack": "^5.89.0",
"webpack-cli": "^5.0.1"
}
}
{ "name": "google-translate-api-browser", "version": "5.0.0", "description": "A free and unlimited API for Google Translate that works in browser", "type": "module", "repository": { "type": "git", "url": "https://github.com/cjvnjde/google-translate-api-browser" }, "scripts": { "build": "webpack && pnpm run after-build", "watch": "webpack --watch", "format": "prettier --write .", "after-build": "copyfiles -f ./src/*.d.ts ./dest", "test": "vitest" }, "types": "./dest/index.d.ts", "exports": { "node": { "require": "./dest/node/cjs.cjs", "import": "./dest/node/esm.mjs" }, "browser": { "require": "./dest/browser/cjs.js", "import": "./dest/browser/esm.js", "default": "./dest/browser/umd.js" } }, "keywords": [ "translate", "translator", "google", "translate", "api", "free", "language" ], "author": { "name": "Vitalij Nykyforenko", "email": "[email protected]" }, "license": "MIT", "devDependencies": { "@changesets/cli": "^2.27.1", "@types/node": "^18.13.0", "copyfiles": "^2.4.1", "prettier": "^3.1.0", "ts-loader": "^9.4.2", "typescript": "4.9.5", "vitest": "^0.34.6", "webpack": "^5.89.0", "webpack-cli": "^5.0.1" }}
Expand Down

0 comments on commit ed079a5

Please sign in to comment.