1 line
1.0 KiB
JSON
1 line
1.0 KiB
JSON
|
{"ast":null,"code":"'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n if (typeof str !== 'string') {\n throw new TypeError('Expected a string');\n }\n\n return str.replace(matchOperatorsRe, '\\\\$&');\n};","map":{"version":3,"names":["matchOperatorsRe","module","exports","str","TypeError","replace"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/escape-string-regexp/index.js"],"sourcesContent":["'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n"],"mappings":"AAAA;;AAEA,IAAIA,gBAAgB,GAAG,qBAAvB;;AAEAC,MAAM,CAACC,OAAP,GAAiB,UAAUC,GAAV,EAAe;EAC/B,IAAI,OAAOA,GAAP,KAAe,QAAnB,EAA6B;IAC5B,MAAM,IAAIC,SAAJ,CAAc,mBAAd,CAAN;EACA;;EAED,OAAOD,GAAG,CAACE,OAAJ,CAAYL,gBAAZ,EAA8B,MAA9B,CAAP;AACA,CAND"},"metadata":{},"sourceType":"script"}
|