New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

drugwars

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drugwars - npm Package Compare versions

Comparing version 0.1.17 to 0.1.19

45

lib/card.js

@@ -41,25 +41,28 @@ 'use strict';

id = '';
quality = 0;
attack_type = '';
attack = 0;
health = 0;
carry = 0;
speed = 0;
prefixe = '';
suffixe = '';
this.id = '';
this.prefixe = '';
this.suffixe = '';
this.pic = '';
this.family = '';
this.country = '';
this.img = '';
this.open = '';
this.attack_type = '';
this.name = '';
this.border = '';
this.background = '';
this.flag = '';
this.quality = quality;
this.attack = 0;
this.health = 0;
this.carry = 0;
this.speed = 0;
family = '';
name = '';
img = '';
pic = '';
country = '';
flag = '';
this.active_skill = {};
this.passive_kill = {};
active_skill = {};
passive_kill = {};
res_physical = 0;
res_weapon = 0;
res_fire = 0;
res_chemical = 0;
this.res_physical = 0;
this.res_weapon = 0;
this.res_fire = 0;
this.res_chemical = 0;
this.log = new _log2.default();

@@ -66,0 +69,0 @@ }

@@ -7,6 +7,6 @@ [

"location":["na","sa","eu","an","af","as","oc"],
"id": "weed",
"id": "marijuana",
"name": "Marijuana",
"description": "Cannabis is indigenous to Central and South Asia. There is evidence of inhalation of cannabis smoke from the 3rd millennium BCE, namely charred cannabis seeds found in a ritual brazier at an ancient burial site in present-day Romania. In 2003, a leather basket filled with cannabis leaf fragments and seeds was found next to a 2,500- to 2,800-year-old mummified shaman in the northwestern Xinjiang Uygur Autonomous Region of China. Evidence of cannabis consumption was also found \r\n\t in Egyptian mummies dated about 950 BC. Cannabis was also used by the ancient Hindus of India and Nepal thousands of years ago. The herb is called ganja (Sanskrit ga�ja) or ganjika in Sanskrit and other modern Indo-Aryan languages. Some scholars suggest that the ancient drug soma, mentioned in the Vedas, was cannabis, although this theory is disputed.",
"icon": "weed_icon.png",
"description": "Marijuana is indigenous to Central and South Asia. There is evidence of inhalation of cannabis smoke from the 3rd millennium BCE, namely charred cannabis seeds found in a ritual brazier at an ancient burial site in present-day Romania. In 2003, a leather basket filled with cannabis leaf fragments and seeds was found next to a 2,500- to 2,800-year-old mummified shaman in the northwestern Xinjiang Uygur Autonomous Region of China. Evidence of cannabis consumption was also found \r\n\t in Egyptian mummies dated about 950 BC. Cannabis was also used by the ancient Hindus of India and Nepal thousands of years ago. ",
"icon": "marijuana_icon.png",
"weight": 0,

@@ -104,6 +104,6 @@ "volume": 0

"location":["na","eu","as"],
"id": "amphet",
"name": "Amphetamine",
"description": "Amphetamine was first synthesized in 1887 in Germany by Romanian chemist Lazar Edeleanu who named it phenylisopropylamine, its stimulant effects remained unknown until 1927, when it was independently resynthesized by Gordon Alles and reported to have sympathomimetic properties. Amphetamine had no pharmacological use until 1934, when Smith, Kline and French began selling it as an inhaler under the trade name Benzedrine as a decongestant. Benzedrine sulfate was introduced three years later and found a wide variety of medical applications, including narcolepsy. During World War II, amphetamine and methamphetamine were used extensively by both the Allied and Axis forces for their stimulant and performance-enhancing effects. As the addictive properties of the drug became known, governments began to place strict controls on the sale of amphetamine.",
"icon": "amphet_icon.png",
"id": "meth",
"name": "methamphetamine",
"description": "Methamphetamine was discovered in 1893, it is a potent central nervous system stimulant that is mainly used as a recreational drug and less commonly as a second-line treatment for attention deficit hyperactivity disorder and obesity.",
"icon": "meth_icon.png",
"weight": 0,

@@ -119,3 +119,3 @@ "volume": 0

"name": "MDMA",
"description": "MDMA was first synthesized in 1912 by Merck chemist Anton K�llisch. At the time, Merck was interested in developing substances that stopped abnormal bleeding. Merck wanted to avoid an existing patent held by Bayer for one such compound hydrastinine. K�llisch developed a preparation of a hydrastinine analogue, methylhydrastinine, at the request of fellow lab members, Walther Beckh and Otto Wolfes. MDMA (called methylsafrylamin, safrylmethylamin or N-Methyl-a-Methylhomopiperonylamin in Merck laboratory reports) was an intermediate compound in the synthesis of methylhydrastinine. Merck was not interested in MDMA itself at the time.On 24 December 1912, Merck filed two patent applications that described the synthesis and some chemical properties of MDMAand its subsequent conversion to methylhydrastinine.",
"description": "MDMA was first synthesized in 1912 by Merck chemist Anton Köllisch. At the time, Merck was interested in developing substances that stopped abnormal bleeding. Merck wanted to avoid an existing patent held by Bayer for one such compound hydrastinine. Köllisch developed a preparation of a hydrastinine analogue, methylhydrastinine, at the request of fellow lab members, Walther Beckh and Otto Wolfes. MDMA (called methylsafrylamin, safrylmethylamin or N-Methyl-a-Methylhomopiperonylamin in Merck laboratory reports) was an intermediate compound in the synthesis of methylhydrastinine. Merck was not interested in MDMA itself at the time.On 24 December 1912, Merck filed two patent applications that described the synthesis and some chemical properties of MDMAand its subsequent conversion to methylhydrastinine.",
"icon": "mdma_icon.png",

@@ -132,3 +132,3 @@ "weight": 0,

"name": "LSD",
"description": "LSD was first synthesized on November 16, 1938 by Swiss chemist Albert Hofmann at the Sandoz Laboratories in Basel, Switzerland as part of a large research program searching for medically useful ergot alkaloid derivatives. LSD's psychedelic properties were discovered 5 years later when Hofmann himself accidentally ingested an unknown quantity of the chemical. The first intentional ingestion of LSD occurred on April 19, 1943, when Hofmann ingested 250 �g of LSD. He said this would be a threshold dose based on the dosages of other ergot alkaloids. Hofmann found the effects to be much stronger than he anticipated. Sandoz Laboratories introduced LSD as a psychiatric drug in 1947.",
"description": "LSD was first synthesized on November 16, 1938 by Swiss chemist Albert Hofmann at the Sandoz Laboratories in Basel, Switzerland as part of a large research program searching for medically useful ergot alkaloid derivatives. LSD's psychedelic properties were discovered 5 years later when Hofmann himself accidentally ingested an unknown quantity of the chemical. The first intentional ingestion of LSD occurred on April 19, 1943, when Hofmann ingested 250 micrograms of LSD. He said this would be a threshold dose based on the dosages of other ergot alkaloids. Hofmann found the effects to be much stronger than he anticipated.",
"icon": "lsd_icon.png",

@@ -169,3 +169,3 @@ "weight": 0,

"name": "Cocaine",
"description": "For over a thousand years South American indigenous peoples have chewed the leaves of Erythroxylon coca, a plant that contains vital nutrients as well as numerous alkaloids, including cocaine. The coca leaf was, and still is, chewed almost universally by some indigenous communities. The remains of coca leaves have been found with ancient Peruvian mummies, and pottery from the time period depicts humans with bulged cheeks, indicating the presence of something on which they are chewing. There is also evidence that these cultures used a mixture of coca leaves and saliva as an anesthetic for the performance of trepanation. When the Spanish arrived in South America, most at first ignored aboriginal claims that the leaf gave them strength and energy, and declared the practice of chewing it the work of the Devil. But after discovering that these claims were true, they legalized and taxed the leaf, taking 10% off the value of each crop.[94] In 1569, Nicol�s Monardes described the indigenous peoples' practice of chewing a mixture of tobacco and coca leaves to induce great contentment.",
"description": "For over a thousand years South American indigenous peoples have chewed the leaves of Erythroxylon coca, a plant that contains vital nutrients as well as numerous alkaloids, including cocaine. The coca leaf was, and still is, chewed almost universally by some indigenous communities. The remains of coca leaves have been found with ancient Peruvian mummies, and pottery from the time period depicts humans with bulged cheeks, indicating the presence of something on which they are chewing. There is also evidence that these cultures used a mixture of coca leaves and saliva as an anesthetic for the performance of trepanation. When the Spanish arrived in South America, most at first ignored aboriginal claims that the leaf gave them strength and energy, and declared the practice of chewing it the work of the Devil. But after discovering that these claims were true, they legalized and taxed the leaf, taking 10% off the value of each crop. In 1569, Nicolás Monardes described the indigenous peoples' practice of chewing a mixture of tobacco and coca leaves to induce great contentment.",
"icon": "coke_icon.png",

@@ -172,0 +172,0 @@ "weight": 0,

@@ -10,3 +10,3 @@ {

"desc": "He can only gather informations but he does it at the speed of lightning.",
"feature": "SPY : Gives a lot of information about an opponent. This unit attack per group of 100!",
"feature": "SPY : Gives a lot of information about an opponent.",
"attack": 5,

@@ -42,3 +42,3 @@ "health": 2,

"desc": "He will fall into an ethylic coma after his first punch.",
"feature": "GROUP KAMIKAZE : If he meets an enemy he will die. This unit can not defend and split into group if they are a lot!",
"feature": "GROUP KAMIKAZE : If he meets an enemy he will die. This unit can not defend!",
"attack": 13,

@@ -45,0 +45,0 @@ "health": 0,

{
"name": "drugwars",
"version": "0.1.17",
"version": "0.1.19",
"description": "A lightweight JavaScript library for DrugWars",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -9,25 +9,28 @@ import suffixes from './suffixes.json';

constructor(quality,seed) {
id = '';
quality = 0;
attack_type = '';
attack = 0;
health= 0;
carry= 0;
speed= 0;
prefixe = '';
suffixe = '';
this.id = '';
this.prefixe = '';
this.suffixe = '';
this.pic = '';
this.family = '';
this.country = '';
this.img = '';
this.open = '';
this.attack_type = '';
this.name ='';
this.border = '';
this.background ='';
this.flag='';
this.quality = quality;
this.attack = 0;
this.health= 0;
this.carry= 0;
this.speed= 0;
family = '';
name ='';
img = '';
pic = '';
country = '';
flag='';
this.active_skill={};
this.passive_kill ={};
active_skill={};
passive_kill ={};
res_physical= 0;
res_weapon= 0;
res_fire= 0;
res_chemical= 0;
this.res_physical= 0;
this.res_weapon= 0;
this.res_fire= 0;
this.res_chemical= 0;
this.log = new Log();

@@ -34,0 +37,0 @@ }

@@ -7,6 +7,6 @@ [

"location":["na","sa","eu","an","af","as","oc"],
"id": "weed",
"id": "marijuana",
"name": "Marijuana",
"description": "Cannabis is indigenous to Central and South Asia. There is evidence of inhalation of cannabis smoke from the 3rd millennium BCE, namely charred cannabis seeds found in a ritual brazier at an ancient burial site in present-day Romania. In 2003, a leather basket filled with cannabis leaf fragments and seeds was found next to a 2,500- to 2,800-year-old mummified shaman in the northwestern Xinjiang Uygur Autonomous Region of China. Evidence of cannabis consumption was also found \r\n\t in Egyptian mummies dated about 950 BC. Cannabis was also used by the ancient Hindus of India and Nepal thousands of years ago. The herb is called ganja (Sanskrit ga�ja) or ganjika in Sanskrit and other modern Indo-Aryan languages. Some scholars suggest that the ancient drug soma, mentioned in the Vedas, was cannabis, although this theory is disputed.",
"icon": "weed_icon.png",
"description": "Marijuana is indigenous to Central and South Asia. There is evidence of inhalation of cannabis smoke from the 3rd millennium BCE, namely charred cannabis seeds found in a ritual brazier at an ancient burial site in present-day Romania. In 2003, a leather basket filled with cannabis leaf fragments and seeds was found next to a 2,500- to 2,800-year-old mummified shaman in the northwestern Xinjiang Uygur Autonomous Region of China. Evidence of cannabis consumption was also found \r\n\t in Egyptian mummies dated about 950 BC. Cannabis was also used by the ancient Hindus of India and Nepal thousands of years ago. ",
"icon": "marijuana_icon.png",
"weight": 0,

@@ -104,6 +104,6 @@ "volume": 0

"location":["na","eu","as"],
"id": "amphet",
"name": "Amphetamine",
"description": "Amphetamine was first synthesized in 1887 in Germany by Romanian chemist Lazar Edeleanu who named it phenylisopropylamine, its stimulant effects remained unknown until 1927, when it was independently resynthesized by Gordon Alles and reported to have sympathomimetic properties. Amphetamine had no pharmacological use until 1934, when Smith, Kline and French began selling it as an inhaler under the trade name Benzedrine as a decongestant. Benzedrine sulfate was introduced three years later and found a wide variety of medical applications, including narcolepsy. During World War II, amphetamine and methamphetamine were used extensively by both the Allied and Axis forces for their stimulant and performance-enhancing effects. As the addictive properties of the drug became known, governments began to place strict controls on the sale of amphetamine.",
"icon": "amphet_icon.png",
"id": "meth",
"name": "methamphetamine",
"description": "Methamphetamine was discovered in 1893, it is a potent central nervous system stimulant that is mainly used as a recreational drug and less commonly as a second-line treatment for attention deficit hyperactivity disorder and obesity.",
"icon": "meth_icon.png",
"weight": 0,

@@ -119,3 +119,3 @@ "volume": 0

"name": "MDMA",
"description": "MDMA was first synthesized in 1912 by Merck chemist Anton K�llisch. At the time, Merck was interested in developing substances that stopped abnormal bleeding. Merck wanted to avoid an existing patent held by Bayer for one such compound hydrastinine. K�llisch developed a preparation of a hydrastinine analogue, methylhydrastinine, at the request of fellow lab members, Walther Beckh and Otto Wolfes. MDMA (called methylsafrylamin, safrylmethylamin or N-Methyl-a-Methylhomopiperonylamin in Merck laboratory reports) was an intermediate compound in the synthesis of methylhydrastinine. Merck was not interested in MDMA itself at the time.On 24 December 1912, Merck filed two patent applications that described the synthesis and some chemical properties of MDMAand its subsequent conversion to methylhydrastinine.",
"description": "MDMA was first synthesized in 1912 by Merck chemist Anton Köllisch. At the time, Merck was interested in developing substances that stopped abnormal bleeding. Merck wanted to avoid an existing patent held by Bayer for one such compound hydrastinine. Köllisch developed a preparation of a hydrastinine analogue, methylhydrastinine, at the request of fellow lab members, Walther Beckh and Otto Wolfes. MDMA (called methylsafrylamin, safrylmethylamin or N-Methyl-a-Methylhomopiperonylamin in Merck laboratory reports) was an intermediate compound in the synthesis of methylhydrastinine. Merck was not interested in MDMA itself at the time.On 24 December 1912, Merck filed two patent applications that described the synthesis and some chemical properties of MDMAand its subsequent conversion to methylhydrastinine.",
"icon": "mdma_icon.png",

@@ -132,3 +132,3 @@ "weight": 0,

"name": "LSD",
"description": "LSD was first synthesized on November 16, 1938 by Swiss chemist Albert Hofmann at the Sandoz Laboratories in Basel, Switzerland as part of a large research program searching for medically useful ergot alkaloid derivatives. LSD's psychedelic properties were discovered 5 years later when Hofmann himself accidentally ingested an unknown quantity of the chemical. The first intentional ingestion of LSD occurred on April 19, 1943, when Hofmann ingested 250 �g of LSD. He said this would be a threshold dose based on the dosages of other ergot alkaloids. Hofmann found the effects to be much stronger than he anticipated. Sandoz Laboratories introduced LSD as a psychiatric drug in 1947.",
"description": "LSD was first synthesized on November 16, 1938 by Swiss chemist Albert Hofmann at the Sandoz Laboratories in Basel, Switzerland as part of a large research program searching for medically useful ergot alkaloid derivatives. LSD's psychedelic properties were discovered 5 years later when Hofmann himself accidentally ingested an unknown quantity of the chemical. The first intentional ingestion of LSD occurred on April 19, 1943, when Hofmann ingested 250 micrograms of LSD. He said this would be a threshold dose based on the dosages of other ergot alkaloids. Hofmann found the effects to be much stronger than he anticipated.",
"icon": "lsd_icon.png",

@@ -169,3 +169,3 @@ "weight": 0,

"name": "Cocaine",
"description": "For over a thousand years South American indigenous peoples have chewed the leaves of Erythroxylon coca, a plant that contains vital nutrients as well as numerous alkaloids, including cocaine. The coca leaf was, and still is, chewed almost universally by some indigenous communities. The remains of coca leaves have been found with ancient Peruvian mummies, and pottery from the time period depicts humans with bulged cheeks, indicating the presence of something on which they are chewing. There is also evidence that these cultures used a mixture of coca leaves and saliva as an anesthetic for the performance of trepanation. When the Spanish arrived in South America, most at first ignored aboriginal claims that the leaf gave them strength and energy, and declared the practice of chewing it the work of the Devil. But after discovering that these claims were true, they legalized and taxed the leaf, taking 10% off the value of each crop.[94] In 1569, Nicol�s Monardes described the indigenous peoples' practice of chewing a mixture of tobacco and coca leaves to induce great contentment.",
"description": "For over a thousand years South American indigenous peoples have chewed the leaves of Erythroxylon coca, a plant that contains vital nutrients as well as numerous alkaloids, including cocaine. The coca leaf was, and still is, chewed almost universally by some indigenous communities. The remains of coca leaves have been found with ancient Peruvian mummies, and pottery from the time period depicts humans with bulged cheeks, indicating the presence of something on which they are chewing. There is also evidence that these cultures used a mixture of coca leaves and saliva as an anesthetic for the performance of trepanation. When the Spanish arrived in South America, most at first ignored aboriginal claims that the leaf gave them strength and energy, and declared the practice of chewing it the work of the Devil. But after discovering that these claims were true, they legalized and taxed the leaf, taking 10% off the value of each crop. In 1569, Nicolás Monardes described the indigenous peoples' practice of chewing a mixture of tobacco and coca leaves to induce great contentment.",
"icon": "coke_icon.png",

@@ -172,0 +172,0 @@ "weight": 0,

@@ -10,3 +10,3 @@ {

"desc": "He can only gather informations but he does it at the speed of lightning.",
"feature": "SPY : Gives a lot of information about an opponent. This unit attack per group of 100!",
"feature": "SPY : Gives a lot of information about an opponent.",
"attack": 5,

@@ -42,3 +42,3 @@ "health": 2,

"desc": "He will fall into an ethylic coma after his first punch.",
"feature": "GROUP KAMIKAZE : If he meets an enemy he will die. This unit can not defend and split into group if they are a lot!",
"feature": "GROUP KAMIKAZE : If he meets an enemy he will die. This unit can not defend!",
"attack": 13,

@@ -45,0 +45,0 @@ "health": 0,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc