profile
viewpoint
EnokMan manyuanrong ThoughtWorks Chengdu China https://www.manyuanrong.cn/ 前重庆优启科技系统架构师; 前重庆奇燎科技CTO; 现:ThoughtWorks

manyuanrong/deno_mysql 102

MySQL driver for Deno

manyuanrong/deno_mongo 89

MongoDB driver for Deno

manyuanrong/dso 50

Simple Orm library for Deno based on deno_mysql

deno-china/denocn-website 33

Deno中文社区前端

manyuanrong/deno-plugin-prepare 17

A library for managing deno native plugin dependencies

manyuanrong/deno-smtp 14

SMTP implements for deno

manyuanrong/deno-checksum 4

Sha1、MD5 algorithms for Deno

manyuanrong/deno-deamon 4

Make the Deno program run in the background

manyuanrong/bytes_formater 3

Formatting bytes(Uint8Array、Uint16Array、Uint32Array、ArrayBufferView..) output, is very useful when debugging IO functions

manyuanrong/deno_practice 2

DENO开发实践源码

PR opened denoland/deno_website2

add gzip module
+6 -0

0 comment

1 changed file

pr created time in 5 hours

push eventmanyuanrong/deno_website2

EnokMan

commit sha 86bca785d554970a881d6b0d202f5decde6dd979

add deno_mongo moudle (#254)

view details

Ryan Dahl

commit sha 5c1d52ea7c9dec9eece9bd196e03e2b268235047

Use discord instead of gitter (#255)

view details

Ryan Dahl

commit sha f2477fe05b690548e58dad8b67e488dc69a55eaa

Update benchmark data links to new repo (#258)

view details

Andy Hayden

commit sha 9fef70e14a9fe8628c0dff0353f277ea7bc17b03

Add udd (#260) https://github.com/hayd/deno-udd

view details

timonson

commit sha 6476326af07b108134bddec35a61c2892c83c08d

Added repo gentleRpc (#261) JSON-RPC 2.0 TypeScript library for deno and browser: https://github.com/timonson/gentleRpc

view details

Elias

commit sha 170813e234d6e9f780dff7e03662d68d017f3e24

Added deno_webview (#262) https://github.com/eliassjogreen/deno_webview

view details

Nate Jacobs

commit sha 28817f7a0bead78c4d1a5700f3f4e662440aa6f4

add bump (#263)

view details

SkoshRG

commit sha 88c31aa379fd115b59075a2312ccc1cd55783489

Added new open package (#265)

view details

Ryan Dahl

commit sha a3a62c91ce512280cda749bc7ca5d4ad547edbd5

Update server example on homepage (#267)

view details

Eyal Shalev

commit sha 96554ee860093c6df42355dcdb7e427efee6ed0c

Add the docopt.js package (#266) docopt.js is a typescript implementation of the [github.com/docopt/docopt](https://github.com/docopt/docopt) option parser.

view details

Andy Hayden

commit sha 56db9defe869522cb4b09cd5929b28df9cf11c6b

Add sparkpost (#271)

view details

Khải

commit sha 8da9472812c0c2c2df2ce57258120cf2b3f462be

Shorten URLs to denofun modules (#268)

view details

Nate Jacobs

commit sha f48207ad6deb8f1061a38746b8dc8ff51d4a70ce

add cursor (#270)

view details

Khải

commit sha 06a5ccec032e05d11fd25b146dfdfab1400718ad

Add KSXGitHub/deno-once as 'once' (#272)

view details

Khải

commit sha 0f62e59b0e4ce18aa35cfde41d9355a552f5d438

Add args package (#273)

view details

dependabot[bot]

commit sha 071e8a8048dc6da497cab027b16fd7d01925eef1

Bump acorn from 5.7.3 to 5.7.4 (#277)

view details

Nikolai Vavilov

commit sha cf124cf6f98e548e0fc47df11c744a632060a8f1

Add protobuf (#282)

view details

SkoshRG

commit sha ba9ddd34ca36ffac1942c0c013c1527b45142244

Added a new package to database.json (#283)

view details

Khải

commit sha 7784a28a0787f72aae12e19388c2699040ec9b9b

Add trailing slash to paths (#281)

view details

Khải

commit sha 7a0e22d53b597140dab8fd76231ca99e848e46f1

Add test that forces all paths to have trailing slash (#280)

view details

push time in 5 hours

startedcaspervonb/deno-wasi

started time in 5 hours

push eventmanyuanrong/deno_mongo

Radek Kunc

commit sha c8bb968809eee069bf81f66cdaf7095d209b5839

More changes to README.md (#37) * Changed constant on line 60 - users constant was defined twice. * Added example on how to find by ObjectId() * Line 71 changed from aggregation to aggregate - aggregation function does not exist in source code - aggregate does. * Fixed syntax on update functions (incorrectly wrapped - missing {})

view details

push time in 6 hours

PR merged manyuanrong/deno_mongo

More changes to README.md
  • Changed constant on line 60 - users constant was defined twice.
  • Added example on how to find by ObjectId()
  • Line 71 changed from aggregation to aggregate - aggregation function does not exist in source code - aggregate does.
  • Fixed syntax on update functions (incorrectly wrapped - missing {})
+18 -11

1 comment

1 changed file

radek3911

pr closed time in 6 hours

pull request commentmanyuanrong/deno_mongo

More changes to README.md

LGTM

radek3911

comment created time in 6 hours

startedjakajancar/pgc4d

started time in 7 hours

push eventmanyuanrong/deno_mongo

Radek Kunc

commit sha ba4feab6d7c94826d208a9ed1743a25056106cbe

Fixed small typo in documentation. (#35)

view details

push time in a day

pull request commentmanyuanrong/dso

Add null check, tsconfig, and where clause in readme

Thanks,LGTM

vmasdani

comment created time in 2 days

push eventmanyuanrong/dso

Muhammad Valian Masdani

commit sha 780c1ad4e5a19d718aa165a4461c6d8bdb6fa023

Add null check, tsconfig, and where clause in readme (#19) * modified readme for running and example model * fieldtypes readme * added doc for where clause * nullable operator in example

view details

push time in 2 days

PR opened denolib/awesome-deno

add wasm-gzip module

add wasm-gzip module

+1 -0

0 comment

1 changed file

pr created time in 2 days

push eventmanyuanrong/awesome-deno

EnokMan

commit sha fa1a671a24d36522a5ee498fb0ee0070fe00d58b

add mongodb driver (#104)

view details

Andy Hayden

commit sha 8cfb012d9aa01a62f4a3284f3ce21aa68b486c55

Add udd to tools - Update Deno Dependencies (#105)

view details

timonson

commit sha 01dee6df1637e0fe2fd2f02a6abc649eee2ebed8

Added gentleRpc (#106) https://github.com/timonson/gentleRpc

view details

Elias

commit sha a2a313f75fe53b14e3d7b8695792f50ad96e472d

Added deno_webview (#107) * Added deno_webview * update checkout Co-authored-by: 木杉 <zhmushan@qq.com>

view details

Apostolos Siokas

commit sha 818c6f5769b9c08c94868e898fb33b7dc9fa92c3

Add denomander tool (#108)

view details

Garrone Joseph

commit sha d5043d12b17c21a61106ba1eb7d51a52b3e613d3

Add denoify and EVT (#109) * Add EVT module * Add denoify tool

view details

Halvard Mørstad

commit sha 8730408b072fc754946feb1a59b14d1d3e53592f

Add Nessie, a database migration tool (#110)

view details

Alex Rock

commit sha c921bcb7974622ce7779c51f538d2e2fb6db91cd

Add deno-express (#111)

view details

木杉

commit sha fd86287f855a604c52f0b24c534a16e9fbdfb68c

add dev_server (#112)

view details

Khaled Bentoumi

commit sha 951f95d5df094a402aab2a2c2b5d4a1ac0090ebe

Add `denox` workspace wrapper around Deno (#117) * Add `denox` workspace wrapper around Deno * Fix spelling * Change wording

view details

Yoshiya Hinosawa

commit sha e60f00858ed346a1795a350bdbab5fa16e6a3534

Remove dead links (#118)

view details

Yoshiya Hinosawa

commit sha 2062fee09b105688045dd5bc57fd2e40fda5c795

Remove https://adarshron.com/introducing-deno (#119)

view details

Yoshiya Hinosawa

commit sha 362a628bb942e332d746c042dca32c1d2763bdb7

Update README.md (#120)

view details

Redha Juanda

commit sha abad3ba1ff94ff7bd2e7471607d0dcd82acfef9a

Added an article in Bahasa Indonesia (#116) * Added an article in Bahasa Indonesia Hai, Thanks for this awesome repo, I added an article for Bahasa Indonesia, thanks * Update with alphabetical order

view details

Yoshiya Hinosawa

commit sha 87cb8e43e34b83b1093a3f3b4103f1a5b60561dc

updata database.json path (#122)

view details

Kevin (Kun) "Kassimo" Qian

commit sha 2f6a27e6ed96d319b02671a55f506689f31a4612

Add unexpected (#92)

view details

Caesar2011

commit sha 5ec5d522fdcbeb43c7a54462d14ca1291e87a834

Added denotrain as module (#113) * Added denotrain * x * Fixed the link to database.json to be able to commit

view details

Enzo Lizama Paredes

commit sha e340b8f53faf85ccd6b8e2c090f4c63203f7da85

Update README.md (#121)

view details

Francisco Imanol Suarez

commit sha 392d9a01ff26ef016be9d0f807883dcb3925eac8

Add a Hello World post in Deno in Spanish (#124) * Add a Hello World post in Deno in Spanish The publication is my authorship in Medium, I would like to add it for Spanish-speaking people * Create the Spanish section and modify as requested

view details

Yoshiya Hinosawa

commit sha c9c41da1b7d6db97fcad39b0ed524127a741a243

Follow the guideline (#123) * fix: follow the guideline * fix: fix awesome_bot option * fix: fix additional issues * feat: change the list description

view details

push time in 2 days

startedmanyuanrong/wasm_gzip

started time in 2 days

release manyuanrong/wasm_gzip

v1.0.0

released time in 2 days

created tagmanyuanrong/wasm_gzip

tagv1.0.0

Gzip encryption and decryption wasm implementation, support Deno

created time in 2 days

push eventmanyuanrong/wasm_gzip

Enok

commit sha 53d036df12938b18bbc26d69c16bf9618c0c2fc1

typo

view details

push time in 2 days

push eventmanyuanrong/wasm_gzip

Enok

commit sha 26383e55bd25803f3a5e672bd04dc15786f328c0

init

view details

push time in 2 days

create barnchmanyuanrong/wasm_gzip

branch : master

created branch time in 2 days

created repositorymanyuanrong/wasm_gzip

Gzip encryption and decryption wasm implementation, support Deno

created time in 2 days

issue commentmanyuanrong/dso

model optional chaining operator, tsconfig, & where clause in documentation

Welcome to submit PR

vmasdani

comment created time in 2 days

issue commentmanyuanrong/dso

model optional chaining operator, tsconfig, & where clause in documentation

How to construct Where conditions, more examples can be found herehttps://github.com/manyuanrong/sql-builder

vmasdani

comment created time in 2 days

issue commentmanyuanrong/deno-checksum

Update Readme

Without the version number, the latest version will be pulled, which means that your local Deno version should correspond to it.

samuelteixeiras

comment created time in 2 days

issue commentmanyuanrong/deno_mongo

createIndexes: panicked at 'not implemented'

This project is based on the MongoDB official driver library package, the official library currently does not implement this function

closet6

comment created time in 2 days

issue commentmanyuanrong/deno_mongo

Cannot make projection ?

You can currently use aggregate

Waxoussou

comment created time in 2 days

startedxcatliu/pagic

started time in 6 days

push eventmanyuanrong/deno-smtp

Cyril Bioley

commit sha 5cd78bb787dc6b7addd7cfe9d15a7b1ea1af7017

Allow unauthenticated connections, display names can be used with from/to addresses (#9) feat(auth): allow unauthenticated connection docs: correct Gmail in README fix: wrong `to:` in DATA payload feat: from/to addresses can define a display name

view details

push time in 6 days

PR merged manyuanrong/deno-smtp

Allow unauthenticated connections, display names can be used with from/to addresses

Hi,

The SMTP server I'm using at work does not allow authenticated connections (duh, I know 🙄). It returns a 504: 5.7.4 Unrecognized authentication type.

Have a good one!

+55 -15

2 comments

4 changed files

cbioley

pr closed time in 6 days

push eventmanyuanrong/deno-smtp

Enok

commit sha 0f32c74d18d7d01239a8a5b94abd9410a08a1d46

bump: deno v1.0.0

view details

push time in 7 days

issue commentmanyuanrong/deno-smtp

Coudn't understand how to use reading Readme file

Can you give more error details?

omarhoro

comment created time in 7 days

issue commentmanyuanrong/deno-smtp

README example is not runnable

Have more error details?

tufeiping

comment created time in 7 days

push eventdeno-china/denocn-website

Lsnsh

commit sha f43d0775a5a31267f2aac06ace2bc80f63119cfd

typo: 关于页面错词和排版问题 (#21)

view details

EnokMan

commit sha 1bd3811c594c9d1e4fc3cb2bf83ef69e98b1dfd6

Merge pull request #22 from Lsnsh/master typo: 关于页面错词和排版问题 (#21)

view details

push time in 7 days

issue closeddeno-china/denocn-website

typo: 关于页面错词和排版问题

website-issue1

如上图所示(https://denocn.org/about):

问题:

  • issue 品论区
  • 参与须知,备注未换行

其他“问题”:

  • deno-china/website 和 deno-china/website-fe 直接链接到仓库

closed time in 7 days

Lsnsh

issue closedmanyuanrong/deno_mongo

Error while running deno run command

I am getting the following error while running the code with : deno run --allow-net --allow-write --allow-read --allow-plugin --unstable deno-mongo.ts

Screenshot 2020-05-19 at 12 33 01 PM

closed time in 8 days

ATakaSKY

issue commentmanyuanrong/deno_mongo

Error while running deno run command

With v0.7.0, there is no need to manually call init

ATakaSKY

comment created time in 8 days

PR closed manyuanrong/deno_mongo

add init() for first time users
+3 -1

1 comment

1 changed file

evnix

pr closed time in 8 days

pull request commentmanyuanrong/deno_mongo

add init() for first time users

init has been removed https://github.com/manyuanrong/deno_mongo/pull/25

evnix

comment created time in 8 days

created tagmanyuanrong/deno_mongo

tagv0.7.0

MongoDB driver for Deno

created time in 9 days

release manyuanrong/deno_mongo

v0.7.0

released time in 9 days

delete tag manyuanrong/deno_mongo

delete tag : v0.7.0

delete time in 9 days

push eventmanyuanrong/deno_mongo

Enok

commit sha 40107b1d70c0603e96e8d4edec4b51187339c6e0

[fix] try fix ci

view details

push time in 9 days

created tagmanyuanrong/deno_mongo

tagv0.7.0

MongoDB driver for Deno

created time in 9 days

release manyuanrong/deno_mongo

v0.7.0

released time in 9 days

push eventmanyuanrong/deno_mongo

Enok

commit sha 574973df4ea7efe4a753e1d9e7cb41c3cc12bce6

pre release v0.7.0

view details

push time in 9 days

push eventmanyuanrong/deno_mongo

Jasper van Haastert

commit sha 7c42f82a9d5f285608e305a2e75be76d8f895288

Fix ObjectId regex and add tests for invalid ids (#29) 【Fix】ObjectId regex and add tests for invalid ids

view details

push time in 9 days

PR merged manyuanrong/deno_mongo

Fix ObjectId regex and add tests for invalid ids

Update the regex used for id validation, so that it matches the whole string. Add two more tests for invalid ids.

Fixes #28.

+8 -1

1 comment

2 changed files

jaspervhaastert

pr closed time in 9 days

issue closedmanyuanrong/deno_mongo

ObjectId() does not throw on invalid strings containing a valid id

When calling ObjectId() with a string that has a valid id somewhere in it, it returns an ObjectId while it should throw an Error.

For example, calling ObjectId() with INVALID-5ec1a815005b1e3000d1e377, 5ec1a815005b1e3000d1e377-INVALID or INVALID-5ec1a815005b1e3000d1e377-INVALID all return an ObjectId, because they contain a valid id (5ec1a815005b1e3000d1e377).

closed time in 9 days

jaspervhaastert

pull request commentmanyuanrong/deno_mongo

Fix ObjectId regex and add tests for invalid ids

LGTM

jaspervhaastert

comment created time in 9 days

issue closedmanyuanrong/deno_mongo

API consideration: Remove await init() from public API

The await init() is needed to load the plugin, but this is an implementation detail that should not be public. It could easily be removed from the public API by calling the method internally.

This way you remove a foot-gun where users may forget to call your init method.

closed time in 9 days

gewoonwoutje

push eventmanyuanrong/deno_mongo

Jasper van Haastert

commit sha 9da60fdadad523966458de8e0f59273a617ff795

Remove init from public API

view details

Jasper van Haastert

commit sha ef49bbfe4594e75a3f750ef46188e0419bc7c9f4

Remove init from example

view details

Jasper van Haastert

commit sha e3b26fa91a5b31abba4cd8de30f79caa5303b5de

Fix test error

view details

EnokMan

commit sha 16a31917c1101448031532f73b065078fe1ded30

Merge pull request #25 from jaspervhaastert/remove-init-from-public-api [feat]Remove init from public api

view details

push time in 9 days

PR merged manyuanrong/deno_mongo

Remove init from public api

Internally call await init() when the module is loaded.

As suggested in #24.

+8 -7

0 comment

4 changed files

jaspervhaastert

pr closed time in 9 days

issue commentmanyuanrong/deno_mongo

Handeling errors for invalid mongo id

ObjectId's correctness verification is placed in the TS side. If you use the ObjecId constructor, you can catch the error. If you do it on the Rust side, you have to deal with tedious error mapping

subhrapaladhi

comment created time in 10 days

issue commentmanyuanrong/deno_mysql

[SUGGESTION] Add topics

Sorry, I don’t seem to understand what you mean. Is this a feature of Github?

Julien-Broyard

comment created time in 11 days

issue commentmanyuanrong/dso

I can't seem to find Association for Models

Of course welcome

tksilicon

comment created time in 11 days

issue commentmanyuanrong/deno_mongo

Handeling errors for invalid mongo id

It looks like the incoming ObjectId is invalid. Can you confirm that the ID is correct? And about the _id field, you can use the ObjectId constructor to create:

import {ObjectId} from "https://deno.land/x/mongo@v0.6.0/mod.ts";
// ...
const doc = await collection.findOne ({_ id: ObjectId ("xxxxxxx")});
subhrapaladhi

comment created time in 11 days

issue commentmanyuanrong/deno_mongo

Segmentation fault on Ubuntu 18.04 WSL 2

Confirm that the problem only occurs on Ubuntu 18.04 WSL 2? And whether Deno's version is v1.0.0

sudeepgumaste

comment created time in 12 days

push eventmanyuanrong/deno_mongo

EnokMan

commit sha 6e5c9f83fded467f86ac65ccf73a26d263a93450

Update README.md

view details

push time in 12 days

issue closedmanyuanrong/deno_mongo

error: TS2339 [ERROR]: Property 'openPlugin' does not exist on type 'typeof Deno'.

Cannot run the example from README.TS

import { init, MongoClient } from "https://deno.land/x/mongo@v0.6.0/mod.ts";

// Initialize the plugin
await init();
const client = new MongoClient();
client.connectWithUri("mongodb://localhost:27017");
const db = client.database("testoooo");
const users = db.collection("users");

// insert
const insertId = await users.insertOne({
  username: "user1",
  password: "pass1"
});

// insertMany
const insertIds = await users.insertMany([
  {
    username: "user1",
    password: "pass1"
  },
  {
    username: "user2",
    password: "pass2"
  }
]);

Getting error:

error: TS2339 [ERROR]: Property 'openPlugin' does not exist on type 'typeof Deno'.
  return Deno.openPlugin(localPath);
              ~~~~~~~~~~
    at https://deno.land/x/plugin_prepare@v0.6.0/mod.ts:64:15

It fails even with only init()

Deno Version:

deno 1.0.0
v8 8.4.300
typescript 3.9.2

Mac OS X Mojave (10.14.2)

closed time in 12 days

boczna57

issue closedmanyuanrong/deno_mongo

TS2304 [ERROR]: Cannot find name 'getClient'.

Getting error on this statement

getClient().database("db_name");

TS2304 [ERROR]: Cannot find name 'getClient'.

closed time in 12 days

dieselsaurav

issue commentmanyuanrong/deno_mongo

TS2304 [ERROR]: Cannot find name 'getClient'.

doc fixed

dieselsaurav

comment created time in 12 days

issue closedmanyuanrong/dso

Testing mod not found

Getting This error, how to solve it

error: Uncaught Error: Import 'https://deno.land/std@v0.24.0/testing/mod.ts' failed: 404 Not Found

deno 1.0.0 v8 8.4.300 typescript 3.9.2

closed time in 12 days

sarthaksavvy

issue commentmanyuanrong/dso

Testing mod not found

https://github.com/manyuanrong/dso/releases/tag/v1.0.0

sarthaksavvy

comment created time in 12 days

created tagmanyuanrong/dso

tagv1.0.0

Simple Orm library for Deno based on deno_mysql

created time in 12 days

release manyuanrong/dso

v1.0.0

released time in 12 days

push eventmanyuanrong/dso

Enok

commit sha 8d32e64489baaea053d09d64a378fa19b7331ecb

upgrade to deno 1.0

view details

push time in 12 days

created tagmanyuanrong/sql-builder

tag1.5.0

SQL query builder for Deno

created time in 12 days

release manyuanrong/sql-builder

1.5.0

released time in 12 days

push eventmanyuanrong/sql-builder

Enok

commit sha b1bb61f74783ba48504e6eb0ae5bfeeae44285fd

update doc

view details

push time in 12 days

push eventmanyuanrong/sql-builder

Enok

commit sha 7bdfc786491814aa181e1fbd4e5ff69b523f9cea

upgtade to std@v0.52.0

view details

push time in 12 days

created tagmanyuanrong/deno_mysql

tag2.1.0

MySQL driver for Deno

created time in 12 days

release manyuanrong/deno_mysql

2.1.0

released time in 12 days

push eventmanyuanrong/deno_mysql

EnokMan

commit sha e355e3c2541ab3428f4052679564a0c7019db310

Update README.md

view details

push time in 12 days

push eventmanyuanrong/deno_mysql

Enok

commit sha 9c29746dafa5dd6684b87e7ea88cfbf83b5fa670

upgrade ci

view details

push time in 12 days

push eventmanyuanrong/deno_mysql

Enok

commit sha f64f5ac1782aacbbc33e9815fc90385be9f06e4a

fmt

view details

push time in 12 days

push eventmanyuanrong/deno_mysql

Enok

commit sha 0fdc1ea313136c378814d8a7f47345f669b32846

upgrade

view details

push time in 12 days

issue commentmanyuanrong/deno_mysql

Connection failure does not throw error

@sarthaksavvy Currently does not support the default authentication plugin for mysql 8.0 #37

jerrythomas

comment created time in 12 days

issue closedmanyuanrong/deno-plugin-prepare

use deno 1.0.0 got error

error: TS2339 [ERROR]: Property 'openPlugin' does not exist on type 'typeof Deno'.
  return Deno.openPlugin(localPath);
              ~~~~~~~~~~
    at https://deno.land/x/plugin_prepare@v0.6.0/mod.ts:64:15

After I run deno cache myfile.ts Deno.openPlugin does not exist in 1.0.0?

closed time in 13 days

yeukfei02

push eventmanyuanrong/sql-builder

Tom Scott

commit sha 7f337e2ea9cf5cfe2de8690cc8ab4fb76e1f5142

Update README Example to Point To Correct Location (#6)

view details

push time in 13 days

PR merged manyuanrong/sql-builder

Update README Example to Point To Correct Location

The module path described in import was pointing to an incorrect location. Changed the - to a _.

+1 -1

0 comment

1 changed file

tubbo

pr closed time in 13 days

push eventmanyuanrong/deno_mongo

Nicolas FRIZZARIN

commit sha 2dd161da19c7de26acd1d1f6a07c13e6f9ff27e8

(fix) - replace getClient method by client

view details

EnokMan

commit sha b662658825e99c9285d585337d096bfca4b91bcc

Merge pull request #19 from Nicoss54/fix/readme fix doc

view details

push time in 13 days

PR merged manyuanrong/deno_mongo

(fix) - replace getClient method by client

getClient method doest not exist in exemple.

+1 -1

0 comment

1 changed file

Nicoss54

pr closed time in 13 days

issue closedmanyuanrong/deno_mongo

TS2339 [ERROR]: Property 'openPlugin' does not exist on type 'typeof Deno'.

When testing the example, this error appears in the console.

error: TS2339 [ERROR]: Property 'openPlugin' does not exist on type 'typeof Deno'.
  return Deno.openPlugin(localPath);
              ~~~~~~~~~~
    at https://deno.land/x/plugin_prepare@v0.6.0/mod.ts:64:15

my code:

image

closed time in 13 days

GrizelGonzalez

issue commentmanyuanrong/deno-plugin-prepare

use deno 1.0.0 got error

The plugin API is currently not stable, so you need to use the --unstable flag, please make sure to use deno run --unstable xx.ts

yeukfei02

comment created time in 13 days

push eventmanyuanrong/deno_mongo

Andreas Hippler

commit sha 01e9df11b688abfa35be6af69a53727fbe0a4a0f

cleanup ci, format code

view details

EnokMan

commit sha 2785fbc65cf84471ecf28478a20c84a099e929dc

Merge pull request #17 from ronhippler/master cleanup ci, format code

view details

push time in 13 days

PR merged manyuanrong/deno_mongo

cleanup ci, format code
+375 -411

0 comment

16 changed files

ronhippler

pr closed time in 13 days

issue commentmanyuanrong/deno_mysql

[SUGGESTION] Add topics

Yes, please

Julien-Broyard

comment created time in 13 days

push eventmanyuanrong/deno-plugin-prepare

Andreas Hippler

commit sha 4b0d3b04524114b58cf75f789eae7ca130b0d52b

use std 0.51.0

view details

EnokMan

commit sha 1b8a1510e1b1da4616736149239958a585d3df8e

Merge pull request #14 from ronhippler/master use std 0.51.0

view details

push time in 14 days

issue closedmanyuanrong/deno_mongo

error: TS2694 [ERROR]: Namespace 'Deno' has no exported member 'PluginOp'.

use deno v1.0.0 get a problem like this error

closed time in 14 days

mooniitt

issue commentmanyuanrong/deno_mongo

TS2339 [ERROR]: Property 'openPlugin' does not exist on type 'typeof Deno'.

The plugin API is currently not stable, so you need to use the --unstable flag, please make sure to use deno run --unstable xx.ts

vlev1n

comment created time in 14 days

issue closedmanyuanrong/deno-plugin-prepare

deno_mongo broken due to plugin_prepare@v0.3.1

I use deno_mongov0.5.2 which use deno-plugin-preparev0.3.1. After the update of deno to v0.42.0, I got a lot of errors:

error TS2367: This condition will always return 'false' since the types 'OperatingSystem' and '"windows"' have no overlap.

► https://deno.land/std/path/constants.ts:51:26

51 export const isWindows = build.os === "windows";
                            ~~~~~~~~~~~~~~~~~~~~~~

error TS2367: This condition will always return 'false' since the types 'OperatingSystem' and '"windows"' have no overlap.

► https://deno.land/std/path/globrex.ts:5:15

5 const isWin = Deno.build.os === "windows";
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~

error TS2345: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.

► https://deno.land/std/path/posix.ts:433:18

433   return new URL(url).pathname;
                     ~~~

error TS2339: Property 'get' does not exist on type '{ (): { [index: string]: string; }; (key: string): string | undefined; }'.

► https://deno.land/std/path/win32.ts:42:18

42       path = env.get(`=${resolvedDevice}`) || cwd();
                    ~~~

error TS2345: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.

► https://deno.land/std/path/win32.ts:911:18

911   return new URL(url).pathname
                     ~~~


Found 5 errors.

and I think it is due to imports in mod.ts are not tagged and it they use the latest version.

closed time in 14 days

slim-hmidi

push eventmanyuanrong/deno-plugin-prepare

Andreas Hippler

commit sha e0ed53702e2cb9cabc338b23db372e88ce5c474d

fix tests and ci cache

view details

Andreas Hippler

commit sha 0997d889b551bc21858648957a0781b3826fe6bf

fix readme

view details

EnokMan

commit sha c492a60a78e5f625d5307e11fe8ee7af91e7938f

Merge pull request #13 from ronhippler/master refactoring tests

view details

push time in 14 days

PR merged manyuanrong/deno-plugin-prepare

little test fixes
  • fix ci cache paths
  • execute the tests with test instead of run to actually run the tests
  • test if cache files are generated
  • use the fileserver in the test process to avoid the delay (which could be flaky)
+158 -67

0 comment

6 changed files

ronhippler

pr closed time in 14 days

push eventmanyuanrong/deno_mongo

EnokMan

commit sha f44ef53ea83e80d54780ad5676d6cc1b4c54d5e3

Update README.md

view details

push time in 14 days

issue commentmanyuanrong/deno_mongo

error: TS2694 [ERROR]: Namespace 'Deno' has no exported member 'PluginOp'.

import { init, MongoClient } from "https://deno.land/x/mongo@v0.5.2/mod.ts";

use this:

import { init, MongoClient } from "https://deno.land/x/mongo@v0.6.0/mod.ts";
mooniitt

comment created time in 14 days

issue commentmanyuanrong/deno_mongo

error: TS2694 [ERROR]: Namespace 'Deno' has no exported member 'PluginOp'.

Are you using the latest mongo@v0.6.0?

mooniitt

comment created time in 14 days

more