Certainly not as dangerous as rumors and news spread but:
1. don't forget you are there under islamic law (and you should know what this consists of)
2. you are a lady.
I know people who had a good time in modern Dubai and forgot they were under islamic laws. They learnt about laws a bit late. (Time is money - but can be even more than that)
I suppose the friend you are traveling with is a man. He will not need you. Would you be ready to go to Pakistan alone? Only YOU have the answer to this question and it helps you know to what extent you will need him over there the way you do not need him in Canada. (Maybe this is the chance to - really - know about your relationship) Am i right if i say: you are with a friend in a country where you should not be with a friend, but a brother, father or husband?
It's easy to be liberal outside Pakistan, and specially if you are from Pakistan, it's not only easy, it's enjoyable. I also have muslim friends: i saw them outside and inside. And moreover i do not think this is the point, cause if they are marrying they will not have much time for you while in Pakistan, certainly later.
I also think there are countless honest and respectful Pakistanis and i am longing to travel there. Alas the nutters can also use internet.
Since there has been a problem with my country people in Pakistan, i think i know what my gov't will do if i get into trouble there but i cannot speak for Canada. I also know what my family would do and cannot speak for yours.
The strange part about it, is that you are in Canada but in a very Indian sub-continent dilemma: the rampant culpability about what you are doing to your families. Sorry if i said something you did not want.