New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@microsoft/loader-raw-script

Package Overview
Dependencies
Maintainers
2
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/loader-raw-script - npm Package Compare versions

Comparing version
1.3.4
to
2.0.0
+22
postinstall.js
function writeErrorInRed(message) {
console.error('');
console.error('\u001b[31m' + message + '\u001b[39m');
}
writeErrorInRed(
`* * * * * * * * * * * * * THIS PACKAGE WAS RENAMED! * * * * * * * * * * * * * *`);
console.error(`
IMPORTANT: This package has moved under the "@rushstack" NPM scope.
OLD NAME: @microsoft/loader-raw-script (1.3.4)
NEW NAME: @rushstack/loader-raw-script (1.3.5)
The new package's CHANGELOG.md preserves version history from before the rename.
The new package starts with a SemVer PATCH increment, since no code has changed.
To learn about the Rush Stack project, please visit https://rushstack.io/`
);
writeErrorInRed(
`* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *`);
+3
-22
{
"name": "@microsoft/loader-raw-script",
"version": "1.3.4",
"description": "",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"version": "2.0.0",
"description": "(Please use \"@rushstack/loader-raw-script\" instead.)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/rushstack/tree/master/webpack/loader-raw-script"
},
"scripts": {
"build": "gulp test --clean"
},
"dependencies": {
"loader-utils": "~1.1.0"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-3.5": "0.4.3",
"@rushstack/eslint-config": "0.5.4",
"@types/mocha": "5.2.5",
"@types/node": "10.17.13",
"chai": "~3.5.0",
"gulp": "~4.0.2",
"mocha": "^5.2.0",
"@microsoft/node-library-build": "6.4.4"
"postinstall": "node postinstall.js"
}
}
+10
-15

@@ -1,21 +0,16 @@

# raw-script loader for webpack
# @microsoft/loader-raw-script
## Installation
> Please use [@rushstack/loader-raw-script](https://www.npmjs.com/package/@rushstack/loader-raw-script) instead of this package.
`npm install @microsoft/loader-raw-script --save-dev`
IMPORTANT: This package has moved under the `@rushstack` NPM scope.
## Overview
```
OLD NAME: @microsoft/loader-raw-script (1.3.4)
NEW NAME: @rushstack/loader-raw-script (1.3.5)
```
This simple loader loads a script file's contents directly in a webpack bundle using an `eval(...)`.
The new package's CHANGELOG.md preserves version history from before the rename.
## Usage
The new package starts with a SemVer PATCH increment, since no code has changed.
[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
``` javascript
require("@microsoft/loader-raw-script!path/to/script.js");
```
## License
MIT (http://www.opensource.org/licenses/mit-license.php)
To learn about the Rush Stack project, please visit https://rushstack.io/`

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

# Change Log - @microsoft/loader-raw-script
This log was last generated on Tue, 28 Jan 2020 02:23:44 GMT and should not be manually modified.
## 1.3.4
Tue, 28 Jan 2020 02:23:44 GMT
*Version update only*
## 1.3.3
Fri, 24 Jan 2020 00:27:39 GMT
*Version update only*
## 1.3.2
Thu, 23 Jan 2020 01:07:56 GMT
*Version update only*
## 1.3.1
Tue, 21 Jan 2020 21:56:14 GMT
*Version update only*
## 1.3.0
Sun, 19 Jan 2020 02:26:52 GMT
### Minor changes
- Upgrade Node typings to Node 10
## 1.2.200
Fri, 17 Jan 2020 01:08:23 GMT
*Version update only*
## 1.2.199
Tue, 14 Jan 2020 01:34:15 GMT
*Version update only*
## 1.2.198
Sat, 11 Jan 2020 05:18:23 GMT
*Version update only*
## 1.2.197
Thu, 09 Jan 2020 06:44:13 GMT
*Version update only*
## 1.2.196
Wed, 08 Jan 2020 00:11:31 GMT
*Version update only*
## 1.2.195
Wed, 04 Dec 2019 23:17:55 GMT
*Version update only*
## 1.2.194
Tue, 03 Dec 2019 03:17:44 GMT
*Version update only*
## 1.2.193
Sun, 24 Nov 2019 00:54:04 GMT
*Version update only*
## 1.2.192
Wed, 20 Nov 2019 06:14:28 GMT
*Version update only*
## 1.2.191
Fri, 15 Nov 2019 04:50:50 GMT
*Version update only*
## 1.2.190
Mon, 11 Nov 2019 16:07:56 GMT
*Version update only*
## 1.2.189
Wed, 06 Nov 2019 22:44:18 GMT
*Version update only*
## 1.2.188
Tue, 05 Nov 2019 06:49:29 GMT
*Version update only*
## 1.2.187
Tue, 05 Nov 2019 01:08:39 GMT
*Version update only*
## 1.2.186
Fri, 25 Oct 2019 15:08:54 GMT
*Version update only*
## 1.2.185
Tue, 22 Oct 2019 06:24:44 GMT
*Version update only*
## 1.2.184
Mon, 21 Oct 2019 05:22:43 GMT
*Version update only*
## 1.2.183
Fri, 18 Oct 2019 15:15:01 GMT
*Version update only*
## 1.2.182
Sun, 06 Oct 2019 00:27:39 GMT
*Version update only*
## 1.2.181
Fri, 04 Oct 2019 00:15:22 GMT
*Version update only*
## 1.2.180
Sun, 29 Sep 2019 23:56:29 GMT
### Patches
- Update repository URL
## 1.2.179
Wed, 25 Sep 2019 15:15:31 GMT
*Version update only*
## 1.2.178
Tue, 24 Sep 2019 02:58:49 GMT
*Version update only*
## 1.2.177
Mon, 23 Sep 2019 15:14:55 GMT
*Version update only*
## 1.2.176
Fri, 20 Sep 2019 21:27:22 GMT
*Version update only*
## 1.2.175
Wed, 11 Sep 2019 19:56:23 GMT
*Version update only*
## 1.2.174
Tue, 10 Sep 2019 22:32:23 GMT
*Version update only*
## 1.2.173
Tue, 10 Sep 2019 20:38:33 GMT
*Version update only*
## 1.2.172
Wed, 04 Sep 2019 18:28:06 GMT
*Version update only*
## 1.2.171
Wed, 04 Sep 2019 15:15:37 GMT
*Version update only*
## 1.2.170
Fri, 30 Aug 2019 00:14:32 GMT
*Version update only*
## 1.2.169
Mon, 12 Aug 2019 15:15:14 GMT
*Version update only*
## 1.2.168
Thu, 08 Aug 2019 15:14:17 GMT
*Version update only*
## 1.2.167
Thu, 08 Aug 2019 00:49:05 GMT
*Version update only*
## 1.2.166
Mon, 05 Aug 2019 22:04:32 GMT
*Version update only*
## 1.2.165
Tue, 23 Jul 2019 19:14:38 GMT
*Version update only*
## 1.2.164
Tue, 23 Jul 2019 01:13:01 GMT
*Version update only*
## 1.2.163
Mon, 22 Jul 2019 19:13:10 GMT
*Version update only*
## 1.2.162
Fri, 12 Jul 2019 19:12:46 GMT
*Version update only*
## 1.2.161
Thu, 11 Jul 2019 19:13:08 GMT
*Version update only*
## 1.2.160
Tue, 09 Jul 2019 19:13:24 GMT
*Version update only*
## 1.2.159
Mon, 08 Jul 2019 19:12:18 GMT
*Version update only*
## 1.2.158
Sat, 29 Jun 2019 02:30:10 GMT
*Version update only*
## 1.2.157
Wed, 12 Jun 2019 19:12:33 GMT
*Version update only*
## 1.2.156
Tue, 11 Jun 2019 00:48:06 GMT
*Version update only*
## 1.2.155
Thu, 06 Jun 2019 22:33:36 GMT
*Version update only*
## 1.2.154
Wed, 05 Jun 2019 19:12:34 GMT
*Version update only*
## 1.2.153
Tue, 04 Jun 2019 05:51:54 GMT
*Version update only*
## 1.2.152
Mon, 27 May 2019 04:13:44 GMT
*Version update only*
## 1.2.151
Mon, 13 May 2019 02:08:35 GMT
*Version update only*
## 1.2.150
Mon, 06 May 2019 20:46:22 GMT
*Version update only*
## 1.2.149
Mon, 06 May 2019 19:34:54 GMT
*Version update only*
## 1.2.148
Mon, 06 May 2019 19:11:16 GMT
*Version update only*
## 1.2.147
Tue, 30 Apr 2019 23:08:02 GMT
*Version update only*
## 1.2.146
Tue, 16 Apr 2019 11:01:37 GMT
*Version update only*
## 1.2.145
Fri, 12 Apr 2019 06:13:17 GMT
*Version update only*
## 1.2.144
Thu, 11 Apr 2019 07:14:01 GMT
*Version update only*
## 1.2.143
Tue, 09 Apr 2019 05:31:01 GMT
*Version update only*
## 1.2.142
Mon, 08 Apr 2019 19:12:53 GMT
*Version update only*
## 1.2.141
Sat, 06 Apr 2019 02:05:51 GMT
*Version update only*
## 1.2.140
Fri, 05 Apr 2019 04:16:17 GMT
*Version update only*
## 1.2.139
Wed, 03 Apr 2019 02:58:33 GMT
*Version update only*
## 1.2.138
Tue, 02 Apr 2019 01:12:02 GMT
*Version update only*
## 1.2.137
Sat, 30 Mar 2019 22:27:16 GMT
*Version update only*
## 1.2.136
Thu, 28 Mar 2019 19:14:27 GMT
*Version update only*
## 1.2.135
Tue, 26 Mar 2019 20:54:18 GMT
*Version update only*
## 1.2.134
Sat, 23 Mar 2019 03:48:31 GMT
*Version update only*
## 1.2.133
Thu, 21 Mar 2019 04:59:11 GMT
*Version update only*
## 1.2.132
Thu, 21 Mar 2019 01:15:33 GMT
*Version update only*
## 1.2.131
Wed, 20 Mar 2019 19:14:49 GMT
*Version update only*
## 1.2.130
Mon, 18 Mar 2019 04:28:43 GMT
*Version update only*
## 1.2.129
Fri, 15 Mar 2019 19:13:25 GMT
*Version update only*
## 1.2.128
Wed, 13 Mar 2019 19:13:14 GMT
*Version update only*
## 1.2.127
Wed, 13 Mar 2019 01:14:05 GMT
*Version update only*
## 1.2.126
Mon, 11 Mar 2019 16:13:36 GMT
*Version update only*
## 1.2.125
Tue, 05 Mar 2019 17:13:11 GMT
*Version update only*
## 1.2.124
Mon, 04 Mar 2019 17:13:19 GMT
*Version update only*
## 1.2.123
Wed, 27 Feb 2019 22:13:58 GMT
*Version update only*
## 1.2.122
Wed, 27 Feb 2019 17:13:17 GMT
*Version update only*
## 1.2.121
Mon, 18 Feb 2019 17:13:23 GMT
*Version update only*
## 1.2.120
Tue, 12 Feb 2019 17:13:12 GMT
*Version update only*
## 1.2.119
Mon, 11 Feb 2019 10:32:37 GMT
*Version update only*
## 1.2.118
Mon, 11 Feb 2019 03:31:55 GMT
*Version update only*
## 1.2.117
Wed, 30 Jan 2019 20:49:12 GMT
*Version update only*
## 1.2.116
Sat, 19 Jan 2019 03:47:47 GMT
*Version update only*
## 1.2.115
Tue, 15 Jan 2019 17:04:09 GMT
*Version update only*
## 1.2.114
Thu, 10 Jan 2019 01:57:53 GMT
*Version update only*
## 1.2.113
Mon, 07 Jan 2019 17:04:07 GMT
*Version update only*
## 1.2.112
Wed, 19 Dec 2018 05:57:33 GMT
*Version update only*
## 1.2.111
Thu, 13 Dec 2018 02:58:11 GMT
*Version update only*
## 1.2.110
Wed, 12 Dec 2018 17:04:19 GMT
*Version update only*
## 1.2.109
Sat, 08 Dec 2018 06:35:36 GMT
*Version update only*
## 1.2.108
Fri, 07 Dec 2018 17:04:56 GMT
*Version update only*
## 1.2.107
Fri, 30 Nov 2018 23:34:58 GMT
*Version update only*
## 1.2.106
Thu, 29 Nov 2018 07:02:09 GMT
*Version update only*
## 1.2.105
Thu, 29 Nov 2018 00:35:39 GMT
*Version update only*
## 1.2.104
Wed, 28 Nov 2018 19:29:53 GMT
*Version update only*
## 1.2.103
Wed, 28 Nov 2018 02:17:11 GMT
*Version update only*
## 1.2.102
Fri, 16 Nov 2018 21:37:10 GMT
*Version update only*
## 1.2.101
Fri, 16 Nov 2018 00:59:00 GMT
*Version update only*
## 1.2.100
Fri, 09 Nov 2018 23:07:39 GMT
*Version update only*
## 1.2.99
Wed, 07 Nov 2018 21:04:35 GMT
*Version update only*
## 1.2.98
Wed, 07 Nov 2018 17:03:03 GMT
*Version update only*
## 1.2.97
Mon, 05 Nov 2018 17:04:24 GMT
*Version update only*
## 1.2.96
Thu, 01 Nov 2018 21:33:52 GMT
*Version update only*
## 1.2.95
Thu, 01 Nov 2018 19:32:52 GMT
*Version update only*
## 1.2.94
Wed, 31 Oct 2018 21:17:50 GMT
*Version update only*
## 1.2.93
Wed, 31 Oct 2018 17:00:55 GMT
*Version update only*
## 1.2.92
Sat, 27 Oct 2018 03:45:51 GMT
*Version update only*
## 1.2.91
Sat, 27 Oct 2018 02:17:18 GMT
*Version update only*
## 1.2.90
Sat, 27 Oct 2018 00:26:56 GMT
*Version update only*
## 1.2.89
Thu, 25 Oct 2018 23:20:40 GMT
*Version update only*
## 1.2.88
Thu, 25 Oct 2018 08:56:02 GMT
*Version update only*
## 1.2.87
Wed, 24 Oct 2018 16:03:10 GMT
*Version update only*
## 1.2.86
Thu, 18 Oct 2018 05:30:14 GMT
*Version update only*
## 1.2.85
Thu, 18 Oct 2018 01:32:21 GMT
*Version update only*
## 1.2.84
Wed, 17 Oct 2018 21:04:49 GMT
*Version update only*
## 1.2.83
Wed, 17 Oct 2018 14:43:24 GMT
*Version update only*
## 1.2.82
Thu, 11 Oct 2018 23:26:07 GMT
*Version update only*
## 1.2.81
Tue, 09 Oct 2018 06:58:02 GMT
*Version update only*
## 1.2.80
Mon, 08 Oct 2018 16:04:27 GMT
*Version update only*
## 1.2.79
Sun, 07 Oct 2018 06:15:56 GMT
*Version update only*
## 1.2.78
Fri, 28 Sep 2018 16:05:35 GMT
*Version update only*
## 1.2.77
Wed, 26 Sep 2018 21:39:40 GMT
*Version update only*
## 1.2.76
Mon, 24 Sep 2018 23:06:40 GMT
*Version update only*
## 1.2.75
Mon, 24 Sep 2018 16:04:28 GMT
*Version update only*
## 1.2.74
Fri, 21 Sep 2018 16:04:42 GMT
*Version update only*
## 1.2.73
Thu, 20 Sep 2018 23:57:22 GMT
*Version update only*
## 1.2.72
Tue, 18 Sep 2018 21:04:55 GMT
*Version update only*
## 1.2.71
Mon, 10 Sep 2018 23:23:01 GMT
*Version update only*
## 1.2.70
Thu, 06 Sep 2018 01:25:26 GMT
### Patches
- Update "repository" field in package.json
## 1.2.69
Tue, 04 Sep 2018 21:34:10 GMT
*Version update only*
## 1.2.68
Mon, 03 Sep 2018 16:04:46 GMT
*Version update only*
## 1.2.67
Thu, 30 Aug 2018 22:47:34 GMT
*Version update only*
## 1.2.66
Thu, 30 Aug 2018 19:23:16 GMT
*Version update only*
## 1.2.65
Thu, 30 Aug 2018 18:45:12 GMT
*Version update only*
## 1.2.64
Wed, 29 Aug 2018 21:43:23 GMT
*Version update only*
## 1.2.63
Wed, 29 Aug 2018 06:36:50 GMT
*Version update only*
## 1.2.62
Thu, 23 Aug 2018 18:18:53 GMT
### Patches
- Republish all packages in web-build-tools to resolve GitHub issue #782
## 1.2.61
Wed, 22 Aug 2018 20:58:58 GMT
*Version update only*
## 1.2.60
Wed, 22 Aug 2018 16:03:25 GMT
*Version update only*
## 1.2.59
Tue, 21 Aug 2018 16:04:38 GMT
*Version update only*
## 1.2.58
Thu, 09 Aug 2018 21:58:02 GMT
*Version update only*
## 1.2.57
Thu, 09 Aug 2018 21:03:22 GMT
*Version update only*
## 1.2.56
Thu, 09 Aug 2018 16:04:24 GMT
*Version update only*
## 1.2.55
Tue, 07 Aug 2018 22:27:31 GMT
*Version update only*
## 1.2.54
Thu, 26 Jul 2018 23:53:43 GMT
*Version update only*
## 1.2.53
Thu, 26 Jul 2018 16:04:17 GMT
*Version update only*
## 1.2.52
Wed, 25 Jul 2018 21:02:57 GMT
*Version update only*
## 1.2.51
Fri, 20 Jul 2018 16:04:52 GMT
*Version update only*
## 1.2.50
Tue, 17 Jul 2018 16:02:52 GMT
*Version update only*
## 1.2.49
Fri, 13 Jul 2018 19:04:50 GMT
*Version update only*
## 1.2.48
Tue, 03 Jul 2018 21:03:31 GMT
*Version update only*
## 1.2.47
Fri, 29 Jun 2018 02:56:51 GMT
*Version update only*
## 1.2.46
Sat, 23 Jun 2018 02:21:20 GMT
*Version update only*
## 1.2.45
Fri, 22 Jun 2018 16:05:15 GMT
*Version update only*
## 1.2.44
Thu, 21 Jun 2018 08:27:29 GMT
*Version update only*
## 1.2.43
Tue, 19 Jun 2018 19:35:11 GMT
*Version update only*
## 1.2.42
Fri, 08 Jun 2018 08:43:52 GMT
*Version update only*
## 1.2.41
Thu, 31 May 2018 01:39:33 GMT
*Version update only*
## 1.2.40
Tue, 15 May 2018 02:26:45 GMT
*Version update only*
## 1.2.39
Tue, 15 May 2018 00:18:10 GMT
*Version update only*
## 1.2.38
Fri, 11 May 2018 22:43:14 GMT
*Version update only*
## 1.2.37
Fri, 04 May 2018 00:42:38 GMT
*Version update only*
## 1.2.36
Tue, 01 May 2018 22:03:20 GMT
*Version update only*
## 1.2.35
Fri, 27 Apr 2018 03:04:32 GMT
*Version update only*
## 1.2.34
Fri, 20 Apr 2018 16:06:11 GMT
*Version update only*
## 1.2.33
Thu, 19 Apr 2018 21:25:56 GMT
*Version update only*
## 1.2.32
Thu, 19 Apr 2018 17:02:06 GMT
*Version update only*
## 1.2.31
Tue, 03 Apr 2018 16:05:29 GMT
*Version update only*
## 1.2.30
Mon, 02 Apr 2018 16:05:24 GMT
*Version update only*
## 1.2.29
Tue, 27 Mar 2018 01:34:25 GMT
*Version update only*
## 1.2.28
Mon, 26 Mar 2018 19:12:42 GMT
*Version update only*
## 1.2.27
Sun, 25 Mar 2018 01:26:19 GMT
*Version update only*
## 1.2.26
Fri, 23 Mar 2018 00:34:53 GMT
*Version update only*
## 1.2.25
Thu, 22 Mar 2018 18:34:13 GMT
*Version update only*
## 1.2.24
Tue, 20 Mar 2018 02:44:45 GMT
*Version update only*
## 1.2.23
Sat, 17 Mar 2018 02:54:22 GMT
*Version update only*
## 1.2.22
Thu, 15 Mar 2018 20:00:50 GMT
*Version update only*
## 1.2.21
Thu, 15 Mar 2018 16:05:43 GMT
*Version update only*
## 1.2.20
Tue, 13 Mar 2018 23:11:32 GMT
*Version update only*
## 1.2.19
Mon, 12 Mar 2018 20:36:19 GMT
*Version update only*
## 1.2.18
Tue, 06 Mar 2018 17:04:51 GMT
*Version update only*
## 1.2.17
Fri, 02 Mar 2018 01:13:59 GMT
*Version update only*
## 1.2.16
Tue, 27 Feb 2018 22:05:57 GMT
*Version update only*
## 1.2.15
Wed, 21 Feb 2018 22:04:19 GMT
*Version update only*
## 1.2.14
Wed, 21 Feb 2018 03:13:29 GMT
*Version update only*
## 1.2.13
Sat, 17 Feb 2018 02:53:49 GMT
*Version update only*
## 1.2.12
Fri, 16 Feb 2018 22:05:23 GMT
*Version update only*
## 1.2.11
Fri, 16 Feb 2018 17:05:11 GMT
*Version update only*
## 1.2.10
Wed, 07 Feb 2018 17:05:11 GMT
*Version update only*
## 1.2.9
Fri, 26 Jan 2018 22:05:30 GMT
*Version update only*
## 1.2.8
Fri, 26 Jan 2018 17:53:38 GMT
### Patches
- Force a patch bump in case the previous version was an empty package
## 1.2.7
Fri, 26 Jan 2018 00:36:51 GMT
*Version update only*
## 1.2.6
Tue, 23 Jan 2018 17:05:28 GMT
*Version update only*
## 1.2.5
Thu, 18 Jan 2018 03:23:46 GMT
*Version update only*
## 1.2.4
Thu, 18 Jan 2018 00:48:06 GMT
*Version update only*
## 1.2.3
Wed, 17 Jan 2018 10:49:31 GMT
*Version update only*
## 1.2.2
Fri, 12 Jan 2018 03:35:22 GMT
*Version update only*
## 1.2.1
Thu, 11 Jan 2018 22:31:51 GMT
*Version update only*
## 1.2.0
Wed, 10 Jan 2018 20:40:01 GMT
### Minor changes
- Upgrade to Node 8
## 1.1.13
Sun, 07 Jan 2018 05:12:08 GMT
*Version update only*
## 1.1.12
Fri, 05 Jan 2018 20:26:45 GMT
*Version update only*
## 1.1.11
Fri, 05 Jan 2018 00:48:41 GMT
*Version update only*
## 1.1.10
Fri, 22 Dec 2017 17:04:46 GMT
*Version update only*
## 1.1.9
Tue, 12 Dec 2017 03:33:26 GMT
*Version update only*
## 1.1.8
Thu, 30 Nov 2017 23:59:09 GMT
*Version update only*
## 1.1.7
Thu, 30 Nov 2017 23:12:21 GMT
*Version update only*
## 1.1.6
Wed, 29 Nov 2017 17:05:37 GMT
*Version update only*
## 1.1.5
Tue, 28 Nov 2017 23:43:55 GMT
*Version update only*
## 1.1.4
Mon, 13 Nov 2017 17:04:50 GMT
*Version update only*
## 1.1.3
Mon, 06 Nov 2017 17:04:18 GMT
*Version update only*
## 1.1.2
Thu, 02 Nov 2017 16:05:24 GMT
### Patches
- lock the reference version between web build tools projects
## 1.1.1
Tue, 24 Oct 2017 18:17:12 GMT
*Version update only*
## 1.1.0
Fri, 22 Sep 2017 01:04:02 GMT
### Minor changes
- Upgrade to es6
## 1.0.6
Tue, 19 Sep 2017 19:04:50 GMT
### Patches
- Minor README correction.
## 1.0.5
Thu, 31 Aug 2017 18:41:18 GMT
*Version update only*
## 1.0.4
Wed, 30 Aug 2017 01:04:34 GMT
*Version update only*
## 1.0.3
Tue, 22 Aug 2017 13:04:22 GMT
*Version update only*
## 1.0.2
Tue, 28 Feb 2017 02:01:29 GMT
### Patches
- Updating loader-utils to 1.0.2
## 1.0.1
Tue, 07 Feb 2017 14:32:21 GMT
### Patches
- Updating npmignore.
## 1.0.0
Tue, 07 Feb 2017 05:26:57 GMT
### Breaking changes
- Setting up loader-raw-script.
import * as RawScriptLoader from './RawScriptLoader';
export = RawScriptLoader;
//# sourceMappingURL=index.d.ts.map
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AAErD,SAAS,eAAe,CAAC"}
"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
const RawScriptLoader = require("./RawScriptLoader");
module.exports = RawScriptLoader;
//# sourceMappingURL=index.js.map
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;AAE3D,qDAAqD;AAErD,iBAAS,eAAe,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\r\n// See LICENSE in the project root for license information.\r\n\r\nimport * as RawScriptLoader from './RawScriptLoader';\r\n\r\nexport = RawScriptLoader;\r\n"]}
declare const loaderFn: (content: string) => string;
export = loaderFn;
//# sourceMappingURL=RawScriptLoader.d.ts.map
{"version":3,"file":"RawScriptLoader.d.ts","sourceRoot":"","sources":["../src/RawScriptLoader.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAapC,CAAC;AAEF,SAAS,QAAQ,CAAC"}
"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
const os_1 = require("os");
const loaderFn = (content) => {
content = content.replace(/\\/g, '\\\\');
content = content.replace(/'/g, '\\\'');
content = content.replace(/\n/g, '\\n');
content = content.replace(/\r/g, '\\r');
const lines = [
'(function (global) {',
` eval('${content}');`,
'}.call(exports, (function() { return this; }())))'
];
return lines.join(os_1.EOL);
};
module.exports = loaderFn;
//# sourceMappingURL=RawScriptLoader.js.map
{"version":3,"file":"RawScriptLoader.js","sourceRoot":"","sources":["../src/RawScriptLoader.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;AAE3D,2BAAyB;AAEzB,MAAM,QAAQ,GAAgC,CAAC,OAAe,EAAE,EAAE;IAChE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACzC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACxC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAExC,MAAM,KAAK,GAAa;QACtB,sBAAsB;QACtB,WAAW,OAAO,KAAK;QACvB,mDAAmD;KACpD,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,QAAG,CAAC,CAAC;AACzB,CAAC,CAAC;AAEF,iBAAS,QAAQ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\r\n// See LICENSE in the project root for license information.\r\n\r\nimport { EOL } from 'os';\r\n\r\nconst loaderFn: (content: string) => string = (content: string) => {\r\n content = content.replace(/\\\\/g, '\\\\\\\\');\r\n content = content.replace(/'/g, '\\\\\\'');\r\n content = content.replace(/\\n/g, '\\\\n');\r\n content = content.replace(/\\r/g, '\\\\r');\r\n\r\n const lines: string[] = [\r\n '(function (global) {',\r\n ` eval('${content}');`,\r\n '}.call(exports, (function() { return this; }())))'\r\n ];\r\n\r\n return lines.join(EOL);\r\n};\r\n\r\nexport = loaderFn;\r\n"]}
@microsoft/loader-raw-script
Copyright (c) Microsoft Corporation. All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.