opal 1.0.0.beta1 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +1 -0
- data/.github/workflows/build.yml +77 -0
- data/CHANGELOG.md +49 -7
- data/Gemfile +2 -2
- data/README.md +28 -20
- data/UNRELEASED.md +1 -131
- data/bin/git-submodule-fast-install +49 -0
- data/bin/setup +4 -0
- data/bin/yarn +11 -0
- data/docs/releasing.md +18 -0
- data/lib/opal/cli_options.rb +1 -0
- data/lib/opal/cli_runners/chrome.js +2 -2
- data/lib/opal/cli_runners/chrome.rb +2 -2
- data/lib/opal/parser/patch.rb +15 -0
- data/lib/opal/util.rb +11 -48
- data/lib/opal/version.rb +1 -1
- data/opal.gemspec +2 -2
- data/opal/corelib/constants.rb +4 -4
- data/opal/corelib/error.rb +4 -0
- data/opal/corelib/runtime.js +33 -33
- data/opal/corelib/string.rb +12 -1
- data/opal/corelib/string/encoding.rb +16 -0
- data/opal/corelib/time.rb +1 -1
- data/package.json +15 -0
- data/stdlib/native.rb +1 -2
- data/stdlib/nodejs/stacktrace.rb +1 -1
- data/tasks/linting.rake +3 -5
- data/tasks/releasing.rake +2 -2
- data/tasks/testing.rake +1 -0
- data/yarn.lock +244 -0
- metadata +24 -19
- data/.travis.yml +0 -109
- data/appveyor.yml +0 -35
data/opal/corelib/string.rb
CHANGED
@@ -691,7 +691,18 @@ class String < `String`
|
|
691
691
|
end
|
692
692
|
|
693
693
|
def ascii_only?
|
694
|
-
|
694
|
+
# non-ASCII-compatible encoding must return false
|
695
|
+
# NOTE: Encoding::UTF_16LE is also non-ASCII-compatible encoding,
|
696
|
+
# but since the default encoding in JavaScript is UTF_16LE,
|
697
|
+
# we cannot return false otherwise the following will (incorrectly) return false: "hello".ascii_only?
|
698
|
+
# In other words, we cannot tell the difference between:
|
699
|
+
# - "hello".force_encoding("UTF-16LE")
|
700
|
+
# - "hello"
|
701
|
+
# The problem is that "ascii_only" should return false in the first case and true in the second case.
|
702
|
+
if encoding == Encoding::UTF_16BE
|
703
|
+
return false
|
704
|
+
end
|
705
|
+
`/^[\x00-\x7F]*$/.test(self)`
|
695
706
|
end
|
696
707
|
|
697
708
|
def match(pattern, pos = undefined, &block)
|
@@ -181,6 +181,22 @@ class String
|
|
181
181
|
self
|
182
182
|
end
|
183
183
|
|
184
|
+
def each_codepoint(&block)
|
185
|
+
return enum_for :each_codepoint unless block_given?
|
186
|
+
%x{
|
187
|
+
for (var i = 0, length = self.length; i < length; i++) {
|
188
|
+
#{yield `self.codePointAt(i)`};
|
189
|
+
}
|
190
|
+
}
|
191
|
+
self
|
192
|
+
end
|
193
|
+
|
194
|
+
def codepoints(&block)
|
195
|
+
# If a block is given, which is a deprecated form, works the same as each_codepoint.
|
196
|
+
return each_codepoint(&block) if block_given?
|
197
|
+
each_codepoint.to_a
|
198
|
+
end
|
199
|
+
|
184
200
|
def encode(encoding)
|
185
201
|
dup.force_encoding(encoding)
|
186
202
|
end
|
data/opal/corelib/time.rb
CHANGED
data/package.json
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "opal-dev",
|
3
|
+
"private": true,
|
4
|
+
"dependencies": {
|
5
|
+
"benchmark": "^2.1.4",
|
6
|
+
"jshint": "^2.11.0-rc1",
|
7
|
+
"source-map-support": "^0.5.16",
|
8
|
+
"uglify-js": "^3.7.2"
|
9
|
+
},
|
10
|
+
"devDependencies": {},
|
11
|
+
"repository": {
|
12
|
+
"type": "git",
|
13
|
+
"url": "git+https://github.com/opal/opal.git"
|
14
|
+
}
|
15
|
+
}
|
data/stdlib/native.rb
CHANGED
@@ -127,7 +127,7 @@ module Native
|
|
127
127
|
# @example
|
128
128
|
#
|
129
129
|
# class Element
|
130
|
-
#
|
130
|
+
# extend Native::Helpers
|
131
131
|
#
|
132
132
|
# alias_native :add_class, :addClass
|
133
133
|
# alias_native :show
|
@@ -208,7 +208,6 @@ module Native
|
|
208
208
|
def self.included(base)
|
209
209
|
warn 'Including ::Native is deprecated. Please include Native::Wrapper instead.'
|
210
210
|
base.include Wrapper
|
211
|
-
base.extend Helpers
|
212
211
|
end
|
213
212
|
end
|
214
213
|
|
data/stdlib/nodejs/stacktrace.rb
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
var ObjectToString = Object.prototype.toString;
|
40
40
|
|
41
|
-
var NODE = ObjectToString.call(
|
41
|
+
var NODE = ObjectToString.call(process) === "[object process]";
|
42
42
|
|
43
43
|
// https://github.com/v8/v8/blob/cab94bbe3d532d85705950ed049a294050fcb4c9/src/messages.js#L1112-L1124 [converted to JS]
|
44
44
|
function GetTypeName(receiver, requireConstructor) {
|
data/tasks/linting.rake
CHANGED
@@ -14,7 +14,7 @@ task :jshint do
|
|
14
14
|
# opal-builder and opal-parser take so long travis stalls
|
15
15
|
next if path =~ /.min.js\z|opal-builder|opal-parser/
|
16
16
|
|
17
|
-
sh "jshint --verbose #{path}"
|
17
|
+
sh "yarn -s run jshint --verbose #{path}"
|
18
18
|
}
|
19
19
|
puts
|
20
20
|
puts "= Checking corelib files separately..."
|
@@ -26,16 +26,14 @@ task :jshint do
|
|
26
26
|
js_paths << js_path
|
27
27
|
end
|
28
28
|
js_paths.each do |js_path|
|
29
|
-
sh "jshint --verbose #{js_path}"
|
29
|
+
sh "yarn -s run jshint --verbose #{js_path}"
|
30
30
|
end
|
31
|
-
sh
|
31
|
+
sh 'yarn -s run jshint --verbose opal/corelib/runtime.js'
|
32
32
|
end
|
33
33
|
|
34
34
|
require 'rubocop/rake_task'
|
35
35
|
desc 'Run RuboCop on lib/, opal/ and stdlib/ directories'
|
36
36
|
RuboCop::RakeTask.new(:rubocop) do |task|
|
37
|
-
# TODO: enable it back after releasing https://github.com/bbatsov/rubocop/pull/5633
|
38
|
-
# task.options << '--fail-fast'
|
39
37
|
task.options << '--extra-details'
|
40
38
|
task.options << '--display-style-guide'
|
41
39
|
task.options << '--parallel'
|
data/tasks/releasing.rake
CHANGED
@@ -70,8 +70,8 @@ task :changelog do
|
|
70
70
|
end
|
71
71
|
|
72
72
|
changelog_entries.unshift changelog_entry.call(
|
73
|
-
tag_name: 'HEAD',
|
74
|
-
release_date: 'unreleased',
|
73
|
+
tag_name: ENV['VERSION'] || 'HEAD',
|
74
|
+
release_date: (ENV['VERSION'] ? Time.now.to_date.iso8601 : 'unreleased'),
|
75
75
|
previous_tag_name: previous_tag_name,
|
76
76
|
body: File.read(unreleased_path),
|
77
77
|
)
|
data/tasks/testing.rake
CHANGED
data/yarn.lock
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
2
|
+
# yarn lockfile v1
|
3
|
+
|
4
|
+
|
5
|
+
balanced-match@^1.0.0:
|
6
|
+
version "1.0.0"
|
7
|
+
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
|
8
|
+
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
|
9
|
+
|
10
|
+
benchmark@^2.1.4:
|
11
|
+
version "2.1.4"
|
12
|
+
resolved "https://registry.yarnpkg.com/benchmark/-/benchmark-2.1.4.tgz#09f3de31c916425d498cc2ee565a0ebf3c2a5629"
|
13
|
+
integrity sha1-CfPeMckWQl1JjMLuVloOvzwqVik=
|
14
|
+
dependencies:
|
15
|
+
lodash "^4.17.4"
|
16
|
+
platform "^1.3.3"
|
17
|
+
|
18
|
+
brace-expansion@^1.1.7:
|
19
|
+
version "1.1.11"
|
20
|
+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
21
|
+
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
|
22
|
+
dependencies:
|
23
|
+
balanced-match "^1.0.0"
|
24
|
+
concat-map "0.0.1"
|
25
|
+
|
26
|
+
buffer-from@^1.0.0:
|
27
|
+
version "1.1.1"
|
28
|
+
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
|
29
|
+
integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
|
30
|
+
|
31
|
+
cli@~1.0.0:
|
32
|
+
version "1.0.1"
|
33
|
+
resolved "https://registry.yarnpkg.com/cli/-/cli-1.0.1.tgz#22817534f24bfa4950c34d532d48ecbc621b8c14"
|
34
|
+
integrity sha1-IoF1NPJL+klQw01TLUjsvGIbjBQ=
|
35
|
+
dependencies:
|
36
|
+
exit "0.1.2"
|
37
|
+
glob "^7.1.1"
|
38
|
+
|
39
|
+
concat-map@0.0.1:
|
40
|
+
version "0.0.1"
|
41
|
+
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
42
|
+
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
43
|
+
|
44
|
+
console-browserify@1.1.x:
|
45
|
+
version "1.1.0"
|
46
|
+
resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10"
|
47
|
+
integrity sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=
|
48
|
+
dependencies:
|
49
|
+
date-now "^0.1.4"
|
50
|
+
|
51
|
+
core-util-is@~1.0.0:
|
52
|
+
version "1.0.2"
|
53
|
+
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
|
54
|
+
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
|
55
|
+
|
56
|
+
date-now@^0.1.4:
|
57
|
+
version "0.1.4"
|
58
|
+
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
|
59
|
+
integrity sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=
|
60
|
+
|
61
|
+
dom-serializer@0:
|
62
|
+
version "0.2.2"
|
63
|
+
resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.2.tgz#1afb81f533717175d478655debc5e332d9f9bb51"
|
64
|
+
integrity sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==
|
65
|
+
dependencies:
|
66
|
+
domelementtype "^2.0.1"
|
67
|
+
entities "^2.0.0"
|
68
|
+
|
69
|
+
domelementtype@1:
|
70
|
+
version "1.3.1"
|
71
|
+
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f"
|
72
|
+
integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==
|
73
|
+
|
74
|
+
domelementtype@^2.0.1:
|
75
|
+
version "2.1.0"
|
76
|
+
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.1.0.tgz#a851c080a6d1c3d94344aed151d99f669edf585e"
|
77
|
+
integrity sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w==
|
78
|
+
|
79
|
+
domhandler@2.3:
|
80
|
+
version "2.3.0"
|
81
|
+
resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.3.0.tgz#2de59a0822d5027fabff6f032c2b25a2a8abe738"
|
82
|
+
integrity sha1-LeWaCCLVAn+r/28DLCsloqir5zg=
|
83
|
+
dependencies:
|
84
|
+
domelementtype "1"
|
85
|
+
|
86
|
+
domutils@1.5:
|
87
|
+
version "1.5.1"
|
88
|
+
resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf"
|
89
|
+
integrity sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=
|
90
|
+
dependencies:
|
91
|
+
dom-serializer "0"
|
92
|
+
domelementtype "1"
|
93
|
+
|
94
|
+
entities@1.0:
|
95
|
+
version "1.0.0"
|
96
|
+
resolved "https://registry.yarnpkg.com/entities/-/entities-1.0.0.tgz#b2987aa3821347fcde642b24fdfc9e4fb712bf26"
|
97
|
+
integrity sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY=
|
98
|
+
|
99
|
+
entities@^2.0.0:
|
100
|
+
version "2.1.0"
|
101
|
+
resolved "https://registry.yarnpkg.com/entities/-/entities-2.1.0.tgz#992d3129cf7df6870b96c57858c249a120f8b8b5"
|
102
|
+
integrity sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==
|
103
|
+
|
104
|
+
exit@0.1.2, exit@0.1.x:
|
105
|
+
version "0.1.2"
|
106
|
+
resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
|
107
|
+
integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=
|
108
|
+
|
109
|
+
fs.realpath@^1.0.0:
|
110
|
+
version "1.0.0"
|
111
|
+
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
112
|
+
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
|
113
|
+
|
114
|
+
glob@^7.1.1:
|
115
|
+
version "7.1.6"
|
116
|
+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
|
117
|
+
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
|
118
|
+
dependencies:
|
119
|
+
fs.realpath "^1.0.0"
|
120
|
+
inflight "^1.0.4"
|
121
|
+
inherits "2"
|
122
|
+
minimatch "^3.0.4"
|
123
|
+
once "^1.3.0"
|
124
|
+
path-is-absolute "^1.0.0"
|
125
|
+
|
126
|
+
htmlparser2@3.8.x:
|
127
|
+
version "3.8.3"
|
128
|
+
resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.8.3.tgz#996c28b191516a8be86501a7d79757e5c70c1068"
|
129
|
+
integrity sha1-mWwosZFRaovoZQGn15dX5ccMEGg=
|
130
|
+
dependencies:
|
131
|
+
domelementtype "1"
|
132
|
+
domhandler "2.3"
|
133
|
+
domutils "1.5"
|
134
|
+
entities "1.0"
|
135
|
+
readable-stream "1.1"
|
136
|
+
|
137
|
+
inflight@^1.0.4:
|
138
|
+
version "1.0.6"
|
139
|
+
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
|
140
|
+
integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
|
141
|
+
dependencies:
|
142
|
+
once "^1.3.0"
|
143
|
+
wrappy "1"
|
144
|
+
|
145
|
+
inherits@2, inherits@~2.0.1:
|
146
|
+
version "2.0.4"
|
147
|
+
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
148
|
+
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
|
149
|
+
|
150
|
+
isarray@0.0.1:
|
151
|
+
version "0.0.1"
|
152
|
+
resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
|
153
|
+
integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=
|
154
|
+
|
155
|
+
jshint@^2.11.0-rc1:
|
156
|
+
version "2.12.0"
|
157
|
+
resolved "https://registry.yarnpkg.com/jshint/-/jshint-2.12.0.tgz#52e75bd058d587ef81a0e2f95e5cf18eb5dc5c37"
|
158
|
+
integrity sha512-TwuuaUDmra0JMkuqvqy+WGo2xGHSNjv1BA1nTIgtH2K5z1jHuAEeAgp7laaR+hLRmajRjcrM71+vByBDanCyYA==
|
159
|
+
dependencies:
|
160
|
+
cli "~1.0.0"
|
161
|
+
console-browserify "1.1.x"
|
162
|
+
exit "0.1.x"
|
163
|
+
htmlparser2 "3.8.x"
|
164
|
+
lodash "~4.17.19"
|
165
|
+
minimatch "~3.0.2"
|
166
|
+
shelljs "0.3.x"
|
167
|
+
strip-json-comments "1.0.x"
|
168
|
+
|
169
|
+
lodash@^4.17.4, lodash@~4.17.19:
|
170
|
+
version "4.17.20"
|
171
|
+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
|
172
|
+
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
|
173
|
+
|
174
|
+
minimatch@^3.0.4, minimatch@~3.0.2:
|
175
|
+
version "3.0.4"
|
176
|
+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
177
|
+
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
|
178
|
+
dependencies:
|
179
|
+
brace-expansion "^1.1.7"
|
180
|
+
|
181
|
+
once@^1.3.0:
|
182
|
+
version "1.4.0"
|
183
|
+
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
184
|
+
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
|
185
|
+
dependencies:
|
186
|
+
wrappy "1"
|
187
|
+
|
188
|
+
path-is-absolute@^1.0.0:
|
189
|
+
version "1.0.1"
|
190
|
+
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
191
|
+
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
|
192
|
+
|
193
|
+
platform@^1.3.3:
|
194
|
+
version "1.3.6"
|
195
|
+
resolved "https://registry.yarnpkg.com/platform/-/platform-1.3.6.tgz#48b4ce983164b209c2d45a107adb31f473a6e7a7"
|
196
|
+
integrity sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==
|
197
|
+
|
198
|
+
readable-stream@1.1:
|
199
|
+
version "1.1.13"
|
200
|
+
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.13.tgz#f6eef764f514c89e2b9e23146a75ba106756d23e"
|
201
|
+
integrity sha1-9u73ZPUUyJ4rniMUanW6EGdW0j4=
|
202
|
+
dependencies:
|
203
|
+
core-util-is "~1.0.0"
|
204
|
+
inherits "~2.0.1"
|
205
|
+
isarray "0.0.1"
|
206
|
+
string_decoder "~0.10.x"
|
207
|
+
|
208
|
+
shelljs@0.3.x:
|
209
|
+
version "0.3.0"
|
210
|
+
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.3.0.tgz#3596e6307a781544f591f37da618360f31db57b1"
|
211
|
+
integrity sha1-NZbmMHp4FUT1kfN9phg2DzHbV7E=
|
212
|
+
|
213
|
+
source-map-support@^0.5.16:
|
214
|
+
version "0.5.19"
|
215
|
+
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
|
216
|
+
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
|
217
|
+
dependencies:
|
218
|
+
buffer-from "^1.0.0"
|
219
|
+
source-map "^0.6.0"
|
220
|
+
|
221
|
+
source-map@^0.6.0:
|
222
|
+
version "0.6.1"
|
223
|
+
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
|
224
|
+
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
|
225
|
+
|
226
|
+
string_decoder@~0.10.x:
|
227
|
+
version "0.10.31"
|
228
|
+
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
|
229
|
+
integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=
|
230
|
+
|
231
|
+
strip-json-comments@1.0.x:
|
232
|
+
version "1.0.4"
|
233
|
+
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-1.0.4.tgz#1e15fbcac97d3ee99bf2d73b4c656b082bbafb91"
|
234
|
+
integrity sha1-HhX7ysl9Pumb8tc7TGVrCCu6+5E=
|
235
|
+
|
236
|
+
uglify-js@^3.7.2:
|
237
|
+
version "3.12.1"
|
238
|
+
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.12.1.tgz#78307f539f7b9ca5557babb186ea78ad30cc0375"
|
239
|
+
integrity sha512-o8lHP20KjIiQe5b/67Rh68xEGRrc2SRsCuuoYclXXoC74AfSRGblU1HKzJWH3HxPZ+Ort85fWHpSX7KwBUC9CQ==
|
240
|
+
|
241
|
+
wrappy@1:
|
242
|
+
version "1.0.2"
|
243
|
+
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
244
|
+
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elia Schito
|
8
8
|
- meh.
|
9
9
|
- Adam Beynon
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-12-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ast
|
@@ -30,16 +30,16 @@ dependencies:
|
|
30
30
|
name: parser
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 2.
|
35
|
+
version: '2.6'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.
|
42
|
+
version: '2.6'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: sourcemap
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,6 +209,8 @@ extra_rdoc_files: []
|
|
209
209
|
files:
|
210
210
|
- ".codeclimate.yml"
|
211
211
|
- ".gitattributes"
|
212
|
+
- ".github/FUNDING.yml"
|
213
|
+
- ".github/workflows/build.yml"
|
212
214
|
- ".gitignore"
|
213
215
|
- ".gitmodules"
|
214
216
|
- ".inch.yml"
|
@@ -216,7 +218,6 @@ files:
|
|
216
218
|
- ".rspec"
|
217
219
|
- ".rubocop.yml"
|
218
220
|
- ".rubocop_todo.yml"
|
219
|
-
- ".travis.yml"
|
220
221
|
- ".yardopts"
|
221
222
|
- CHANGELOG.md
|
222
223
|
- CONDUCT.md
|
@@ -228,7 +229,6 @@ files:
|
|
228
229
|
- README.md
|
229
230
|
- Rakefile
|
230
231
|
- UNRELEASED.md
|
231
|
-
- appveyor.yml
|
232
232
|
- benchmark-ips/README.md
|
233
233
|
- benchmark-ips/bm_block_vs_yield.rb
|
234
234
|
- benchmark-ips/bm_case.rb
|
@@ -335,12 +335,14 @@ files:
|
|
335
335
|
- benchmark/bm_module_definition_small.rb
|
336
336
|
- benchmark/run.rb
|
337
337
|
- bin/console
|
338
|
+
- bin/git-submodule-fast-install
|
338
339
|
- bin/opal
|
339
340
|
- bin/opal-benchmark-ips
|
340
341
|
- bin/opal-mspec
|
341
342
|
- bin/opal-repl
|
342
343
|
- bin/rake
|
343
344
|
- bin/setup
|
345
|
+
- bin/yarn
|
344
346
|
- config.ru
|
345
347
|
- docs/compiled_ruby.md
|
346
348
|
- docs/compiler.md
|
@@ -354,6 +356,7 @@ files:
|
|
354
356
|
- docs/opal_parser.md
|
355
357
|
- docs/promises.md
|
356
358
|
- docs/rails.md
|
359
|
+
- docs/releasing.md
|
357
360
|
- docs/rspec.md
|
358
361
|
- docs/sinatra.md
|
359
362
|
- docs/source_maps.md
|
@@ -577,6 +580,7 @@ files:
|
|
577
580
|
- opal/opal/base.rb
|
578
581
|
- opal/opal/full.rb
|
579
582
|
- opal/opal/mini.rb
|
583
|
+
- package.json
|
580
584
|
- stdlib/README.md
|
581
585
|
- stdlib/base64.rb
|
582
586
|
- stdlib/benchmark.rb
|
@@ -730,19 +734,20 @@ files:
|
|
730
734
|
- vendored-minitest/minitest/test.rb
|
731
735
|
- vendored-minitest/minitest/unit.rb
|
732
736
|
- vendored-minitest/test/unit.rb
|
737
|
+
- yarn.lock
|
733
738
|
homepage: https://opalrb.com
|
734
739
|
licenses:
|
735
740
|
- MIT
|
736
741
|
metadata:
|
737
742
|
bug_tracker_uri: https://github.com/opal/opal/issues
|
738
|
-
changelog_uri: https://github.com/opal/opal/blob/v1.0.
|
739
|
-
readme_uri: https://github.com/opal/opal/blob/v1.0.
|
740
|
-
api_documentation_uri: http://opalrb.com/docs/api/v1.0.
|
741
|
-
guides_uri: http://opalrb.com/docs/guides/v1.0.
|
743
|
+
changelog_uri: https://github.com/opal/opal/blob/v1.0.4/CHANGELOG.md
|
744
|
+
readme_uri: https://github.com/opal/opal/blob/v1.0.4/README.md
|
745
|
+
api_documentation_uri: http://opalrb.com/docs/api/v1.0.4/index.html
|
746
|
+
guides_uri: http://opalrb.com/docs/guides/v1.0.4/index.html
|
742
747
|
homepage_uri: https://opalrb.com/
|
743
748
|
chat_uri: https://gitter.im/opal/opal
|
744
749
|
source_code_uri: https://github.com/opal/opal
|
745
|
-
post_install_message:
|
750
|
+
post_install_message:
|
746
751
|
rdoc_options: []
|
747
752
|
require_paths:
|
748
753
|
- lib
|
@@ -750,15 +755,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
750
755
|
requirements:
|
751
756
|
- - ">="
|
752
757
|
- !ruby/object:Gem::Version
|
753
|
-
version: 2.
|
758
|
+
version: '2.3'
|
754
759
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
755
760
|
requirements:
|
756
|
-
- - "
|
761
|
+
- - ">="
|
757
762
|
- !ruby/object:Gem::Version
|
758
|
-
version:
|
763
|
+
version: '0'
|
759
764
|
requirements: []
|
760
|
-
rubygems_version: 3.
|
761
|
-
signing_key:
|
765
|
+
rubygems_version: 3.1.4
|
766
|
+
signing_key:
|
762
767
|
specification_version: 4
|
763
768
|
summary: Ruby runtime and core library for JavaScript
|
764
769
|
test_files: []
|