nativescript 8.5.4-dev.1 → 8.5.4-dev.1-next-05-22-2023-5044831500

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.
@@ -1 +1 @@
1
- {"@jsdevtools/coverage-istanbul-loader":"3.0.5","karma":"6.4.1","karma-coverage":"2.2.0","karma-nativescript-launcher":"0.4.0","mocha":"10.2.0","karma-mocha":"2.0.1","karma-chai":"0.1.0","karma-jasmine":"4.0.2","karma-qunit":"4.1.2","@types/karma-chai":"0.1.3","@types/mocha":"10.0.1","@types/jasmine":"4.3.1","@types/qunit":"2.19.4","nyc":"15.1.0"}
1
+ {"@jsdevtools/coverage-istanbul-loader":"3.0.5","karma":"6.4.2","karma-coverage":"2.2.0","karma-nativescript-launcher":"0.4.0","mocha":"10.2.0","karma-mocha":"2.0.1","karma-chai":"0.1.0","karma-jasmine":"4.0.2","karma-qunit":"4.1.2","@types/karma-chai":"0.1.3","@types/mocha":"10.0.1","@types/jasmine":"4.3.1","@types/qunit":"2.19.5","nyc":"15.1.0"}
@@ -38,12 +38,12 @@ class XcconfigService {
38
38
  const escapedDestinationFile = destinationFile.replace(/'/g, "\\'");
39
39
  const escapedSourceFile = sourceFile.replace(/'/g, "\\'");
40
40
  const mergeScript = `require 'xcodeproj';
41
- sourceConfig = Xcodeproj::Config.new('${escapedDestinationFile}')
42
- targetConfig = Xcodeproj::Config.new('${escapedSourceFile}')
43
- if(sourceConfig.attributes.key?('IPHONEOS_DEPLOYMENT_TARGET') && targetConfig.attributes.key?('IPHONEOS_DEPLOYMENT_TARGET'))
44
- sourceConfig.attributes.delete('IPHONEOS_DEPLOYMENT_TARGET')
41
+ userConfig = Xcodeproj::Config.new('${escapedDestinationFile}')
42
+ existingConfig = Xcodeproj::Config.new('${escapedSourceFile}')
43
+ userConfig.attributes.each do |key,|
44
+ existingConfig.attributes.delete(key) if (userConfig.attributes.key?(key) && existingConfig.attributes.key?(key))
45
45
  end
46
- sourceConfig.merge(targetConfig).save_as(Pathname.new('${escapedDestinationFile}'))`;
46
+ userConfig.merge(existingConfig).save_as(Pathname.new('${escapedDestinationFile}'))`;
47
47
  yield this.$childProcess.exec(`ruby -e "${mergeScript}"`);
48
48
  });
49
49
  }
@@ -0,0 +1,2 @@
1
+ tidelift: "npm/balanced-match"
2
+ patreon: juliangruber
@@ -66,6 +66,12 @@ With [npm](https://npmjs.org) do:
66
66
  npm install balanced-match
67
67
  ```
68
68
 
69
+ ## Security contact information
70
+
71
+ To report a security vulnerability, please use the
72
+ [Tidelift security contact](https://tidelift.com/security).
73
+ Tidelift will coordinate the fix and disclosure.
74
+
69
75
  ## License
70
76
 
71
77
  (MIT)
@@ -28,6 +28,9 @@ function range(a, b, str) {
28
28
  var i = ai;
29
29
 
30
30
  if (ai >= 0 && bi > 0) {
31
+ if(a===b) {
32
+ return [ai, bi];
33
+ }
31
34
  begs = [];
32
35
  left = str.length;
33
36
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "balanced-match",
3
3
  "description": "Match balanced character pairs, like \"{\" and \"}\"",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git://github.com/juliangruber/balanced-match.git"
@@ -9,10 +9,9 @@
9
9
  "homepage": "https://github.com/juliangruber/balanced-match",
10
10
  "main": "index.js",
11
11
  "scripts": {
12
- "test": "make test",
13
- "bench": "make bench"
12
+ "test": "tape test/test.js",
13
+ "bench": "matcha test/bench.js"
14
14
  },
15
- "dependencies": {},
16
15
  "devDependencies": {
17
16
  "matcha": "^0.7.0",
18
17
  "tape": "^4.6.0"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nativescript",
3
3
  "preferGlobal": true,
4
- "version": "8.5.4-dev.1",
4
+ "version": "8.5.4-dev.1-next-05-22-2023-5044831500",
5
5
  "author": "NativeScript <support@nativescript.org>",
6
6
  "description": "Command-line interface for building NativeScript projects",
7
7
  "bin": {
@@ -1,86 +0,0 @@
1
- // Type definitions for mocha 1.9.0
2
- // Project: http://visionmedia.github.io/mocha/
3
- // Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid/>
4
- // DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped
5
-
6
- interface Mocha {
7
- // Setup mocha with the given setting options.
8
- setup(options: MochaSetupOptions): Mocha;
9
-
10
- //Run tests and invoke `fn()` when complete.
11
- run(callback?: () => void): void;
12
-
13
- // Set reporter as function
14
- reporter(reporter: () => void): Mocha;
15
-
16
- // Set reporter, defaults to "dot"
17
- reporter(reporter: string): Mocha;
18
-
19
- // Enable growl support.
20
- growl(): Mocha;
21
- }
22
-
23
- interface MochaSetupOptions {
24
- //milliseconds to wait before considering a test slow
25
- slow?: number;
26
-
27
- // timeout in milliseconds
28
- timeout?: number;
29
-
30
- // ui name "bdd", "tdd", "exports" etc
31
- ui?: string;
32
-
33
- //array of accepted globals
34
- globals?: any[];
35
-
36
- // reporter instance (function or string), defaults to `mocha.reporters.Dot`
37
- reporter?: any;
38
-
39
- // bail on the first test failure
40
- bail?: Boolean;
41
-
42
- // ignore global leaks
43
- ignoreLeaks?: Boolean;
44
-
45
- // grep string or regexp to filter tests with
46
- grep?: any;
47
- }
48
-
49
- declare module mocha {
50
- interface Done {
51
- (error?: Error): void;
52
- }
53
- }
54
-
55
- declare var describe: {
56
- (description: string, spec: () => void): void;
57
- only(description: string, spec: () => void): void;
58
- skip(description: string, spec: () => void): void;
59
- timeout(ms: number): void;
60
- };
61
-
62
- declare var it: {
63
- (expectation: string, assertion?: () => void): void;
64
- (expectation: string, assertion?: (done: mocha.Done) => void): void;
65
- only(expectation: string, assertion?: () => void): void;
66
- only(expectation: string, assertion?: (done: mocha.Done) => void): void;
67
- skip(expectation: string, assertion?: () => void): void;
68
- skip(expectation: string, assertion?: (done: mocha.Done) => void): void;
69
- timeout(ms: number): void;
70
- };
71
-
72
- declare function before(action: () => void): void;
73
-
74
- declare function before(action: (done: mocha.Done) => void): void;
75
-
76
- declare function after(action: () => void): void;
77
-
78
- declare function after(action: (done: mocha.Done) => void): void;
79
-
80
- declare function beforeEach(action: () => void): void;
81
-
82
- declare function beforeEach(action: (done: mocha.Done) => void): void;
83
-
84
- declare function afterEach(action: () => void): void;
85
-
86
- declare function afterEach(action: (done: mocha.Done) => void): void;
@@ -1,5 +0,0 @@
1
- test
2
- .gitignore
3
- .travis.yml
4
- Makefile
5
- example.js